Sitefinity Content Security Policy Setting

There is an option to update CSP rule in backend dashboard setting from Sitefinity v11 onwards, under
/Sitefinity/Administration/Settings/Basic/WebSecurityBasicSettings

Please avoid remove the default CSP rule as it has high chance you will break Sitefinity frontend / backend unwillingly.

Example front-end broken:

Example back-end broken:

How to fix it?

Download this zip and amend the script (to your desired CSP rules).
Then, execute the script in your database instance.

Related article:

https://knowledgebase.progress.com/articles/Article/content-security-policy-http-header

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s