Content Security Policy icon

Content Security Policy

This plugin is no longer maintained.

Content Security Policy (or CSP) generator using nonces. Either config using config/content-security-policy.php or use nonces:

<script src="url/of/script.js" nonce="{{ cspNonce('script-src') }}"></script>
<link href="url/of/style.css" rel="stylesheet" nonce="{{ cspNonce('style-src') }}" />
Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
116
Version
3.0.0
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
August 20, 2024
Categories
Activity (30 days)
1
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs