|
|
|
|
|
by ehutch79
101 days ago
|
|
If you know what a user agent is, let alone how to change it, CORS is not meant for you. Its guide rails to help the tech illiterate not get hacked. It raises the bar on what gets through. It’s not going to stop a determined attacker, but will catch enough to make a dent. Defense in depth and all that. |
|
In a (possibly better) parallel universe, cross-site requests just don't send cookies or other ambient authentication state like that by default, and we wouldn't need CORS.