At 5/12/08 04:36 PM, Jon-86 wrote:
Hmmm mixed responses. BoneIdol, can you explain why that is?
Sorry didn't catch that when I posted.
Let's assume that you did hash the password, and set a POST variable to true to say that javascript has encrypted it. Let's also assume that this request is intercepted halfway through by some script kitty with a packet sniffer. (Odds of this are pretty damn slim)
Only, what's to stop our would be hacker from just sending the hashed password he's got alongside the POST variable?
The only way to seriously stop passwords from being intercepted 100% of the time is to use an encrypted connection. (Secure Socket Layer) Only they have a few drawbacks...
Encrypted connections use something like 4x as much bandwidth, require a valid SSL certificate, (which can cost obscene amounts per annum, depending on several factors) uses more cpu resources per request and requires you to code specially for them. Unless you're deal with money or emails it usually isn't worth it.