mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
added .htaccess to prevent unauthorized access
This commit is contained in:
parent
413c026dc7
commit
ddbdcaa728
2 changed files with 20 additions and 1 deletions
|
@ -1 +1,4 @@
|
|||
Require all denied
|
||||
# prevent access to these files while not logged in
|
||||
<files "*.php">
|
||||
Require all denied
|
||||
</files>
|
||||
|
|
16
php/.htaccess
Normal file
16
php/.htaccess
Normal 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>
|
Loading…
Reference in a new issue