added .htaccess to prevent unauthorized access

This commit is contained in:
Krehan Tim 2018-11-12 13:30:54 +01:00
parent 413c026dc7
commit ddbdcaa728
2 changed files with 20 additions and 1 deletions

View file

@ -1 +1,4 @@
# prevent access to these files while not logged in
<files "*.php">
Require all denied Require all denied
</files>

16
php/.htaccess Normal file
View file

@ -0,0 +1,16 @@
# prevent access to these files while not logged in
<files "classes.*.php">
Require all denied
</files>
<files "auth.php">
Require all denied
</files>
<files "connect.php">
Require all denied
</files>
<files "hash.php">
Require all denied
</files>