Iis you are not authorized to view this page

Source: Internet
Author: User
Tags website server

Today, when I create an iis server, I need to add a user to each individual user. After this setting, I am prompted that you are not authorized to view the page in iis. This Baidu check is not permitted.


To give a simple example, the User group on the Web server is used to browse webpages or download lists, only when the Web server directory should be granted permissions such as "read and run", "read", and "list folders and directories" to the User group can the User browse normally, otherwise, the system prompts "You are not authorized to view this page;

You are not authorized to view this page. solution:

Log on to the website server --> Find the corresponding webpage directory --> right-click the directory --> select "properties" --> In the displayed "properties" dialog box, switch to the "Security" tab --> click the "User" User Group used for Web browsing --> check "read and run", "read", and "list folders and directories, grant sufficient browsing permissions;


After refreshing the IIS program, you can solve the problem of "You are not authorized to view this page.


Here, there is a security problem with the user. If any site that uses the user permission has problems, hackers can use this permission to launch other website attacks.


Detailed error solution:

1. Error 401.1
Symptom: HTTP Error 401.1-unauthorized: access is denied due to invalid creden.
Analysis:
The user's anonymous access account (IUSR _ machine name by default) is disabled or has no permission to access the computer.
Solution:
(1) check whether the anonymous account set for site security in IIS manager is disabled. If yes, try the following methods to enable it:
Control Panel-> Administrative Tools-> Computer Management-> local users and groups, enable IUSR _ machine name account. If the problem persists, proceed to the next step.
(2) check whether the default anonymous access account of the site in the IIS manager or its group has the permission to access the server over the network in the Local Security Policy, if you have not attempted to grant permissions by following these steps:
Start-> Program-> Administrative Tools-> Local Security Policy-> local policy-> User permission assignment, double-click "Access this computer from network ", add default IIS users or their groups.
Note: Generally, custom IIS default anonymous access accounts belong to groups. To ensure security, follow this rule.

2. Error 401.2

Symptom: HTTP Error 401.2-unauthorized: access is denied due to server configuration.
Cause: Anonymous Authentication disabled
Solution:
Run inetmgr, choose site Properties> Directory Security> authentication and access control> enable Anonymous Access, enter the user name, or click browse to select a valid user, enter the password twice and then confirm.

3. Error Code 401.3

Symptom: HTTP Error 401.3-unauthorized: access to requested resources is denied due to ACL settings.
Cause: IIS Anonymous Users generally belong to the Guests group, and we generally assign the permissions to store the website's hard disk only to the administrators group. In this case, according to the inheritance principle, website folders can only be accessed by members of the administrators group. As a result, the NTFS permission for anonymous IIS users to access this file is insufficient, and thus the page cannot be accessed.
Solution:
Grant the IIS Anonymous user the permission to access the website folder by entering the security option of the folder, adding the IIS Anonymous user, and granting the corresponding permission, generally reading and writing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.