Hi I have been looking for code that can let me encrypt the query string created for an ajax call to a php script. The way I have been using the $.ajax, my params in query string are readily available to everyone to modify and play with. I do understand that this method may not be an absolute way of securing things but it would atleast be useful in deterring the most. Is there a plugin or some example code to do it? Does anyone share the need for something like this. If so then please reply to this message and express your thoughts on it that may create a mass need for something like this. Thanks everyone!!
I don't think it would deter anyone any more than using POST - it's just as trivial to use firebug to call your encrypt/decrypt function as it is to modify an ajax call in transit. I could concievably help stop evesdroppers - but if you need to protect the data in transit it should be over a secure connection anyway. That said, I can think of one reason where an encryption/hashing JS library is useful: for secure applications where you want to penalise incorrect password entry with a time delay. You can use a complex hashing script to force a computational delay between password attempts - sometimes increasing the delay for subsequent attempts. Might be a little specialised for a jQuery plugin, but who knows? Cheers, Hamish
Leave a comment on hn.campbell's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic