# HttpHeaderCollection.XFrameOptions

Kind: Property  
Namespace: `Sisk.Core.Entity`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Entity.HttpHeaderCollection.XFrameOptions.html

## XFrameOptions {#Sisk_Core_Entity_HttpHeaderCollection_XFrameOptions}

Gets or sets the value of the HTTP X-Frame-Options header.

Used to control whether a browser should be allowed to render a page in a iframe, frame, embed or object tag, helping to prevent clickjacking attacks.

```csharp
public string? XFrameOptions { get; set; }
```

### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)?
