asp.net password recovery to recover existing password

By default it return a new password. How can I return the existing one? Also does the system have an object that when given a username/password validate it?
glenn_rAsked:
Who is Participating?
 
khairilConnect With a Mentor Commented:
There are so many ways you can do it.

I am using custom code to authenticate user with Active Directory.

ASP.Net by itself already have Membership Provider that can handle authentication on your behalf using user information from database or other data provider.

You do not spell out application services that will do authentication.
0
 
khairilCommented:
Hi,

Depend on how password is store, you might be able to return old password or not. There are 3 way password usually stored; clear, hashed or encrypted. If you set the password as hashed then it is no way to reprensent user with old password.

You might want to read this for clear detail, http://www.asp.net/security/tutorials/recovering-and-changing-passwords-cs

This old tutorial, but will give you great idea on how thing works.
0
 
glenn_rAuthor Commented:
Makes sense. What about a programatic method where I could pass in a username/password and have the system authenticate it against application services?
0
 
glenn_rAuthor Commented:
As AppServs is using its own hash/encryption algorhythm the must expose something wher you could pass in the username and password and have it return true of false. No way to develop something externally as I don't know the hash or the encryption logic.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.