问题:
We have recently upgraded to IIS7 as a core web server and I need an overview in terms of the permissions. 我们最近升级到IIS7作为核心Web服务器,我需要在权限方面进行概述。 Previously, when needing to write to the file system I would have give the AppPool user (Network Service) access to the directory or file. 以前,当需要写入文件系统时,我会给AppPool用户(网络服务)访问目录或文件。
In IIS7 I see, as default, the AppPool user is set to ApplicationPoolIdentity
. 在IIS7中,我看到,默认情况下,AppPool用户设置为ApplicationPoolIdentity
。 So when I check the task-manager, I see that a user account called 'WebSite.com' is running the IIS Process ('Website.com' being the name of the website in IIS) 因此,当我检查任务管理器时,我看到一个名为“WebSite.com”的用户帐户正在运行IIS进程('Website.com'是IIS中网站的名称)
However this user account doesn't exist if I try to use that to give permissions. 但是,如果我尝试使用该帐户授予权限,则此用户帐户不存在。 So, how do I determine which user to give the permissions too? 那么,我如何确定哪个用户也可以授予权限呢?
Edit ============================================================================== 编辑================================================= =============================
See below for the problem in screen shot. 有关屏幕截图中的问题,请参阅下文。 Our website (www.silverchip.co.uk) runs on the username SilverChip.co.uk. 我们的网站(www.silverchip.co.uk)使用用户名SilverChip.co.uk运行。 However when I add pemissions, this user doenst exist! 但是当我添加提交时,这个用户确实存在!
=================================See AppPool Image =================================请参阅AppPool图像
解决方案:
参考一: https://stackoom.com/question/Ulxo参考二: IIS7 Permissions Overview - ApplicationPoolIdentity