Project
csp_maker
CSP Maker lets you define a Content Security Policy using a DSL and encode it into a header string.
It has support for nonces, and includes a Rack middleware that automates generating and assigning
the header.
The code was extracted from ActionDispatch::ContentSecurityPolicy in Rails ActionPack, with some
minor modifications. The DSL as described in Rails docs should be usable 1:1 here.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Development
Licenses
MIT
Dependencies
Runtime
~> 3.0