Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

What does the frame-ancestors setting do in Aegisify Shield?

frame-ancestors decides which websites are allowed to show your pages inside a frame (<iframe>). In Aegisify Shield → Security Headers → CSP Builder → Where your site may be embedded (Pro), you list allowed parent sites.

Why it matters

Clickjacking tricks visitors by loading your site invisibly inside another page and getting them to click buttons they cannot see. Restricting framing stops it.

Default behavior

By default, the policy restricts framing to your own site. That matches Shield’s standard X-Frame-Options: SAMEORIGIN header, which is sent whenever security headers are enabled.

When to add sites

Only add origins that genuinely need to embed your pages, for example:

  • A partner portal that shows your booking form.
  • Your own other domain that displays your content.

Enter one origin per line, such as https://partner.example.com. Use 'none' if your site should never be framed, even by itself.

Mode

Like other builder directives, it can be Disabled, Report-Only, or Enforced. Start with Report-Only if you are not sure who embeds your site.

Avoid broad values

Allowing every HTTPS site defeats the purpose and weakens clickjacking protection.

Related: Enable security headers, CSP Builder mode.

2026-12-01T03:49:28+00:00January 13th, 2026||

Find this article interesting, please share.