Prompt for password when resolving Web access

  

After the IIS server component is installed, there is no problem setting the web service, but when accessing the specified website, a password prompt window pops up asking for a password. Why is this?

A password prompt window appears on the visiting site. This is a very common problem. You can try to check from the following aspects.

. The accessed web page file itself is encrypted. For example, the default Web site & rdquo; original home directory & ldquo; X: \\ Inetpub \\ wwwroot rdquo; home file "lds; iisstart.asp" rd, access passwords.

. No settings are allowed to allow anonymous access. In the "Internet Information Server", check whether the following Allow "Anonymous Access" is set in the "Directory Security" under the attribute configuration item of the site, and under it "In the "anonymous user account", "username" should be in the format of "IUSR_computer" (where "computer" is the name of the computer); in addition, it is necessary to tick "Allow IIS control" Password & rdquo; one.

. The target directory is restricted from access. This entry is only possible if the directory is in an NTFS format partition. Method: Right click on it, select "Properties", and then enter the "Security" window to see if the list is allowed by default to the "Everyone" group fully controlled state.

Copyright © Windows knowledge All Rights Reserved