NWebsec.Owin (ASP.NET 4)¶
NWebsec.Owin provides OWIN middleware that lets you output HTTP security headers. It currently supports:
In addition, it provides middleware for redirect validation.
You’ll notice that not all features from the NWebsec (ASP.NET 4) library are available yet, e.g. cache-headers, these are under consideration.
NWebsec.Owin depends on the OWIN NuGet package and the OWIN IAppBuilder startup interface defined there. It does not have any Katana (MSFTs OWIN libraries) dependencies. The idea is to be able to support other OWIN host implementations as they become available.
Note that the middleware has been developed and tested under Katana.