views:

95

answers:

1

I've seen this question before but can't find a good answer for it.

I have an ASP.NET website using formsauthentication, it has some anonymous and protected parts. Now I publish this on a development machine connected to the internet, I only want testers to have access to this website. So outsiders cannot see anything of the website, not even the formsauth login screen.

What I want is like a .htaccess popup that asks for a username/password, how can I accomplish this?

A: 

You should read:

http://www.leastprivilege.com/HTTPBasicAuthenticationAgainstNonWindowsAccountsInIIS7.aspx

Vnuk
Total overkill and doesn't even answer the question properly. I am not going to write custom C# code to simply place a popup password over a web site. This has traditionally always been a 2 second job. Over-engineering complex/messy custom wrappers is not the smart solution.
Aaron
If your tradition has a 2 second solution for this problem, please supply it. If you do not have it then shut up and don't down vote constructive answers.
Vnuk