Middleware
security:csrf
This middleware is a tiny wrapper around Koa CSRF: it provides CSRF support for your application.
security:helmet
Helmet is a collection of 12 middleware to help set some security headers.
This CUK middleware is a tiny wrapper arround koa-helmet which is Koa implementation of the fore mention middleware.
Use security:helmet<Name>
instead to get the standalone version, where name is one of the keys in options.
security:contentSecurityPolicy
This is the standalone version of helmet's Content Security Policy.
security:dnsPrefetchControl
This is the standalone version of helmet's DNS Prefetch Control.
security:expectCt
This is the standalone version of helmet's Expect CT.
security:frameguard
This is the standalone version of helmet's Frameguard.
security:hidePoweredBy
This is the standalone version of helmet's Hide Powered By.
security:hpkp
This is the standalone version of helmet's HPKP.
security:hsts
This is the standalone version of helmet's HSTS.
security:ieNoOpen
This is the standalone version of helmet's IE No Open.
security:noCache
This is the standalone version of helmet's No Cache.
security:noSniff
This is the standalone version of helmet's No Sniff.
security:referrerPolicy
This is the standalone version of helmet's Referrer Policy.
security:xssFilter
This is the standalone version of helmet's XSS Filter
Last updated