mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00: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
@ -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 New Issue
Block a user