OptionalcontentContent Security Policy value. Disabled by default because browser apps need an app-owned asset, image, frame, and script policy.
OptionalcrossCross-Origin-Opener-Policy value.
Defaults to "same-origin".
OptionalcrossCross-Origin-Resource-Policy value.
Defaults to "same-origin".
OptionalpermissionsPermissions-Policy value.
Defaults to disabling camera, microphone, and geolocation.
OptionalreferrerReferrer-Policy value.
Defaults to "strict-origin-when-cross-origin".
OptionalstrictStrict-Transport-Security value. Pass a string for full control or an object for Beignet to format the header. Disabled by default.
OptionalxX-Content-Type-Options value.
Defaults to "nosniff".
OptionalxX-Frame-Options value.
Defaults to "DENY". Use contentSecurityPolicy with frame-ancestors
for more precise frame control.
Response security headers applied by
createSecurityHeadersHooks(...).Headers are only added when the response does not already define the same header name. Route handlers can therefore opt into route-specific CSP or download headers without fighting the global hook.