Add HSTS and security headers for AI Studio custom domains
N
Nicholas Scalice
AI Studio sites on custom domains don't send HSTS or the standard security headers, and there's no setting to turn them on. HTTP to HTTPS redirects and SSL work fine, but agencies whose clients get security reviews, such as IT, legal, healthcare and finance, keep getting flagged for missing headers. Please add a per-domain toggle in AI Studio and Domain Settings for:
- Strict-Transport-Security (for example max-age=31536000, with an optional includeSubDomains)
- Content-Security-Policy, or at least frame-ancestors
- X-Frame-Options
- X-Content-Type-Options: nosniff
- Referrer-Policy
- Permissions-Policy
The platform already sends HSTS on some hostnames, such as the brand subdomain, so this looks like a matter of exposing it for site domains. Secure defaults with the option to customize would be ideal.
Log In