AllExperts > Experts 
Search      

Active Server Pages Programming (ASP)

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Active Server Pages Programming (ASP) Answers
Question Library

Ask a question about Active Server Pages Programming (ASP)
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Ashley Brazier
Expertise
Main focus is ASP, SQL Server 2000 & 2005

Experience
Over 6 years experience.

Education/Credentials
BCs Honours Software Design and Networks

 
   

You are here:  Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > Custom Windows Authentication Login Box

Topic: Active Server Pages Programming (ASP)



Expert: Ashley Brazier
Date: 1/9/2008
Subject: Custom Windows Authentication Login Box

Question
Hi,

I have an ASP site that I want to password protect for a few users (about 10). I want to use Windows Authentication, but I don't want to use the built in generic pop up login box. I want to use a web form to collect their login credentials. I haven't had any success in finding code that allows me to do this. I will be using the Request.ServerVariables("remote_user") to show their username on the site. Do you know how I can bypass the Windows Authentication login form and use my own custom web form for authentication with Windows?

Thanks


Answer
Hi,

To get the users windows login id you would have to set Windows integrated Authentication on the page or the directory you are trying to protect. The only time a user would be prompted for a username or password is if the user was coming from another domain or wasn't logged in.

Unfortunately there is no way around this, if I understand the question correctly. Are all the users logged on to the same domain?

Thanks

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.