middleware/security_headers library

Classes

SecurityHeaders
Adds security headers to every answer. Each header has a safe default. Give your own value to change it, or null to turn it off. null also removes a header that the server sends by default, like X-Frame-Options: SAMEORIGIN.