PDA

View Full Version : Password strength with javascript



web2crawler
06-03-2009, 11:15 PM
This is a js-function which checks password safety: http://www.cafewebmaster.com/check-password-safety-javascript-while-typing

I am not sure if its rules are good enaugh. Are there some global rules for password safety/strength?

forum_amnesiac
06-04-2009, 07:15 AM
That script is good for checking the 'strength' of a password, ie increasing the difficulty of "guessing/calculating" the password.

In my opinion the most important thing about password security is the use of encryption and a database.

No point having a process that tests how difficult it will be to crack a password if it is not stored securely.

There have been many discussions on this subject in this forum, with varying opinions, but I have to agree with the opinion that says that no password system can be made totally secure, they can just be made more difficult to break.