I
I
Ilya Popov2015-02-12 13:42:17
PHP
Ilya Popov, 2015-02-12 13:42:17

How to secure data sent by ajax POST request?

Good afternoon.

How is it possible to protect the data transmitted via ajax request, using the post method, to another php site script.
That is, for now, in fact, an attacker can substitute their values ​​by changing the script through firebag, for example. I would be glad if someone could suggest a solution.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
FanatPHP, 2015-02-12
@FanatPHP

The question is as stupid as the previous one.
WHAT are you going to protect?
Data that the user does not enter? What for them then in general through the form to transfer?
Data that the user himself ENTERS? From whom? From user? That is, you want to prevent the user from entering data that he should enter? Did you think well? With what?

A
Alexander N++, 2015-02-12
@sanchezzzhak

Check what comes incorrectly send to ***.
There are no quick solutions in this matter how to check what comes.

N
Nur-Magomed, 2015-02-12
@efive

It is not clear what exactly is meant. Protect the server? Or protect from interception?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question