Last active
December 13, 2015 18:19
-
-
Save uniquelau/4954745 to your computer and use it in GitHub Desktop.
For IIS 7+ using Application Pool Identities
You can learn more about this concept at http://blogs.iis.net/webdevelopertips/archive/2009/10/02/tip-98-did-you-know-the-default-application-pool-identity-in-iis-7-5-windows-7-changed-from-networkservice-to-apppoolidentity.aspx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM For IIS7 plus, using Application Pool Identities | |
set identity=IIS APPPOOL\{app-pool-name} | |
icacls app_code /grant "%identity%":(OI)(CI)RX | |
icacls app_browsers /grant "%identity%":(OI)(CI)RX | |
icacls app_data /grant "%identity%":(OI)(CI)M | |
icacls bin /grant "%identity%":(OI)(CI)R | |
icacls config /grant "%identity%":(OI)(CI)M | |
icacls css /grant "%identity%":(OI)(CI)M | |
icacls masterpages /grant "%identity%":(OI)(CI)M | |
icacls media /grant "%identity%":(OI)(CI)M | |
icacls scripts /grant "%identity%":(OI)(CI)M | |
icacls umbraco /grant "%identity%":(OI)(CI)M | |
icacls usercontrols /grant "%identity%":(OI)(CI)R | |
icacls xslt /grant "%identity%":(OI)(CI)M | |
icacls views /grant "%identity%":(OI)(CI)M | |
icacls web.config /grant "%identity%":(OI)(CI)M | |
icacls web.config /grant "%identity%":M | |
REM If you have installed the Robots.txt editor package you need the following line too | |
icacls robots.txt /grant "%identity%":M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed /data folder, not used since Umb 4.something? maybe 4.7?