Skip to content

Informatievlaanderen/http-security-headers-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>()
        ...
}

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors