Skip to main content
API Reference / modelence / server / SecurityConfig
SecurityConfig = object
Defined in: packages/modelence/src/app/securityConfig.ts:59 Security configuration for the application By default, every response carries:
  • Content-Security-Policy: frame-ancestors 'self' and X-Frame-Options: SAMEORIGIN, preventing the app from being embedded in iframes on other domains
  • X-Content-Type-Options: nosniff
  • Referrer-Policy: strict-origin-when-cross-origin
script-src and Strict-Transport-Security are opt-in.

Examples

Properties