---
title: "Set Security Response Headers"
description: "Configure HSTS and X-Frame-Options for a published app under More → Security. Confirmation prompts surface the caching trade-offs before you save."
image: "https://hercules.app/changelog-images/security-response-headers/headers.png"
---

# Set Security Response Headers

- **Published:** May 8, 2026
- **URL:** https://hercules.app/changelog/security-response-headers

![Security settings panel with HSTS Max age 12 months, includeSubDomains and Preload toggled on, and X-Frame-Options set to SAMEORIGIN](https://hercules.app/changelog-images/security-response-headers/headers.png)

You can now make your app more secure by configuring security response headers in **More → Security**.

Your options include:

- **HSTS for HTTPS-only browsing.** Turn on Strict-Transport-Security with a max-age you choose, optionally apply to subdomains, and opt in to the browser preload list.
- **X-Frame-Options control.** Set `DENY` or `SAMEORIGIN` to control whether other sites can embed your app in an iframe.
- **Safety checks.** Enabling HSTS prompts a confirmation that explains the HTTPS lock-in and caching implications before you commit.

To get started, open **More → Security** in the App Builder sidebar.

## More updates

- Newer: [Passkeys for Your Users](https://hercules.app/changelog/passkeys-for-your-users) (May 8, 2026)
- Older: [Upgrade to Hercules Auth 2.0](https://hercules.app/changelog/hercules-auth-2-upgrade) (May 5, 2026)
- [All updates](https://hercules.app/changelog)

```json
[
  {
    "@context": "https://schema.org",
    "@type": "BlogPosting",
    "headline": "Set Security Response Headers",
    "description": "Configure HSTS and X-Frame-Options for a published app under More → Security. Confirmation prompts surface the caching trade-offs before you save.",
    "datePublished": "2026-05-08",
    "dateModified": "2026-05-08",
    "image": "https://hercules.app/changelog-images/security-response-headers/headers.png",
    "mainEntityOfPage": {
      "@type": "WebPage",
      "@id": "https://hercules.app/changelog/security-response-headers"
    },
    "author": {
      "@type": "Organization",
      "name": "Hercules",
      "url": "https://hercules.app"
    },
    "publisher": {
      "@type": "Organization",
      "name": "Hercules",
      "url": "https://hercules.app",
      "logo": {
        "@type": "ImageObject",
        "url": "https://hercules.app/logo-128.png"
      }
    },
    "inLanguage": "en-US"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://hercules.app"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Changelog",
        "item": "https://hercules.app/changelog"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Set Security Response Headers",
        "item": "https://hercules.app/changelog/security-response-headers"
      }
    ]
  }
]
```
