The Content Security Policy enables you to effectively prevent cross-site scripting and other attacks aimed at infiltrating data into your web applications. You can customize the Content Security Policy settings at any time.
Required configuration keys:
-
Content security policy for HTML applications (ContentSecurityPolicy): Specifies which settings are transferred to the content-security-policy header and therefore apply to the Content Security Policy.
To configure Content Security Policy for all web applications
-
Log in to the Administration Portal (see Logging in to the Administration Portal).
-
In the navigation, click Configuration.
-
On the Configuration page, in the Show configuration for the following API project drop-down, select the API Server API project.
-
Expand the Content security policy for HTML applications configuration parameter.
-
In the Value field, enter which settings are to be transferred to the content-security-policy header and therefore apply to the Content Security Policy.
-
Click Apply.
-
Perform one of the following actions:
-
If you want to apply the changes locally only, click Apply locally.
-
If you want to apply the changes globally, click Apply globally.
-
-
Click Apply.