467,180 Members | 1,114 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,180 developers. It's quick & easy.

Authenticate the windows password through Active Directory?

Hello Everyone,

Is it possible to authenticate the windows password through Active
Directory?
If so, how would this be done.

I have a login screen in my application and am trying to set it up with
the same login details as Windows to streamline the experience for
users. It also must allow 1 user to log onto the application while
another user is logged onto windows. I must know who is logged onto the
application.

I can get the username but am wondering if after the user enters the
password, I could somehow authenticate it with windows 2003?

Regards
Kevin

Jul 20 '06 #1
  • viewed: 4019
Share:
1 Reply
Firt I'll tell you how I would try doing this then I'll tell you why this is
a bad idea IMO.

OK this is thrashng around in the dark but I would look at using the RunAs
command.

The users would run a simple app which gets their username and password.
The applicatin would then attempt to run the main application using the
RunAs command in a Shell

That way Windows would do the user validation automatically and the user
would be running your application in the windows security context of the
user they supply.
Why this is a bad idea.
Using this method you are opening wide a backdoor for a hacker to collect
network usernames and passwords.

--

Terry Kreft
<ke***********@nhw.hume.org.auwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Hello Everyone,

Is it possible to authenticate the windows password through Active
Directory?
If so, how would this be done.

I have a login screen in my application and am trying to set it up with
the same login details as Windows to streamline the experience for
users. It also must allow 1 user to log onto the application while
another user is logged onto windows. I must know who is logged onto the
application.

I can get the username but am wondering if after the user enters the
password, I could somehow authenticate it with windows 2003?

Regards
Kevin

Jul 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Marc Eggenberger | last post: by
7 posts views Thread by Sync Walantaji | last post: by
1 post views Thread by fomalhaut | last post: by
4 posts views Thread by Jon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.