getting the password from Active Directory and partial password verification.

I am trying to write an asp .net login verification system which asks users to login with a random selection of letters from the users password.
e.g if the password was experts, they are asked to supply 1,2 6 and they would have to supply e,x and t.
I am combining it with a record of their last used i.p address and if that changes a mobile phone sms security pin confirmation.
My problem is I cannot find a way of accessing the password from active directory to construct the partial match authentication or a way to test the 3 letters against the password for partial match and this may not be possible.
My alternative is to force our users to supply a different login password for the login system or we manually set it in an accessible field.
Is there a way to achieve what I need without taking these steps?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy LidbetterCommented:
Hi there,

AD does not store a copy of the users password, only a hash which is generated using the entire phrase. So there would be no way of achieving this.

This type of login is generally a second factor auth of which a plain text or encrypted password can be recalled and compared for specific characters post the user providing a full username\password login.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dgloverukAuthor Commented:
Thanks Guy,
If it is not possible then that's the answer :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.