IIS - 401.3 - 未经授权 [英] IIS - 401.3 - Unauthorized

查看:121
本文介绍了IIS - 401.3 - 未经授权的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用IIS。我在IIS管理器上创建了一个新站点,将其映射到我的文件系统上的文件夹,并将index.html添加到该文件夹​​。我已将此站点的端口设置为85。当我尝试访问 http:// localhost:85 / index.html 时,收到以下错误消息:

I am trying to get started with using IIS. I created a new site on IIS Manager, mapped it to a folder on my file system and added index.html to the folder. I have set the port to 85 for this site. When I try to access http://localhost:85/index.html, I get the following error message:

401.3 - unathorized - 由于Web上的此资源的访问控制列表(ACL)
配置或加密设置,您无权查看此目录或页面
服务器。

401.3 - unathorized - You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

我给该文件夹上的所有人提供了读取权限并再次尝试。然后我可以访问该页面。

I gave read access to everybody on the folder and tried again. I could then access the page.

然后我将我的文件夹的属性与wwwroot的属性进行了比较。我发现wwwroot在IIS_IUSRS上有读取权限...当我在我的文件夹上做同样的事情并再次尝试时,我又得到了上述错误。
我检查过默认启用了匿名访问,但我仍然收到此错误。

I then compared the properties of my folder with that of wwwroot. I found that wwwroot had read access on IIS_IUSRS...When I did the same on my folder and tried again, I got the above error again. I checkedthat anonymous access is enabled by default, but I still get this error.

为什么会发生这种情况?解决问题的正确方法是什么?

Why does this happen? What is the correct way to resolve the problem?

推荐答案

我已经在这个问题上挣扎了好几天。可以通过修改站点映射到的文件系统文件夹的安全用户访问属性来解决此问题。但IIS_IUSRS并不是您必须授权的唯一帐户。

I have struggled on this same issue for several days. It can be solved by modifying the security user access properties of the file system folder on which your site is mapped. But IIS_IUSRS is not the only account you must authorize.


  • 在IIS管理控制台中,在站点配置的身份验证部分中,修改匿名身份验证行并检查帐户设置为特定用户(薄荷是IUSR)。

  • 将您网站文件夹的读取和执行权限授予该帐户。

OR


  • 在IIS管理控制台中,在您的站点配置的身份验证部分,通过选择应用程序池的标识而不是特定用户来修改匿名身份验证行。

这篇关于IIS - 401.3 - 未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆