E
E
Eugene Kulbeda2016-09-06 19:05:09
PHP
Eugene Kulbeda, 2016-09-06 19:05:09

How safe is it to use AJAX requests?

How safe is it to use AJAX requests to edit user information or for any other purpose? How to protect yourself from scammers who can simply change the data that is passed to the php file and change something about the user (for example, password)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nirvimel, 2016-09-06
@zkulbeda

How safe is it to use AJAX requests?

No more secure than bare HTML and submitting data via forms (POST requests).
Nothing new: Authorization. Sessions.
Plus: when setting a new password, it is mandatory to transfer and check the old one (even under an authorized session).

I
Ivan, 2016-09-06
@LiguidCool

Em. It is exactly as safe as a non-AJAX request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question