IIS File authorization failed for the request

前端 未结 4 1394
野趣味
野趣味 2021-01-20 01:04

I am trying to access a webpage on our local web server. When I browse to the page I get the windows auth challange. Even if i try to enter my credentials it keeps asking ag

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-20 02:05

    I couldn't get it to work until I gave Everyone access.

    1. Open Windows Explorer
    2. Select the website folder e.g. C:\inetpub\wwwroot\MyWebsite.
    3. Right click the file and select "Properties"
    4. Select the "Security" tab
    5. Click the "Edit" and then "Add" button
    6. Click the "Locations" button and make sure you select the local machine. (Not the Windows domain if the server belongs to one.)
    7. "Enter the object names to select:" text box enter Everyone.
    8. Click the "Check Names" button and click "OK".

提交回复
热议问题