Content Security Policy


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') }}" />

Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


Information

  • Version 1.0.0
  • Last Update 3/16/2020
  • Active Installs 1
  • Compatibility Craft 3
  • License MIT
  • Categories Security

Report an issue