@@ -2,7 +2,7 @@
|
|||||||
description: "Prevent Cross-Site Request Forgery with this middleware"
|
description: "Prevent Cross-Site Request Forgery with this middleware"
|
||||||
---
|
---
|
||||||
|
|
||||||
The `csrf()` middleware can be used to add safguard against
|
The `csrf()` middleware can be used to add safeguard against
|
||||||
[Cross-Site Request Forgery vulnerabilities](https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/CSRF).
|
[Cross-Site Request Forgery vulnerabilities](https://developer.mozilla.org/en-US/docs/Web/Security/Attacks/CSRF).
|
||||||
It checks if the user is allowed to load the requested URL based on the values
|
It checks if the user is allowed to load the requested URL based on the values
|
||||||
in the
|
in the
|
||||||
|
|||||||
Reference in New Issue
Block a user