I am using JQuery AJax in few of my pages. This JQuery Ajax is called using function which takes few parameter, which than makes call to JQuery Ajax and insert record into database. My question is how can i secured this web service call.
Example
In .aspx Page I have placed JQuery Ajax code.
This Jquery Ajax functions take param which i will be passing on hyperlink and this call is publicly accessible on doing view-source in browser. My question is how can i secure this passing parameters on hyperlink click to JQuery Ajax function.
One possible way i can think of is to encrypt data and assigned to hyperlink, so if anybody does view-source in browser he can only get encrypted data, i can then decrypt this data in web service and do manipulation. But i am looking for better approach for this problem. Anyone has any idea?