diff --git a/config/config.apps.sample.php b/config/config.apps.sample.php index 31e0c6b5351f..fddcdbb5de82 100644 --- a/config/config.apps.sample.php +++ b/config/config.apps.sample.php @@ -75,6 +75,25 @@ */ 'files_antivirus.av_cmd_options' => '', +/** + * App: Files PDF Viewer + * + * Possible key: `files_pdfviewer.enableScripting` STRING + * + * PDF files may contain JavaScript which for example can be necessary to process editable fields. + * Under normal circumstances and for security reasons, scripts are not allowed to be processed. To allow + * processing these scripts, the following config key can be set. Note that enabling scripting can be + * a major security issue and should be considered as possible thread vector. + * + */ + +/** + * Enable Scripting in PDF files. + * To enable scripting in PDF files, set the value to 'yes'. Any other value will be treated + * as disable scripting. + */ +'files_pdfviewer.enableScripting' => '', + /** * App: Files Versions *