Implementing Content Security Policy (CSP)

Instructions on how to implement the CSP header for your Feed.

1. Get your Curator Feed Public Key

  • Log in to your Curator Account
  • Navigate to the feed you wish to embed
  • Copy the Feed Public Key which can be found under Publish Page of your respective Feed (see screenshot below)

2. Add the CSP Header to Your Server Configuration

Add the following CSP header to your server configuration:

Content-Security-Policy: style-src 'self' 'nonce-curator-<feed-public-key>';

Note: Replace <feed-public-key> with your actual Curator Feed Public Key.

If you are embedding multiple Feeds, include each Feed in the CSP header:

Content-Security-Policy: style-src 'self' 'nonce-curator-<feed-public-key1>' 'nonce-curator-<feed-public-key2>' 'nonce-curator-<feed-public-key3>';
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us