Joonasw.AspNetCore.SecurityHeaders 2.1.0

Middleware for adding security headers to an ASP.NET Core application. Allows you to easily add Content Security Policy, Strict Transport Security, and Public Key Pins to an app.

There is a newer version of this package available.
See the version list below for details.
Install-Package Joonasw.AspNetCore.SecurityHeaders -Version 2.1.0
dotnet add package Joonasw.AspNetCore.SecurityHeaders --version 2.1.0
<PackageReference Include="Joonasw.AspNetCore.SecurityHeaders" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Joonasw.AspNetCore.SecurityHeaders --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Joonasw.AspNetCore.SecurityHeaders, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Joonasw.AspNetCore.SecurityHeaders as a Cake Addin
#addin nuget:?package=Joonasw.AspNetCore.SecurityHeaders&version=2.1.0

// Install Joonasw.AspNetCore.SecurityHeaders as a Cake Tool
#tool nuget:?package=Joonasw.AspNetCore.SecurityHeaders&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added support for upgrade-insecure-requests and block-all-mixed-content CSP directives.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Joonasw.AspNetCore.SecurityHeaders:

Package Downloads
RezisFramework
Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Joonasw.AspNetCore.SecurityHeaders:

Repository Stars
exceptionless/Exceptionless
Exceptionless server and jobs

Version History

Version Downloads Last updated
3.0.0 317,090 10/24/2019
2.9.0 74,139 6/21/2019
2.8.1 69,578 1/1/2019
2.8.0 384 1/1/2019
2.7.0 47,483 8/11/2018
2.6.0 28,996 5/27/2018
2.5.1 3,773 5/1/2018
2.5.0 2,388 4/14/2018
2.4.1 666 4/14/2018
2.4.0 20,586 1/21/2018
2.3.0 1,444 1/6/2018
2.2.0 6,179 11/20/2017
2.1.0 6,456 10/29/2017
2.0.0 2,302 9/30/2017
1.1.2 14,243 7/14/2017
1.1.0 1,246 5/17/2017
1.0.1 2,908 1/23/2017
1.0.0 3,355 1/22/2017
Show less