Author: ASQ | Posted on: 7/23/2008 2:27:53 PM | Views : 333

I have a created a new user with the standard "CreateUserWizard" control (standard membership setup for VWD 2005 Express).

I do not want to use the standard "Login" control to perform a log in. So, I have created a form with two text boxes, one for username and the other for the password together with a button that will read the username and password from the textboxes and compare it with the info already stored in the SQL Server 2005 database.

Problem: the password in the database is encrypted - how do I compare it with the value from the textbox to see if it is the same?

I had a look through the stored procedures, but I could not find one that seem to decrypt the password again or compare the two. I also looked at the possibility to encrypt the password from the textbox, to compare the two encrypted passwords, but without much joy.

How does the Login Control compare the input password with the one stored in the database? Ho ...

Go to the complete details ...