I wish to require a popup window for users to type, to access my website. For the username and password, I was hoping to have a few hardcoded names/passwords in some file. I was told that Digest Authorisation could be used to do this.
If I’ve got a standard ASP.NET website, where can I define the usernames / password?
Note that this username/password only ‘unlocks’ the site, but doesn’t log them INTO the site. they will need their website username/password for that.
Depending on your access to the machine, a really simple option is a program called IISPassword, some providers have this installed, which allows you to use apache style .htaccess .htpassword files.
Once this is installed, setting up takes about 5 mins, just find a unix crypt function to handle the passwords, and it just works, don’t have to touch aspnet at all.
Have only used this on IIS 5 and 6, but might work on 7.
Hope that helps.