mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
467 B
467 B
CSRF Protection
Cross-Site Request Forgery (CSRF) tricks authenticated users into submitting unintended requests. The standard defense is generating a unique, unpredictable token per session, embedding it in forms, and validating it on the server when the form is submitted. PHP frameworks typically include built-in CSRF middleware.
Visit the following resources to learn more: