简体   繁体   中英

Project location not in inetpub\wwwroot

If the website's physical directory is not in C:\\inetpub\\wwwroot and is instead in C:\\MyProjects\\Project1 - which account needs what rights to the MyProjects or the Project1 folder?

I get a security error when I browse to the website.

It's usually the group YOURMACHINE\\IIS_IUSRS which contains all the default app pool users. If you're using a domain user for the app pool then it'll be that instead.

They'll need at least read and list folder contents - and I expect Read & Execute too although I'm not 100%. I usually leave that on as it's in the default set of read permissions. If you have a SQL Express database in the tree then presumably they'll need permission to write to that too, etc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM