javascript - How do I prevent the user from viewing a response from an AJAX request? -
I would like to create a secure AJAX call and response from the client and server.
I like this with a encryptor method and routing would encrypt the AJAX request
url: "/ site / web / J + CVKhtwFK9VwSZYiza8zr8YUqWK62VSkobVfgB3 + 1s =" and it is properly rendered. / P>
I'm concerned he does, when I Ajeaks call on the server and the response I withdraw myself, so I can be in the 'network' in Google Chrome, do observe the response and I can see it. In this way:
{ "d": { "__ type": "unproject.Services.Services + retvalMessage", "retval": "1", "message": "ok" }} How can I encrypt this response or prevent the user from viewing it?
session variable is the key to a client. Sessions encrypted string as your string J + CVKhtwFK9VwSZYiza8zr8YUqWK62VSkobVfgB3 + 1s =. In the AJAX request we can check this URL variable and the session can be used to locate the user login or the problem is not so secure.
Comments
Post a Comment