2

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).

enter image description here

How would I add this into my ASP.NET project?

1
  • Are you running on IIS 6 or IIS 7 ? Commented Dec 8, 2011 at 16:33

2 Answers 2

2

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.