News for hackers. Stuff that matters.
Re:Developers don't understand CORS by jrochkind1 on Wednesday July 10, 2019 @04:53PM (#20406435)
Yes, and that is a very important point you noticed.

Both CORS and CSP are for guarding against malicious code on the web, being executed by non-malicious standards-following browsers used by non-malicious users. (the user is in fact who is being attacked).

I think is frequently confused, and it leads to a mistake in the other direction, people thinking CORS or CSP can guard against malicious user-agents operated by malicious users. It is not for that!

There are no comments on this comment yet.