M
M
Maxim Grechushnikov2015-09-22 12:47:46
Apache HTTP Server
Maxim Grechushnikov, 2015-09-22 12:47:46

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

1 answer(s)
T
TyzhSysAdmin, 2015-09-22
@maxyc_webber

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 question

Ask a Question

731 491 924 answers to any question