The method shown above should work given the right security planning.
This is one way to do it using non-symmetric encryption. For security reasons you should Encrypt your passwords and stored them encrypted.
When you are ready to authenticate an user, encrypt their input and compare it to the encrypted password stored in the database.
It is worth noting that you can do other things like add scripts to - supported - events in HTML 4.0 elements. (i.e. myButton.Attributes.Add("OnClick","JavaScript:alert('hi you doing?!');")
ChicoUser
Participant
830 Points
166 Posts
Re: Assigning the text value for a Password Textbox
Apr 04, 2005 06:05 PM|LINK
This is one way to do it using non-symmetric encryption. For security reasons you should Encrypt your passwords and stored them encrypted.
When you are ready to authenticate an user, encrypt their input and compare it to the encrypted password stored in the database.
It is worth noting that you can do other things like add scripts to - supported - events in HTML 4.0 elements. (i.e. myButton.Attributes.Add("OnClick","JavaScript:alert('hi you doing?!');")
-
Francisco
(A+,MCP,.NET Framework Certified)