Password protect ASP.NET web application in IIS 7.5
问题 I use IIS 7.5 on windows 7 to serve my asp.net websites for testing purposes. In order to stop random people viewing my websites I want IIS to require a username and password before it will serve anything. I have tried disabling Anonymous Authentication and enabling Windows Authentication on the application but when I type my windows credentials in it doesn't work. Can somebody explain a simple way of doing this? 回答1: You need "Basic Authentication": Open Internet Information Services (IIS)