Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ajax Security

We have a heavy Ajax dependent application. What are the good ways of making it sure that the request to server side scripts are not coming through standalone programs and are through an actual user sitting on a browser

like image 583
Rakesh Avatar asked May 25 '26 23:05

Rakesh


1 Answers

There aren't any really.

Any request sent through a browser can be faked up by standalone programs.

At the end of the day does it really matter? If you're worried then make sure requests are authenticated and authorised and your authentication process is good (remember Ajax sends browser cookies - so your "normal" authentication will work just fine). Just remember that, of course, standalone programs can authenticate too.

like image 179
blowdart Avatar answered May 27 '26 13:05

blowdart



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!