CSP
Content-Security-Policy headers with per-request nonce for Kirby, following Google's strict CSP guidance.
Features
- Opt-in and per-host
- Disabled by default, enable per environment via config.{host}.php
- Report-only rollout
- Test a policy against real traffic before enforcing.
- Per-request nonce
- cspNonce() helper for inline scripts, Vite tags and third-party snippets.
- Panel-safe
- The header is only sent on frontend routes; Panel, API and media are left untouched.
Info
- Topics
Similar plugins
-
Language Access Controls which languages are visible on the frontend and who can edit them in the Panel. Frontend visitors only see the languages you've enaβ¦
-
OAuth 2.0 Interface to use OAuth 2.0 providers for user authentication
- libvips Thumbnail Driver A thumbnail / darkroom driver for Kirby using the libvips image manipulation library. It can be faster and more resource-efficient than GD/Iβ¦