Integrated Windows Authentication prompts for username and password

27,385 pts.
Tags:
ASP.NET
C#
IIS 6.0
Integrated Windows Authentication
Web development
I have an ASPX site programmed in C# using Integrated Windows Authentication in IIS6. Everytime a user tries to access the site, it prompts them for a username and password. How do you make the site use the local login credentials when accessing the site?
ASKED: March 25, 2009  12:03 AM
UPDATED: March 30, 2009  10:51 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try <a href=”http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx”>this</a>. Just be careful as this could be maliciously exploited. May want to test the implementation or have someone else check it out if it’s for a sensitive/critical app.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    I wasn't able to get the modifications to the web.config file to work, but the link to the MSDN page looks helpful. I really appreciate the post.
    27,385 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following