Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yep, I don't know why my first thought was that malicious actors could just bypass this by using external HTTP clients (like curl) when in fact this spec is meant to augment CORS: browsers _will_ send these headers to the server and the server can choose to honour them or not (well, in the CORS case the browser will block the request if the response headers are incorrect).

It's defense in depth :D



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: