How to set “CSRFprotect” parameter to prevent AJAX capture?

In In this article, the author mentioned a way to protect against AJAX hijacking using a parameter CSRFprotect, but I did not understand how he set this value? I would put the code here, but when I do this, it seems incomprehensible.

+3
source share
1 answer

He intercepted jQuery ajax events to add a custom parameter querystring (i.e. this is a custom solution and needs to be carefully implemented on the server side, this is not a standard solution). This will probably help prevent a website from becoming infected with a common case, but not against a targeted attack.

0
source