--- title: "Protect Against Clickjacking With Trusted Domains" slug: "protect-against-clickjacking-with-trusted-domains-1" updated: 2026-11-23T12:31:50Z published: 2026-11-23T12:31:50Z canonical: "support.gainsight.com/protect-against-clickjacking-with-trusted-domains-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.gainsight.com/llms.txt > Use this file to discover all available pages before exploring further. # Protect Against Clickjacking With Trusted Domains This article helps Admins configure Trusted Domains to protect against clickjacking in Gainsight CS This article helps admins configure the domains that are allowed to embed Gainsight CS. helping protect against clickjacking. ## Overview The Trusted Domains settings page lets you build a tenant-level allowlist of domains permitted to embed the Gainsight CS application and activate Content Security Policy (CSP) header enforcement with a single toggle. Once enabled, the browser blocks any domain not on the allowlist from embedding Gainsight CS in an iframe, protecting your customers against clickjacking attacks. Salesforce, Zendesk, and Dynamics are automatically included in the trusted domains list so that Gainsight widgets continue to work across those platforms without any additional configuration. > [!NOTE] > Note > > Turning on the CSP enforcement toggle takes effect immediately. Any domain not on the allowlist is blocked from embedding the application at that point. Add all required domains to the list before enabling enforcement. ## Add Trusted Domains Domains on the allowlist are permitted to embed the Gainsight application in an iframe. To include the domains as trusted domains in your instance: 1. Navigate to **Administration** > **Security**, and click the **Trusted Domains** tab. ![Trusted Domains landing page](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Trusted_Domains.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A50%3A55Z&se=2026-11-24T19%3A50%3A55Z&sr=b&sp=r&sig=dNsldzawerzYa3Ee%2Bd1UY6GwnI6%2FP9U%2B8bIphyASP2U%3D) 2. Click **Add Domain** to add a URL as a trusted domain. 3. In the **Domain** text field, enter the domain URL. For example, `*.abbett.com` 4. Click **Save** to add the URL to the list of trusted domains. 5. Turn on the **Enable CSP Headers** toggle. When enabled, only trusted domains can embed Gainsight pages in an iframe. All other domains are blocked. ![example domain added](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/example_domain.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A50%3A55Z&se=2026-11-24T19%3A50%3A55Z&sr=b&sp=r&sig=udtR%2FDh8uTJ2dCtPaY3mu7atggNGrTCAEBr%2Fj22kJtE%3D) ## Edit Domains You can edit the domains as required. To edit an existing domain: 1. Navigate to **Administration** > **Security**, and click the **Trusted Domains** tab. 2. Click **Edit** next to the domain. The Domain textfield is enabled for changes. 3. Modify the domain as required, and click **Save**. ![Edit Domains](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Edit_Domains.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A50%3A55Z&se=2026-11-24T19%3A50%3A55Z&sr=b&sp=r&sig=9DL1t6wXBwpCHnk1b125fO4mR8aTKMAQCLce57DopIE%3D) ## Delete Domains You can delete any existing domain from the trusted list. To delete a domain: 1. Navigate to **Administration** > **Security** and click the **Trusted Domains** tab. 2. Click **Delete** next to the domain. The Domain is deleted from the list. ![Delete Domains](https://cdn.us.document360.io/8e136619-829c-49c5-afb1-72de86f13288/Images/Documentation/Delete_Domains.jpg?sv=2026-02-06&spr=https&st=2026-11-24T18%3A50%3A55Z&se=2026-11-24T19%3A50%3A55Z&sr=b&sp=r&sig=qCaHTti6dGu5rFZSk9chNU7xv6jI6UsCZvbC8NWsbcg%3D)