3 ms·
CSRF attacks can be prevented using same-site policy with cookies.
by anaxag0ras 6y ago
CSRF attacks can be prevented using same-site policy with cookies.
- poxrud 6y agoThat is true but it will not protect against all forms of CSRF, for example you'll be vulnerable if you have user generated content that's not sanitized properly. On the refresh_token cookie I have sameSite and httpOnly set.