News for hackers. Stuff that matters.
Re:Ask YC: Best Practices for User Authentication by brfox on Sunday June 01, 2008 @01:46AM (#205687)
I'm no expert... but what if just the javascript was served via https? Maybe somebody ought to put an MD5 javascript library on an https server as a public service. Or would js hashing still be vulerable since the man-in-the-middle could change the nonce or something?
Re:Ask YC: Best Practices for User Authentication by ben_h on Sunday June 01, 2008 @02:18AM (#205700)
If you're going to serve Javascript over SSL, you need a full SSL setup including a valid certificate, etc. If you have that, you may as well just serve the login form itself over HTTPS, redirecting back to HTTP after logging the user in, and forget the Javascript altogether.
Re:Ask YC: Best Practices for User Authentication by ComputerGuru on Sunday June 01, 2008 @05:06AM (#205774)
He means someone set up a a JS library over HTTPS on a server for _others_ to use. Like you would grab a JS library off of Google's HTTPS servers and use that on your non-SSL pages.
Re:Ask YC: Best Practices for User Authentication by tptacek on Sunday June 01, 2008 @11:51AM (#205929)
Uh... and the page that includes the JS, which is part of your app... comes from where?
Re:Ask YC: Best Practices for User Authentication by brfox on Monday June 02, 2008 @12:39PM (#206880)
Oh yeah, good point!
Re:Ask YC: Best Practices for User Authentication by DougBTX on Sunday June 01, 2008 @03:37PM (#206110)
You can inject JS into the HMTL directly.