IIS server Web access prompts for password question

  
                  

Q: After installing the IIS server component, 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?

Answer: 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 home file "iisstart.asp" under the original home directory "X:\\Inetpub\\wwwroot" of the "Default Web Site" requires a password when accessing.

No settings are allowed for anonymous access. In the "Internet Information Server", check whether the following "Anonymous Access" is set in "Directory Security" under the attribute configuration item of the site, and "Anonymous User Account" in "Edit" under it. The "username" entry should be in the format "IUSR_computer" (where "computer" is the computer name); in addition, you must also check the "Allow IIS to control password" item.

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 in the default state that allows the "Everyone" group to be fully controlled.

Copyright © Windows knowledge All Rights Reserved