从 asp.net webapp IIS 7 访问 Web 目录 IIS
因此,我一直在尝试授予我的 Web 应用程序对我创建的 root/documents 文件夹中文件的读取权限。我不希望公众有权访问此文件夹。通过禁用匿名身份验证设置,已成功通过文档文件夹身份验证设置锁定公共用户。
为 Web 应用程序提供对该文件夹中文件的读取权限存在更大的问题。已将应用程序池添加到文档文件夹的读取文件夹权限中,但仍然收到访问被拒绝的消息。
只是想知道是否还有其他可能影响应用程序访问目录的事情。
So, I've been trying to give my web application read access to files in root/documents folder that I have created. I don't want the public to have access to this folder. Have managed to lock out public users through the documents folder authentication setting by disabling the anonymous authentication setting.
Having much larger problems giving the web app read access to files in that folder. Have added the apppool into the read folder permisions of the documents folder but still getting access denied messages.
Just wondering if there's anything else that may be affecting the applications access to the directory.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将 NETWORKSERVICE 添加为文件夹的读取器。
另一方面,您可以尝试使用 模拟< /a> 并向模拟用户授予读取权限。
Try adding NETWORKSERVICE as a reader to the folder.
On the other hand, you can try using impersonation and give read access to impoersonated user.