-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently
Description
cc @heston
Ideally, Envoy would handle the full XSRF lifecycle:
Send a cookie containing a cryptographic hash (XSRF token) on GET requests.
On PUT/POST/DELETE requests, Envoy would inspect various parts of the request looking for the token (XSRF_TOKEN header, encoded form body, json body).
Envoy would validate the token (hash is valid, not expired).
If valid, the request is passed to the origin.
If invalid, Envoy would send a 406 status.
We'd also need a way to opt-in/opt-out of xsrf protection for certain endpoints.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.stalestalebot believes this issue/PR has not been touched recentlystalebot believes this issue/PR has not been touched recently