Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 448 Bytes

0601.md

File metadata and controls

15 lines (12 loc) · 448 Bytes

What is the best measure one can take to prevent a cross-site request forgery (CSRF)?

  • A) Add a secret token to all form submissions
  • B) Disallow requests from outside hosts
  • C) Turn off allow_url_fopen in php.ini
  • D) Filter all output
Answer

Answer: A