Accessing web directory IIS from asp.net webapp IIS 7
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.
精彩评论