Joonasw.AspNetCore.SecurityHeaders 4.0.1
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.
No packages depend on Joonasw.AspNetCore.SecurityHeaders.
Rename UseHsts to UseStrictTransportSecurity to remove conflict with framework counterpart.
.NET Core 3.1
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Razor (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.21)
- Microsoft.Extensions.Options (>= 3.1.21)
.NET 5.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Razor (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Options (>= 5.0.0)
.NET 6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Razor (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Options (>= 6.0.0)
Version | Downloads | Last updated |
---|---|---|
5.0.0 | 81 | 02/05/2024 |
4.0.1 | 33 | 07/19/2024 |
3.0.0 | 35 | 07/19/2024 |
2.9.0 | 33 | 07/19/2024 |
2.8.1 | 25 | 07/19/2024 |
2.8.0 | 25 | 07/19/2024 |
2.7.0 | 22 | 07/19/2024 |
2.6.0 | 28 | 07/19/2024 |
2.5.1 | 21 | 07/19/2024 |
2.5.0 | 24 | 07/19/2024 |
2.4.1 | 31 | 07/19/2024 |
2.4.0 | 24 | 07/19/2024 |
2.3.0 | 29 | 07/19/2024 |
2.2.0 | 37 | 07/19/2024 |
2.1.0 | 25 | 07/19/2024 |
2.0.0 | 24 | 07/19/2024 |
1.1.2 | 25 | 07/19/2024 |
1.1.0 | 26 | 07/19/2024 |
1.0.1 | 30 | 07/17/2024 |
1.0.0 | 25 | 07/19/2024 |