Sorry, if this has already been asked, I searched Google and could not find the answer.
I'm new to jquery and I wonder how to protect my internal pages from loading by external users?
For example, if my jquery.post or .get calls "delete-post.php", I want jquery to be able to load this page. I don’t want John Doe to understand that he can send data from his own form to delete-post.php and delete anything he wants, or call delete-post.php? Id = whatever_id_he_wants.
Hope this makes sense? As I said, I'm new to jQuery and wondering about security.
source
share