Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware.AddHttpSecurityHeaders

Middleware component which replaces and adds common security related http headers.


Keywords
base-registries, base-registries-component
License
MIT
Install
Install-Package Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware.AddHttpSecurityHeaders -Version 4.0.0

Documentation

Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Middleware.AddHttpSecurityHeaders Build Status

Middleware component which replaces and adds common security related http headers.

Header Value
Server Vlaamse overheid
x-powered-by Vlaamse overheid - Basisregisters Vlaanderen
x-content-type-options nosniff
x-frame-options DENY
x-xss-protection 1; mode=block

Usage

public void Configure(IApplicationBuilder app, ...)
{
    app
        ...
        .UseMiddleware<AddHttpSecurityHeadersMiddleware>()
        ...
}