Creating case-sensitive passwords

S

Showjumper

How can i go about doing case sensitive passwords w/ forms auth, vbnet and
asp.net 1.1?
I found an msdn mag article that used cast as varbinary in the sql statement
but i cant get it to work. Is the sql approach best? What other approaches
are there?

Ashok
 
T

ThunderMusic

hi,
one of the best approaches would be to encrypt your password with a hashing
algorithm and store it in your DB, then when your user logs-in, encrypt the
password the user just entered and compare it with the one in the DB, it's
100% case sensitive and secure.

have a look there, it could help too. ;)
http://www.aspheute.com/english/20040105.asp

I hope it helps

ThunderMusic
 
G

Guest

Or you could compare the password the user has entered to what is stored
against his record at the database level in a stored procedure. Just cast the
stored password and the user enter password to a binary type then that will
compare the two on a case senstive basis.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top