Deploy the website on the windows desktop

Deploying the website on the desktop as an administrator (that is, placing the website folder on the desktop) can effectively improve the security of the website, because no one can browse the contents of the website folder except members of the administrator group, but according to the general After the website is built in the steps of building a website in IIS, the following error occurs when visiting.

This is because iis does not have permission to access the desktop folder. Just reset the permission for the website. The steps are as follows:

1. Click the website in the iis manager, and then click commands or buttons such as "Edit Permissions", "Security", "Edit", "Add" and so on.

 2. Click "Advanced" in the "Select User or Group" that appears.

3. Click Find Now in Select Users or Groups.

4. In the search results, select "IIS_IUSERS" and "IUSER" at the same time, and then click the "OK" button.

5. Click OK. As shown below:

6. Click "Edit" in the dot property page.

7. Select the IIS_IUSERS group, and check "Full Control" in the permissions table.

 8. Similarly, select the "IUSER" group, check "Full Control" in the permissions table, and finally click OK.

 In this way, the website can be accessed normally.

Guess you like

Origin blog.csdn.net/jhycjhyc/article/details/126706636