How to protect a virtual directory with a password in IIS7
Question
I've placed a ClickOnce deployment inside of a virtual directory on a server running IIS7.
I would like to be able to password protect the directory so I can test the application out on the WAN but I can't seem to find out how to set a password for the directory containing the ClickOnce app.
Any help would be very much appriciated.
Solution
What type of authentication do you want to use? A simple thing to do is enable Windows authentication on the directory, then add allow/deny authorization rules. This can all be done through the IIS management console. Windows authentication may not be installed, so you may need to install it as a feature.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow