I want to isolate a web site by granting IIS AppPool\WebSite required privileges. But, when I set identity as ApplicationPoolIdentity in the site application I get "Access Denied" error.
What I've done so far is:
- Add WebSite and its application (Application Pools).
- Set Identity as ApplicationPoolIdentity (WebSite application\Advance Settings).
- In authentication settings of WebSite, Anonymous Authentication, Anonymous user identity is set to "Application Pool Identity".
- Grant "IIS AppPool\WebSite" "Read & execute", "List Folders Contents" and "Read" permissions to WebSite folder (I used command prompt, because OS version). I also set "Full" access, but I got same outcome.
- Since this procedure didn't work, I also tried adding a new user of the operating system and assigned it to the Application Pool Identity, and granted "Full" access to the WebSite folder... No luck.
I also noticed that when I set Identity as ApplicationPoolIdentity, User Name for w3wp.exe process is blank (Windows Task Manager). But, when I set it as "Network Service" or "Local Service", they appear as owner of this process.
Any suggestions???