当我试图访问我的ASP.NET MVC应用程序时,我得到了错误:
Access to the path 'C:\inetpub\wwwroot\website\bin\test.Platform.Config.xml' is denied我使用具有以下属性的应用程序池运行IIS 7.5:
Identity: ApplicationPoolIdentity我想这是因为'ApplicationPoolIdentity‘无法读取我试图访问的文件。所以我的问题是:由于'ApplicationPoolIdentity‘不是系统用户,为了允许'ApplicationPoolIdentity’读取文件,我需要授予哪个用户或组进一步的访问权限?
或者对这个授权问题有其他的解释吗?
发布于 2012-11-20 05:01:10
好的,我有一个解决方案:
在IIS7.5中使用"ApplicationPoolIdentity“时,对应的用户是(虚拟系统用户):
"IIS AppPool\<AppPoolName>"您可以授予此用户权限,并通过搜索此用户来检查安全设置。请看这里的完整解释:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities
https://stackoverflow.com/questions/13461186
复制相似问题