By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,519 Members | 2,412 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,519 IT Pros & Developers. It's quick & easy.

Authenticate the windows password through Active Directory?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.