IE 保存 Excel 文件时提示输入密码
使用 Response.writefile 将文件发送到客户端,并将内容配置作为内联。 当用户选择“另存为”时,即使启用了匿名访问,系统也会要求他们再次使用 IIS 进行身份验证
File is sent to the client using Response.writefile and content diposition as inline. When user chooses to Save As, they are asked to authenticate with IIS again even though Anonymous access in enabled
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
据猜测,我建议查看 Excel 文件的所有权。 据推测,它需要可由 IUSR 读取和写入。
At a guess, I'd suggest looking at the ownership of the Excel file. Presumably it would need to be readable and writable by the IUSR.
写入时文件的路径是什么?
用户是否具有创建文件的适当权限?
What is the path of the file when it is being written?
Do the users have the proper permissions to create files?