Getting Started
Installation
Install the main package via the .NET CLI:
dotnet add package Umbraco.Community.CSPManager
Or via the NuGet Package Manager Console:
Install-Package Umbraco.Community.CSPManager
The package registers itself automatically via Umbraco’s composer pattern — no additional configuration in Program.cs or Startup.cs is required.
Quick Start
- Install the package using the command above
- Build and run your Umbraco application
- Navigate to the CSP Management section in the Umbraco backoffice left-hand navigation
- Configure your Content Security Policies for frontend and/or backoffice
- Test your configuration using the built-in evaluation tools
Requirements
- Umbraco 17+
- .NET 10+
Next Steps
- Policy Management — Learn how to add and manage CSP sources and directives
- Policy Settings — Configure report-only mode, reporting endpoints, and more
- Nonce Tag Helper — Add nonces to your script and style tags
- Configuration — Application-level configuration options