|
|
|
|
|
by TheCoelacanth
1894 days ago
|
|
evil.com can't see the auth cookies, but if evil.com (or anyone else) makes a request to bank.com, then that request will have the cookies for bank.com automatically included. That is precisely why the same-origin policy sharply limits what kinds of requests evil.com is allowed to send to bank.com. |
|
It’ll be great when you can simply count on browsers having implemented strict SameSite cookies, because that’s such a simple, elegant solution. Anti-forgery tokens are a bit of a hack.