开发者

Accessing web directory IIS from asp.net webapp IIS 7

开发者 https://www.devze.com 2023-04-04 23:02 出处:网络
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 pub

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 sti开发者_运维技巧ll getting access denied messages.

Just wondering if there's anything else that may be affecting the applications access to the directory.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号