Web应用IIS7文件夹的权限 [英] IIS7 folder permissions for web application
问题描述
我使用Windows身份验证,而不对我公司的内部网站与IIS7模拟。
I am using windows authentication without impersonation on my company's intranet website with IIS7.
在IIS7,什么帐户用于访问包含使用这些设置我的web应用程序的文件夹?
Under IIS7, what account is used to access the folder which contains my web app using these settings?
难道是IIS_IUSRS?或网络服务?或者其他我不知道的吗?
Would it be IIS_IUSRS? Or NETWORK SERVICE? Or another I don't know about?
推荐答案
在IIS 7(不是IIS 7.5),根据网站上的应用程序池的网站设置帐户访问文件和文件夹。默认情况下,在IIS7,这个帐户是 NETWORK SERVICE
。
In IIS 7 (not IIS 7.5), sites access files and folders based on the account set on the application pool for the site. By default, in IIS7, this account is NETWORK SERVICE
.
在IIS 7.5(Windows 2008的R2和Windows 7),应用程序池启动时其上创建ApplicationPoolIdentity下运行的应用程序池。如果你想设置ACL此帐户,您需要选择 IIS程序池\\ ApplicationPoolName
而不是 NT AUTHORITY \\ Network服务
。
In IIS 7.5 (Windows 2008 R2 and Windows 7), the application pools run under the ApplicationPoolIdentity which is created when the application pool starts. If you want to set ACLS for this account, you need to choose IIS AppPool\ApplicationPoolName
instead of NT Authority\Network Service
.
这篇关于Web应用IIS7文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!