IIS you are not authorized to view this page

Source: Internet
Author: User
Tags anonymous ntfs permissions


To give a simple example, the user group on the Web server is used to browse the Web page or download the list, and only if the Web server directory should give users permission to read and run, read, list folders, and directories, or you may be prompted to " You are not authorized to view the page "issue;

You are not authorized to view the solution for this page:

Log on to the Web server--> find the corresponding page directory--> right click on the directory--> select Properties--> in the Pop-up Properties dialog box, switch to the Security tab--> click the "user" user group used in the Web browser-- > on the "Read and run", "read", "List folders and directories" before the tick, give enough browsing rights;


After you refresh the IIS program, you can resolve the issue of "you are not authorized to view this page."


There is a security issue with user users here, and hackers can use this right to attack other sites if any of the stations that use user permissions are problematic.


Error detailed solution:

1, error number 401.1
Symptom (s): HTTP error 401.1-Unauthorized: Access denied due to invalid credentials.
Analysis:
Because the user is using anonymous access to the account (the default is the IUSR_ machine name) is disabled, or does not have access to the computer, will cause users inaccessible.
Solution:
(1) To see if the anonymous account for site security settings in IIS Manager is disabled, and if so, try to enable it in the following ways:
Control Panel-> Management tools-> Computer Management-> Local Users and groups, enable IUSR_ machine name account. If it is not resolved, proceed to the next step.
(2) View the default anonymous access account for the site in IIS Manager or the group to which it belongs, in the local security policy, if there is no attempt to grant permissions with the following steps:
Start-> program-> Administrative Tools-> Local Security Policy-> security Policy-> Local policy-> User rights Assignment, double-click "Access this computer from the network" to add the IIS default user or the group to which it belongs.
Note: The general custom IIS default anonymous access account belongs to the group, and for security, there are no special needs, please follow this rule.

2, error number 401.2

Symptom (s): HTTP error 401.2-Unauthorized: Access was denied due to server configuration.
Reason: Anonymous authentication was turned off
Solution:
Run inetmgr, open the Site Properties-> Directory Security-> authentication and access control-> Select Enable Anonymous access, enter a username, or click "Browse" to select a legitimate user, and then confirm the password two times.

3, error number: 401.3

Symptom: HTTP error 401.3-Unauthorized: Access because the ACL's settings for the requested resource are denied.
Reason: IIS anonymous users generally belong to the Guests group, and we generally assign the right of the hard disk of the site to the Administrators group, at this time, in accordance with the principle of inheritance, the site folder only members of the Administrators group can access, Insufficient NTFS permissions to access the file by IIS anonymous users, causing the page to be inaccessible.
Solution:
Give IIS anonymous users access to the Web site folder by accessing the security options for the folder, adding IIS anonymous users, and giving them the appropriate permissions, generally read and write.

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.