security::csp::require (public)

 security::csp::require [ -force ] directive value

Defined in packages/acs-tcl/tcl/security-procs.tcl

Add a single value directive to the CSP rule-set. The directives are picked up, when the page is rendered, by the CSP generator.

Switches:
-force (optional, boolean)
Parameters:
directive (required)
name of the directive (such as e.g. style-src)
value (required)
allowed source for this page (such as e.g. unsafe-inline)
Author:
Gustaf Neumann
See Also:

Partial Call Graph (max 5 caller/called nodes):
test_file_storage_zip_download_ui file_storage_zip_download_ui (test file-storage) security::csp::require security::csp::require test_file_storage_zip_download_ui->security::csp::require

Testcases:
file_storage_zip_download_ui
[ show source ]
Show another procedure: