PDA

View Full Version : Encrypting the data



INAEXTJS
24 Jan 2014, 2:35 AM
Is there a way in ext js to encrypt the Form data ie (via method post) so that in the console the user would not be able to see the data to be sent to the user. Similarly the json response that we sent back to the GUI also need to be decrypted so that the user would not be able to see the data sent.. This is needed so that the user cannot manipulate or see the form data parameters sent or reponse data received..

skirtle
24 Jan 2014, 3:07 AM
If someone has access to the console then they can hook in to view the data before it's encrypted or after it's decrypted, so how does encryption help?

You can't rely on encryption for this. Your server needs to protect itself against bad input and should only return output that you're happy for the user to see.