| |
You are here: Experts > Computing/Technology > Business Software > Active Server Pages Programming (ASP) > Custom Windows Authentication Login Box
Expert: Ashley Brazier
Date: 1/10/2008
Subject: Custom Windows Authentication Login Box
Question 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
---------- FOLLOW-UP ----------
QUESTION: Hi,
There are several devices on the market like SonicWall that have their own login form, but pass it through to Windows for authentication. How do they do it?
Thanks
Answer Ok,
Are your users logging on to the network?
You can try and bind directly to active directory. I did this recently to allow employees to update the contact details on the exchange server. I won't recommend you research LDAP, this will help your alot.
Can you give me details of your network setup?
Add to this Answer
Ask a Question
|
|