Initial commit: Frida-Fred Webseite
This commit is contained in:
19
api/.htaccess
Normal file
19
api/.htaccess
Normal file
@@ -0,0 +1,19 @@
|
||||
# Verhindere direkten Zugriff auf config.php
|
||||
<Files "config.php">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</Files>
|
||||
|
||||
# Verhindere direkten Zugriff auf send-mail.php via GET
|
||||
<Files "send-mail.php">
|
||||
<Limit GET>
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</Limit>
|
||||
</Files>
|
||||
|
||||
# Verstecke sensible Dateien
|
||||
<FilesMatch "^(config\.php|config\.php\.example|\..*|composer\..*)">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
Reference in New Issue
Block a user