> For the complete documentation index, see [llms.txt](https://docs.enate.net/enate-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enate.net/enate-help/builder/builder-2021.1/system-wide-settings/custom-content-security-policy-settings.md).

# Custom Content Security Policy Settings

You can configure your company's CSP directives controlling resource loading and enhanced security via the custom content security policy settings in Builder.

<figure><img src="/files/Wr76izfCPsgU4SmHwZEA" alt=""><figcaption></figcaption></figure>

The Content Security Policy section can be found in the Settings area of Builder.&#x20;

<figure><img src="/files/yzvRirLHGqNATMwToZPG" alt=""><figcaption></figcaption></figure>

### Supported CSP Directives

The CSP directives that you can configure are listed below:

| <p><br>default-src</p> | Default policy for loading content such as JavaScript, Images, CSS, Fonts, AJAX requests, Frames, HTML5 Media, and Object resources. |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| connect-src            | Valid sources for XMLHttpRequest, WebSocket, and EventSource connections                                                             |
| font-src               | Valid sources for fonts                                                                                                              |
| frame-src              | Valid sources for nested browsing contexts loading using elements such as \<frame> and \<iframe>                                     |
| img-src                | Valid sources for images                                                                                                             |
| object-src             | Valid sources for \<object>, \<embed>, and \<applet> elements                                                                        |
| script-src             | Valid sources for JavaScript                                                                                                         |
| style-src              | Valid sources for stylesheets                                                                                                        |
| manifest-src           | Valid sources for web app manifests                                                                                                  |
| prefetch-src           | Valid sources for \<link rel='prefetch'> elements                                                                                    |
| worker-src             | Valid sources for Worker, SharedWorker, or ServiceWorker scripts                                                                     |
| media-src              | Valid sources for \<audio> and \<video> elements                                                                                     |

You can add and remove values for each directive whenever you need.

<figure><img src="/files/GuxWf6KwSLxtBkDK2aJo" alt=""><figcaption></figcaption></figure>

When you have added directive values, you will see a generated CSP header in the Policy Preview field at the foot of the Content Security Policy section.

<figure><img src="/files/mtWcPXqZlHPEdphRBSdn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.enate.net/enate-help/builder/builder-2021.1/system-wide-settings/custom-content-security-policy-settings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
