News for hackers. Stuff that matters.
Re:Stealing Data with CSS: Attack and Defense by anglebracket on Friday February 16, 2018 @10:54PM (#16398880)
Generally if you have a CSP without `unsafe-inline` you'd have have a policy that would restrict all subresources (`default-src 'none'`,) then punch holes in the policy by resource type (`img-src`, `script-src`, etc.)

For ex. if you have a proper CSP with `default-src 'none'` you should be fine so long as you didn't allow `*` or `unsafe-inline` in any of the other `<X>-src` directives.

There are no comments on this comment yet.