简体   繁体   中英

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.

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. This is for IIS7 but the principle is the same: http://technet.microsoft.com/en-us/library/cc731244(v=ws.10).aspx

Open the Inetmgr and go to 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

Step 2: Select the Share Tab

Step 3: Under the Network File and Folder Share section we have "Share" Button ,Click on the Button

Step 4: In the Dropdown you have choose "Everyone" and Click on the "Add" Button.

This is working for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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