From e72c42924a418d6df364b0b321dec4bf752a5503 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 22 Apr 2024 11:08:41 +0200 Subject: [PATCH] Disallow external files to mount local storage --- templates/application/config.php.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/application/config.php.erb b/templates/application/config.php.erb index 565eea3..1ded59e 100644 --- a/templates/application/config.php.erb +++ b/templates/application/config.php.erb @@ -39,6 +39,7 @@ $CONFIG = array ( <% if @location == 'sunet-test' -%> 'filelocking.debug' => true, <% end -%> + 'files_external_allow_create_new_local' => false, 'forcessl' => true, 'gs.enabled' => '<%= @gs_enabled %>', 'gs.federation' => '<%= @gs_federation %>',