The Content Security Policy middleware for ASP.NET Core adds the Content-Security-Policy HTTP response header to reduce the risks of XSS attacks on modern browsers.
Info
| Version: | 2.0.0-alpha1 |
| Author(s): | Erwin de Vreugd |
| Last Update: | Sunday, August 6, 2017 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/erwindevreugd/ContentSecurityPolicy/ |
| NuGet Url: | https://www.nuget.org/packages/ContentSecurityPolicy |
Install
Install-Package ContentSecurityPolicy
dotnet add package ContentSecurityPolicy
paket add ContentSecurityPolicy
ContentSecurityPolicy Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 1.6
- NETStandard.Library(>= 1.6.1)
- Microsoft.AspNetCore.Http.Abstractions(>= 1.1.1)
- Microsoft.AspNetCore.Http.Abstractions(>= 1.0.0)
- Microsoft.AspNetCore.Http.Abstractions(>= 1.0.0)
- Microsoft.AspNetCore.Http.Abstractions(>= 1.0.0)
- Microsoft.AspNetCore.Http.Abstractions(>= 1.1.1)
Tags