Thanks Jeppe. I wasn't realizing that since it has to be done on the server, there's a chicken and egg problem with respect to getting it there encrypted. I just wasn't thinking. I will use a post.
On Wed, Aug 26, 2009 at 6:45 AM, Jeppe Nejsum Madsen <[email protected]>wrote: > > jack <[email protected]> writes: > > > Of course I could use a POST instead of a GET but my question was > > really about how to process a form value in a snippet, before the form > > is submitted. This way I can encrypt the password before it is sent in > > the body of the post, over the wire. > > Snippets are server side code. If you need to encrypt the password > before it is sent, you need to do it in the browser (ie > Javascript). Lift doesn't really do this (but can make a snippet that > generates the javascript for you) > > If you are concerned about sending clear text over the wire, I strongly > suggest you use https instead of trying to roll your own encryption in > javascript :-) > > /Jeppe > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
