3

Security & Deployment Documentation

Production-grade security headers and deployment configuration for AEGIS™ DTM Platform

TLS 1.3
CSP Enabled
Production Ready
Security Headers Configuration

CRITICAL: ATHENA Voice AI Requirements

The microphone=(self) permission is REQUIRED for ATHENA Voice AI functionality. Do NOT set to microphone=().

Create: /etc/nginx/security-headers.conf

# Content Security Policy - Adjusted for Aegis Requirements
add_header Content-Security-Policy "
  default-src 'self';
  script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://www.gstatic.com;
  style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;
  img-src 'self' data: https: blob:;
  font-src 'self' https://fonts.gstatic.com data:;
  connect-src 'self' https: wss: https://qtrypzzcjebvfcihiynt.supabase.co https://api.openai.com;
  media-src 'self' blob:;
  worker-src 'self' blob:;
  frame-src 'self' https://chatgpt.com https://www.google.com;
  frame-ancestors 'none';
  base-uri 'self';
  form-action 'self';
  upgrade-insecure-requests;
" always;

# HSTS - Force HTTPS
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;

# Prevent MIME type sniffing
add_header X-Content-Type-Options "nosniff" always;

# Clickjacking protection
add_header X-Frame-Options "DENY" always;

# Referrer policy
add_header Referrer-Policy "strict-origin-when-cross-origin" always;

# Permissions Policy - CRITICAL: Allow microphone for ATHENA Voice AI
add_header Permissions-Policy "
  geolocation=(),
  microphone=(self),
  camera=(),
  usb=(),
  payment=(),
  accelerometer=(),
  gyroscope=(),
  magnetometer=(),
  fullscreen=(self),
  picture-in-picture=(self)
" always;

# Cross-Origin policies
add_header Cross-Origin-Embedder-Policy "require-corp" always;
add_header Cross-Origin-Opener-Policy "same-origin" always;
add_header Cross-Origin-Resource-Policy "same-origin" always;

# Remove server signature
server_tokens off;

# Additional security headers
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;

Security Features

  • ✓ HSTS with preload
  • ✓ XSS protection
  • ✓ Clickjacking prevention
  • ✓ MIME-type sniffing blocked
  • ✓ TLS 1.3 enforced

CSP Whitelist

  • • CDN: cdn.jsdelivr.net
  • • Fonts: googleapis.com
  • • Storage: supabase.co
  • • API: openai.com
  • • Frames: chatgpt.com

Compliance Coverage

NIST CSF
GDPR
ISO 27001
SOC 2
HIPAA Ready

Need Help?

Contact GCTI® Security Team for deployment assistance