# HttpHeaderCollection.ContentSecurityPolicy

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

## ContentSecurityPolicy {#Sisk_Core_Entity_HttpHeaderCollection_ContentSecurityPolicy}

Gets or sets the value of the HTTP Content-Security-Policy header.

Defines security policies for the content, helping to prevent cross-site scripting (XSS) and other code injection attacks.

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

### Property Value

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