mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Add "Order" to assure that no parental "Allow" can grant access
Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
592eecdb7d
commit
c7e66ec848
1 changed files with 2 additions and 0 deletions
|
|
@ -547,6 +547,7 @@ class Setup {
|
|||
$content .= " Require all denied\n";
|
||||
$content .= "</IfModule>\n";
|
||||
$content .= "<IfModule mod_access_compat.c>\n";
|
||||
$content .= " Order Allow,Deny";
|
||||
$content .= " Deny from all\n";
|
||||
$content .= " Satisfy All\n";
|
||||
$content .= "</IfModule>\n\n";
|
||||
|
|
@ -554,6 +555,7 @@ class Setup {
|
|||
$content .= "<IfModule !mod_authz_core.c>\n";
|
||||
$content .= " <IfModule !mod_access_compat.c>\n";
|
||||
$content .= " <IfModule mod_authz_host.c>\n";
|
||||
$content .= " Order Allow,Deny";
|
||||
$content .= " Deny from all\n";
|
||||
$content .= " <IifModule>\n";
|
||||
$content .= " Satisfy All\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue