Hello,
I am creating an application using vb windows applcation and using SQL 2005.
I have a table of users, that contain there usernames and passwords. When a new user is added it stores all the passwords in clear text in the database.
What is the best method to use to be able to crypt the passwords in the database.
Also, when the user login, i have a sql statement that will compare the username and password that they enter in the login dialog box, to what is in the database. If the password is encryted, would I still be able to compare their password to see if they can still login.
i.e.
"Select * From Users Where LoginID=@LoginID And Password=@Password"
Many thanks for any suggestions,
Steve