Upload via GUI (258 Dateien)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Verhindert die Ausführung von hochgeladenen Dateien (z.B. falls jemand eine
|
||||
# .php-Datei mit falscher/umgangener Endungsprüfung hochladen würde).
|
||||
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|phar|pl|py|cgi|asp|aspx|jsp|sh|bash|exe|htaccess|htpasswd|env|html?|xhtml|shtml|svgz?|xml|js|mjs)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
<IfModule mod_php.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
<IfModule mod_php7.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
<IfModule mod_php8.c>
|
||||
php_flag engine off
|
||||
</IfModule>
|
||||
<IfModule mod_headers.c>
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
Header set Content-Security-Policy "default-src 'none'; style-src 'unsafe-inline'; sandbox"
|
||||
</IfModule>
|
||||
Options -Indexes
|
||||
Reference in New Issue
Block a user