summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2019-09-26 12:37:07 +0200
committerGitHub <noreply@github.com>2019-09-26 12:37:07 +0200
commit592eecdb7d6b469515cb4231056a8208a548d0aa (patch)
tree26fccc1290fd0312dbb92be91f9ffe5d8506fc67 /config
parent241145508844532d2d0f530c0dc09cce1aad4ba0 (diff)
downloadnextcloud-server-592eecdb7d6b469515cb4231056a8208a548d0aa.tar.gz
nextcloud-server-592eecdb7d6b469515cb4231056a8208a548d0aa.zip
Add "Order" to assure that no parental "Allow" can grant access
Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'config')
-rw-r--r--config/.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/.htaccess b/config/.htaccess
index eda29a03ee9..13ca28758cf 100644
--- a/config/.htaccess
+++ b/config/.htaccess
@@ -3,6 +3,7 @@
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
+ Order Allow,Deny
Deny from all
Satisfy All
</IfModule>
@@ -11,6 +12,7 @@
<IfModule !mod_authz_core.c>
<IfModule !mod_access_compat.c>
<IfModule mod_authz_host.c>
+ Order Allow,Deny
Deny from all
</IfModule>
Satisfy All