Categories: None [Edit]

csp_maker

https://rubygems.org/gems/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.

Total

Ranking: 185,686 of 195,762
Downloads: 1,276

Daily

Ranking: 60,205 of 195,747
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
121,323,948,736rack

Owners

#GravatarHandle
1iconmackuba