How to grant identity ApplicationPoolIdentity read rights to folder within my site

梦想的初衷 提交于 2019-12-03 14:49:41
karlm

ICACLS <folder> /grant "IIS AppPool\nameoftheapppool":WRX did not work for me, it gave an error:

Invalid parameter "IIS AppPool\nameoftheapppool" 

but, the following did work:

ICACLS <folder> /grant "IIS AppPool\nameoftheapppool:WRX"

You can use the ICACLS tool for this. The usage herefore is:

(Command-prompt)> ICACLS <folder> /grant "IIS AppPool\<nameoftheapppool>":WRX

that should do the trick. ( If you replace the placeholders with the right values )

More information about ICACLS.exe can be found here http://support.microsoft.com/kb/919240

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!