Umbraco.Community.CSPManager 17.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Umbraco.Community.CSPManager --version 17.0.0
                    
NuGet\Install-Package Umbraco.Community.CSPManager -Version 17.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Umbraco.Community.CSPManager" Version="17.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Umbraco.Community.CSPManager" Version="17.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Umbraco.Community.CSPManager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Umbraco.Community.CSPManager --version 17.0.0
                    
#r "nuget: Umbraco.Community.CSPManager, 17.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Umbraco.Community.CSPManager@17.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Umbraco.Community.CSPManager&version=17.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Umbraco.Community.CSPManager&version=17.0.0
                    
Install as a Cake Tool

Umbraco.Community.CSPManager

OpenSSF Best Practices Build Platform GitHub license NuGet Downloads

A Content Security Policy management package for Umbraco CMS. Manage CSP headers for both frontend and backoffice through an intuitive backoffice interface.

Features

  • Frontend & Backoffice CSP Management — Configure separate policies for your site frontend and Umbraco backoffice
  • Intuitive Backoffice Interface — Easy-to-use management screens within the Umbraco backoffice
  • Policy Import — Paste an existing CSP header value to import it directly into the backoffice
  • CSP Evaluation Tools — Test and validate your policies before deployment
  • Nonce Support — Built-in tag helpers for script, style, and link nonces
  • Flexible Configuration — Customise CSP directives to match your requirements
  • Notification Events — Extend behaviour with CspWritingNotification and CspSavedNotification
  • uSync Integration — Sync CSP policies across environments using uSync

Installation

dotnet add package Umbraco.Community.CSPManager

The package registers itself automatically via Umbraco's composer system. No additional setup is required.

Policy management screen

Full documentation: matthew-wise.github.io/Umbraco-CSP-manager

uSync Integration

Package Purpose
Umbraco.Community.CSPManager.uSync Automatically includes CSP definitions in uSync export/import cycles
Umbraco.Community.CSPManager.uSync.Complete Adds Push/Pull actions via uSync Publisher for on-demand environment sync

Contributing

Contributions are welcome! Please read our Contributing Guidelines and feel free to submit issues and pull requests.

License

This project is licensed under the MIT License — see the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Umbraco.Community.CSPManager:

Package Downloads
Umbraco.Community.CSPManager.uSync

uSync support for Umbraco.Community.CSPManager

Umbraco.Community.CSPManager.uSync.Complete

uSync Complete (Publisher) support for Umbraco.Community.CSPManager

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.0.1 1,144 5/3/2026
17.0.0 276 4/26/2026
17.0.0-beta.1 88 4/7/2026
3.0.0 7,696 12/17/2025
2.1.0 2,205 9/7/2025
2.0.2-alpha 302 8/19/2025
1.4.2 24,435 3/17/2025
1.4.1 15,664 9/8/2024
1.4.0 566 8/23/2024
1.3.1-beta 405 5/2/2024
1.3.0-beta 312 4/5/2024
1.2.1 11,989 3/26/2024
1.2.0 7,667 10/26/2023
1.1.0-alpha 2,777 3/7/2023
1.0.1-alpha 466 1/11/2023
1.0.0-alpha 346 1/6/2023