Jump to content

Ajax Security


shane18

Recommended Posts

When you make a request to a PHP page and it returns data... how can u make sure that someone doesn't go to http://www.yoursite.com/yourAJAXphpFILE.php and read that... i kno u can do a session check to make sure the user is logged in and has rights to the data on that page so that someone thats not logged in can't go to it and view data... but if u don't wanted logged in users seeing that data sent to the javascript via ajax.. how do u do it... is it even possible?

Link to comment
https://forums.phpfreaks.com/topic/197825-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.