Reputation: 25161
I am struggling to find a certain type of authentication for my asp.net project.
Basically the user navigates to a url, and the browser (rather than the page) prompts for a password. (See screenshot).
How would I add this into my ASP.NET project?
Upvotes: 2
Views: 52
Reputation: 63970
That's called Integrated Windows Authentication. You can enable it by going to Control Panel --> Admin Tools --> IIS Manager --> Select your website --> Go to Security and tick off Integrated Windows Authentication
Upvotes: 0
Reputation: 6054
Just disable Anonymous Authentication & enable Windows Authentication in IIS for your website.
http://technet.microsoft.com/en-us/library/cc754628(WS.10).aspx
It's not a project setting, but you can set who has access to your site in your web.config: http://support.microsoft.com/kb/316871
Upvotes: 2