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
- Create a new website and create a simple helloWorld.html file, if it is in a subdirectory, remember to convert it to "web application".
- This folder permission gives Everyone permission "Full Control".
- If the problem can be solved in this way, it is established as a permission setting problem.
main solution
- In wwwroot or the root directory of the website, give
IIS_IUSRS
Group Read and Write permissions. - Excuting an order
iisreset /restart
, which will restart IIS for the new permission settings to take effect. - 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
- 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. - Switch to Internet Information Services (IIS) Manager and click on the website.
- On the right panel, click "Authentication" under the IIS category.
- In the "Anoymous Authentication" option under "Authentication", make sure it is "Enable".
- Right click on it and select "Edit...".
- The default option should be "Specific user": "IUsr", we switch to the second item "Application pool identity".
- Excuting an order
iisreset /restart
, which will restart IIS for the new permission settings to take effect. - 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.