Merge branch 'feature/6548_Hide_DBHost_and_DBUser_in_log' into support/2.7

This commit is contained in:
Eric Espie
2023-07-18 09:34:48 +02:00
parent d388ce9a06
commit da45651121
3 changed files with 23 additions and 0 deletions

13
log/.htaccess Normal file
View File

@@ -0,0 +1,13 @@
# Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# Apache 2.2 and 2.4
IndexIgnore *

2
log/index.php Normal file
View File

@@ -0,0 +1,2 @@
<?php
echo 'Access denied';

8
log/web.config Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<authorization>
<deny users="*" /> <!-- Denies all users -->
</authorization>
</system.web>
</configuration>