Content Security Policy (CSP) HTTP Header is a response security header. This header is a part of the Shield's HTTP Headers module. Based on its settings, it can happen that you are unable to edit your site content, or some content being missing - CSP is blocking the content loading. There's nothing to worry about as this is CSP's normal behavior - it tries to protect your site content loading from the malicious sources. 

So, when it happens that something is blocking your site content loading, the first thing to do is to determine exactly what's being blocked - use your Console on your web browser for that.

How to unblock your site content loading


We set the following security headers directives:

We set ' self ' directive for the CSP security header, which means "only permit content loaded from the site host" - block all other sources. 

Here is an example of the content blocked due to the ' self ' security directive (Web Console blocking errors screenshot)

As we can see, the font source "" is blocked because it violates the CSP ' self ' directive we set with CSP security header.

How to unblock this source

To unblock this source, we just need to whitelist it by using the option "Permitted Hosts and Domains". (See here)

Here is an additional example (the same CSP security headers directives set)

Web Console displays the following blocking error:

"Content Security Policy: The page’s settings blocked the loading of a resource at (“default-src data: 'unsafe-inline' 'unsafe-eval'”)."

Blocking error explanation:
We've whitelisted our domain as a trustful images loading source "":

Images loading from all other sources will be blocked, including the source

To solve this blocking error, review the source, and if it's trustful, whitelist it by adding into the "Permitted Hosts and Domains" field:

After whitelisting, the source will be included in the CSP security response headers directives - content loading from "" domain will be allowed:

"Content-Security-Policy: default-src 'self' data: 'unsafe-inline' 'unsafe-eval';"

Important: Always whitelist the trustful sources only.

Note: If you're unfamiliar with all of the above, you may have to disable the CSP. Please see here.

We also recommend you to read the following articles: