Access website prompt: You are not authorized to view this page. Recovery method

Published: 2010-10-28

```html

I. Website access prompt:

You are not authorized to view this page

You do not have permission to view this directory or page because the access control list (ACL) on the Web server has been configured for this resource. Causes of the problem: 1. Directory permissions are lost. 2. The password for the computer username ftpname account is inconsistent with that recorded in IIS.

 

Solution:

 

 

1. If the website was created using 网站管理助手, double-click this site in 管理助手, and then click “Fix the issue of you not being authorized to view this page”.  (If this button is not available, please upgrade the software to the latest version.)

 

 

 blob.png

 

2. In addition, you can use this small script to restore permissions.

http://download.myhostadmin.net/vps/vpsquanxian.vbs

Download and place it in d:\, then in cmd, run cscript d:\vpsquanxian.vbs

 

Conditions for using this script to restore permissions:

1. The directory name, site name in IIS, and user name are exactly the same.

2. IIS directory security has been set up correctly.

3. The website directory is stored in d:\wwwroot

4. All sites show this prompt when accessed, and manual handling takes a long time.


More information:  windows2003+iis6.0 How to handle the unauthorized prompt caused by improper website permission settings


 

```