Oh and I would suggest you try it in Firefox as that is the only browser I tested in.
On Thu, Dec 18, 2008 at 8:36 AM, Cam Spiers <camspi...@gmail.com> wrote: > Hey Leandro, > > These links might help.. > > Here is some stuff I just wrote up: > > HTML/JavaScript: http://pastebin.com/m5d3766dd > > PHP: http://pastebin.com/m3fb38f94 > > This link helped me: > http://www.peej.co.uk/articles/http-auth-with-html-forms.html > > I just worked on it for a short time... > Username: user > Password: password > > Cheers, > Cam > > > > On Thu, Dec 18, 2008 at 3:12 AM, Andy Matthews > <li...@commadelimited.com>wrote: > >> >> You could use this base64 library to check an encrypted password: >> >> http://www.webtoolkit.info/javascript-base64.html >> >> Any login done solely with client side code is going to be inherently >> insecure. If that's part of your requirement, then you'll just have to >> work >> around it. >> >> >> andy >> >> -----Original Message----- >> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On >> Behalf Of Leandro Ardissone >> Sent: Tuesday, December 16, 2008 5:00 PM >> To: jQuery (English) >> Subject: [jQuery] [OT] Client side web application with jQuery >> >> >> Hi, >> >> I'm need to implement a website (intranet) that runs everything on the >> client side communicating to the server via RESTful requests. I'm using >> jQuery but my big issue at the moment is how to manage the login. >> >> I'm not sure which is the best method to login the user securely from >> javascript. We're using REST for the site requests and HTTP Auth for the >> authentication at the moment, but I don't want to use that ugly browser >> login. >> >> I want to manage everything from the client side using javascript. But >> since >> javascript is viewable by the users I think that probably could be >> dangerous. >> >> What are your suggestions? Is there a jQuery plugin for http-Auth? Or >> maybe >> I should use other method? >> >> >> Thanks, >> Leandro >> >> >> >