LuminaWebsite/assets/uploads/profiles/.htaccess
2026-09-21 20:45:37 +02:00

17 lines
516 B
ApacheConf

# Hochgeladene Profil-, Charakter- und Galeriebilder duerfen niemals als Skript ausgefuehrt werden,
# selbst wenn eine Datei die Typ-/Groessenpruefung in member_action.php umgehen sollte.
<IfModule mod_php.c>
php_flag engine off
</IfModule>
<IfModule mod_php7.c>
php_flag engine off
</IfModule>
<FilesMatch "\.(php|phtml|php[0-9]?|phar|cgi|pl)$">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>
</FilesMatch>