/
/
home
/
u523034047
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.4
PHP 8.3.16
Dir:
/home/u523034047
Edit:
/home/u523034047/.htaccess
# ========================================== # 🔒 Security Rules for /home/u523034047/domains/ # ========================================== # 1) Disable directory listing Options -Indexes # 2) Block direct access to this folder <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^ - [F] </IfModule> # 3) Protect hidden & sensitive files <FilesMatch "(^\.ht|config\.php|wp-config\.php|composer\.json|package\.json)"> Order allow,deny Deny from all </FilesMatch> # 4) Protect the .htaccess file itself <Files .htaccess> order allow,deny deny from all </Files> # 5) Block dangerous file uploads (PHP shells, scripts, executables) <FilesMatch "\.(php|php5|phtml|exe|sh|pl|cgi|js)$"> Order allow,deny Deny from all </FilesMatch> # 6) Prevent PHP execution inside uploads folders <Directory "/home/u523034047/domains/*/public_html/uploads"> php_flag engine off Options -ExecCGI </Directory> # 7) Extra protection headers <IfModule mod_headers.c> Header set X-Content-Type-Options "nosniff" Header set X-Frame-Options "SAMEORIGIN" Header set X-XSS-Protection "1; mode=block" Header always set Referrer-Policy "strict-origin-when-cross-origin" </IfModule>
Ukuran: 1.2 KB