Jump to content

ajax security?


n8w

Recommended Posts

my ajax script makes a call to a script like so:

 

admin_favorites.php?f=1&illustrator_id=someid&user_id=someotherid

 

how do I make this secure so that a user can't just browse to

http://www.mysite.com/admin_favorites.php?f=1&illustrator_id=someid&user_id=bad_id

and put false data?

 

 

 

I was using their session id but it doesn't work when calling the ajax script so I guess I need to put it in the query string?

Link to comment
https://forums.phpfreaks.com/topic/138325-ajax-security/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.