Only Allow jquery to load certain pages
<p>Sorry if this has been asked already, I've did a google search and couldn't find the answer.</p>

<p>I am new to jquery and I am wondering how to protect my backend pages from being loaded by external users?</p>

<p>For example, if my jquery .post or .get calls "delete-post.php" I only want the jquery to be able to load that page.  I don't want some John Doe user realizing he can post data from his own form to delete-post.php and delete whatever he wants, or calling delete-post.php?id=whatever_id_he_wants.</p>

<p>I hope this makes sense?  Like I said I am new to jQuery and am wondering about security.</p>
