正确的安装IIS7.5为计算机帐户进行匿名访问Web站点 [英] Proper setup for IIS7.5 machine account for anonymous Web site access
问题描述
使用IIS 7.5,IIS_IUSRS应该是使用的帐户。我得到401 - 未经授权:访问由于凭据无效被拒绝的错误。如果我添加具有读取Everyone帐户,它的工作原理。反倒是没有Everyone帐户。任何想法,为什么IIS_IUSRS不起作用?它读访问。匿名访问=启用。特定用户= IUSR
Using IIS 7.5, IIS_IUSRS is supposed to be the account to use. I get '401 - Unauthorized: Access is denied due to invalid credentials' error. If I add an EVERYONE account with Read, it works. But rather not have Everyone account. Any idea why IIS_IUSRS does not work? It has Read access. Anonymous Access=enabled. Specific User=IUSR
作为一个方面,在基本设置...该网站,测试设置按钮,说:'OK-上进行身份验证,但授权无法验证访问路径。
As a side, on the Basic Settings... for the site, Test Settings button says 'ok-on Authenticate' but Authorization 'cannot verify access to path'.
推荐答案
在IIS 7.5中这已经被更改的IIS_IUSRS帐户是在 IIS AppPools 顶级窗口组的用户。
In IIS 7.5 this has changed from being an IIS_IUSRS account to being a user under the IIS AppPools top level windows group
如果您创建一个名为应用程序池
if you create an application pool called
www.mysite.com
那么它会作为成为网站默认创建的用户帐户
then the sites default created user account that it runs as becomes
IIS AppPools \\ www.mysite.com
检查下保护资源下面的Microsoft文档看更多的
Check the following Microsoft Doc under "Securing Resources" to see more
http://learn.iis.net/page.aspx / 624 /应用程序池的身份/
这篇关于正确的安装IIS7.5为计算机帐户进行匿名访问Web站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!