Answer the question
In order to leave comments, you need to log in
Is it possible to disable POST from another server somehow?
There is an old project. Someone uses CSRF to send mail to mailboxes of partner companies.
Could you advise how to protect against sending messages through the form at a lower cost? The captcha is worth it.
I suspect that some kind of script is posting the necessary fields to the right address. Decided that it is possible to forbid POST from all hosts/IP except the. Is it possible to do so?
Answer the question
In order to leave comments, you need to log in
A POST request is sent not by the server, but by the client, and filtering all this stuff by IP will not work.
google for CSRF-token for your PL
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question