You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an extra layer of security, we can reject simple requests, by requiring a custom header.
This means that requests have to send preflight requests and, if they fail, the real request is never sent. Without this the server will still process the requests which could trigger side-effects (e.g. interact with the DB).
Implementation-wise this is pretty easy: we'd just need to add onRequest hooks to the routes we want to protect.
@ojeytonwilliams help me understand the marningal benfits of adding this, as it seeme like this is a nice to have since the ticket is been open a over a year.
Activity
vaibh27 commentedon Sep 2, 2023
@raisedadead, I would like to contribute on this issue.
Let me know where to start.
Thanks
dbarnwal commentedon Oct 15, 2023
Can contribute on this. When can i begin ?
anishlukk123 commentedon Feb 16, 2025
@ojeytonwilliams help me understand the marningal benfits of adding this, as it seeme like this is a nice to have since the ticket is been open a over a year.