News for hackers. Stuff that matters.
Re:Tips to build a Content Security Policy (CSP) without bre... by politelemon on Saturday October 30, 2021 @06:10PM (#29052687)
I'm wary of #4, involving managing CSP dynamically. It feels like another moving part in an already complex ecosystem, another potential thing that could go wrong. Anyone else doing it the way shown there, unfounded concerns?
Re:Tips to build a Content Security Policy (CSP) without bre... by shaial on Sunday October 31, 2021 @01:48AM (#29054777)
I get your point. There is certainly a spectrum here. I can tell you (as the author) that for mission-critical assets with less 3rd party dependencies - I do see that most prefer to use the hard-coded or policy, or pull it via api per build in the CI/CD.

However for more dynamic websites (like blogs) that tend to have many 3rd party dependencies - It's very useful and effective to be able to update the policy with one click (or even automatically).

Re:Tips to build a Content Security Policy (CSP) without bre... by throwaway81523 on Saturday October 30, 2021 @06:22PM (#29052751)
Article is sploggy but the topic is worth knowing about. Maybe there is something better out there.
Re:Tips to build a Content Security Policy (CSP) without bre... by shaial on Sunday October 31, 2021 @01:48AM (#29054779)
How would you improve the content?