Which of the following headers can help in mitigating CSRF attacks?

  • Content-Type
  • X-Content-Security-Policy
  • Referer-Policy
  • X-Requested-With
The Referer-Policy header can help mitigate Cross-Site Request Forgery (CSRF) attacks by controlling which origins are allowed to make requests to the resource.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *