News for hackers. Stuff that matters.
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!