Show HN: A builder tool to help generate CSPs in a type-safe way
1–3 of 3 posts
Re: Show HN: A builder tool to help generate CSPs in a type-safe way
#2I've also made something on the same lines as this, although not as a complete tool like yours. Essentially I have a default policy for my site, but I can manually override individual directives on a per-page basis. I called it 'CSP Extreme': https://www.jamieweb.net/blog/taking-content-security-policy...
Re: Show HN: A builder tool to help generate CSPs in a type-safe way
#3This looks good - it's great to see development in the CSP space since it's such as great yet not widely used feature. I've also made something on the same lines as this, although not as a complete tool like yours. Essentially I have a default policy for my site, but I can manually override individual directives on a per-page basis. I called it 'CSP Extreme': https://www.jamieweb.net/blog/taking-content-security-poli…
So far, I've created this tool to help me with it's usage (See https://github.com/pgilad/www.giladpeleg.com/blob/master/scr...), but the best feature is by far using Typescript (I considered using Java) for typed directives and sources.