Skip to content

Security Policy

You can set the Content Security Policy header as a response header. You can also configure a report submission endpoint to send violation information to the server when unauthorized resources are loaded. This feature was added in [v3.3.0].

Security Policy

You can enable the security policy by setting it to Enabled and deploying the application.

CSP Directives

You can allow the browser to load content. The following settings are available by default:

NoDirectiveValue
1default-src’self’
2script-src’self’ ‘wasm-unsafe-eval’ cdn.dhtmlx.com
3connect-src’self’ ‘wasm-unsafe-eval’ cdn.dhtmlx.com
4font-src’self’ ‘wasm-unsafe-eval’ cdn.dhtmlx.com
5object-src’self’ *.webperformer.jp
6frame-srcwww.google.com www.gstatic.com
7img-src’self’ data: *.webperformer.jp
8style-src’self’ ‘unsafe-inline’ fonts.googleapis.com cdn.dhtmlx.com
9frame-ancestors’none’
10worker-src’self’ blob:

Report Submission Endpoint

You can configure a report submission endpoint by setting it to Enabled and deploying the application.

Configuration Method

When using the report submission feature, you need to specify the endpoint name set in the CSP directive report-to value.