---
title: Frame Ancestors None
description: When 1, the agent sets the frame-ancestors directive to none in the Content Security Policy (CSP) header for agent responses. This directive prevents the page from being rendered in a frame, iframe, embed, or object. When 0, the agents sets the frame-ancestors directive in the CSP header according to the setting of the Frame Ancestors Sources property.
component: web-agents
version: 2025.11
page_id: web-agents:properties-reference:com.forgerock.agents.csp.frame.ancestors.none
canonical_url: https://docs.pingidentity.com/web-agents/2025.11/properties-reference/com.forgerock.agents.csp.frame.ancestors.none.html
---

# Frame Ancestors None

When `1`, the agent sets the `frame-ancestors` directive to `none` in the Content Security Policy (CSP) header for agent responses. This directive prevents the page from being rendered in a frame, iframe, embed, or object. When `0`, the agents sets the `frame-ancestors` directive in the CSP header according to the setting of the [Frame Ancestors Sources](com.forgerock.agents.csp.frame.ancestors.sources.html) property.

Default: `0`

|                    |                                                                                  |
| ------------------ | -------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.csp.frame.ancestors.none`   Introduced in Web Agent 2025.3 |
| Function           | Content Security Policy                                                          |
| Type               | Integer                                                                          |
| Bootstrap property | Yes                                                                              |
| Required property  | No                                                                               |
| Restart required   | No                                                                               |
