TEST

Windows IIS 8 website inexplicable 403.3 validation error


layout: post
title: Windows IIS 8 website inexplicable 403.3 validation error
date: 2021-09-15 11:49 +8
description: Windows folder permissions adjustment.
toc: false
share: true
comments: true
tags: IIS Windows

Notice

This article is a solution for IIS 8 and newer for Windows.

Check for problems

  1. Create a new website and create a simple helloWorld.html file, if it is in a subdirectory, remember to convert it to "web application".
  2. This folder permission gives Everyone permission "Full Control".
  3. If the problem can be solved in this way, it is established as a permission setting problem.

main solution

  1. In wwwroot or the root directory of the website, give IIS_IUSRS Group Read and Write permissions.
  2. Excuting an order iisreset /restart, which will restart IIS for the new permission settings to take effect.
  3. On a different computer, browse the website you just set up to check whether it can be displayed normally. If not, take the alternative method as follows.

Alternative workaround

  1. In wwwroot or the root directory of the website, give IIS AppPool\MyApplicationPoolName Group Read and Write permissions.
    ※Here MyApplicationPoolName should be the application pool name of the website.
  2. Switch to Internet Information Services (IIS) Manager and click on the website.
  3. On the right panel, click "Authentication" under the IIS category.
  4. In the "Anoymous Authentication" option under "Authentication", make sure it is "Enable".
  5. Right click on it and select "Edit...".
  6. The default option should be "Specific user": "IUsr", we switch to the second item "Application pool identity".
  7. Excuting an order iisreset /restart, which will restart IIS for the new permission settings to take effect.
  8. On a different computer, browse the website you just set up to check whether it can be displayed normally. I got here and solved the problem.

References