简体   繁体   English

IIS8未经授权:由于凭据无效而拒绝访问

[英]IIS8 Unauthorized: Access is denied due to invalid credentials

How can I disable the server asking for credentials for a set directory and all subdirectories? 如何禁用服务器要求设置目录和所有子目录的凭据? I have got Windows Authentication installed. 我已经安装了Windows身份验证。

You might need to clarify further on why you want to do this, all access permissions should be controlled via the application. 您可能需要进一步说明为什么要这样做,所有访问权限都应通过应用程序进行控制。

However, right click the folder in question and add Everyone, with read permissions. 但是,右键单击有问题的文件夹,然后添加具有读取权限的“所有人”。

Edit: 编辑:

Based off your new comment. 根据您的新评论。 Disable Windows Authentication and enable Anonymous access to the site. 禁用Windows身份验证并启用对站点的匿名访问。 This is for IIS7 but the principle is the same: http://technet.microsoft.com/en-us/library/cc731244(v=ws.10).aspx 这是针对IIS7的,但原理是相同的: http ://technet.microsoft.com/zh-cn/library/cc731244(v=ws.10) .aspx

Open the Inetmgr and go to authentication section . 打开Inetmgr并转到authentication section And enable/disable the required authentication modes. 并启用/禁用所需的身份验证模式。

I had the same issue and tried everything in these posts. 我遇到了同样的问题,并尝试了这些帖子中的所有内容。 Step 1: Click on the Edit Permission Link under the Action 步骤1:点击“操作”下的“编辑权限”链接

Step 2: Select the Share Tab 步骤2:选择“共享”选项卡

Step 3: Under the Network File and Folder Share section we have "Share" Button ,Click on the Button 第3步:在“网络文件和文件夹共享”部分下,我们有“共享”按钮,单击该按钮

Step 4: In the Dropdown you have choose "Everyone" and Click on the "Add" Button. 第4步:在下拉菜单中,选择“所有人”,然后单击“添加”按钮。

This is working for me. 这对我有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM