Securing AJAX requests with PHP?
| From: | Jay Moore | Date: | Fri, 17 Oct 2008 19:08:07 +0000 |
| Subject: | Securing AJAX requests with PHP? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-282054@lists.php.net to get a copy of this message | ||
I realize this isn't really about PHP, but I was hoping maybe someone had a way to make AJAX a little bit more secure using PHP.
I was thinking of making my AJAX calls also pass the current session id, and have my PHP script check to make sure it's a valid id, but I'm open to other ideas.
Do you guys use PHP to make AJAX calls a little bit more secure? What /do/ you use?
I hope this isn't too off-topic.
Thanks,
Jay