--- title: "Enable Content Security Policy (CSP)" slug: "enable-content-security-policy-csp" updated: 2026-01-04T05:21:38Z published: 2026-01-04T05:21:38Z canonical: "kb.ctera.com/enable-content-security-policy-csp" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.ctera.com/llms.txt > Use this file to discover all available pages before exploring further. # Enable Content Security Policy (CSP) The following is available from CTERA Portal version 8.1.1417.12. Content Security Policy (CSP) can help protect CTERA Portal when a secure policy is defined. The policy must prevent the execution of untrusted scripts using CSP. When CSP is enabled on the CTERA Portal, every request that goes through the portal server has a CSP with strict rules. **Note** In some cases, where *strict* is colliding with GUI functionalities, the CSP is less strict. All CTERA Portal responses use a strict CSP except for the following pages, where a less strict CSP is enforced: - /ServicesPortal/pcc-viewer-frame.html - /staff/pcc-viewer-frame.html - /admin/pcc-viewer-frame.html - /invitations/pcc-viewer-frame.html - /admin/dialog.html - /admin/index.old.html - /admin/setup.html, - /ServicesPortal/admin.old.html - /ServicesPortal/dialog.html - /admin/login.old.html - /ServicesPortal/login.old.html - /ServicesPortal/page.html - /staff/dialog.html - /staff/login.old.html - /common/portalbeta/templates/filePreview/file.preview.print.template.tpl.html - /admin/preview - /ServicesPortal/preview - /staff/preview Enabling CSP does not require any additional CTERA resources. ## Step-by-step guide 1. Log in to the portal as a global administrator and enter the following URL in the address bar of the browser: `https://<portalAddress>/admin/#/$/control-panel/view/cli` The **CLI Execution** window is displayed. 2. In the **CLI Execution** window, enter the following command: `set /settings/contentSecurityPolicySettings/enableSecuredCspRules true` and click **GO**. 3. After the command is successful, restart the portal.