# Uploads Protection # انسخ هذا الملف إلى uploads/.htaccess # Prevent PHP execution Order allow,deny Deny from all # Allow only specific file types Order allow,deny Allow from all # Prevent access to hidden files Order allow,deny Deny from all # Security Headers Header set X-Content-Type-Options "nosniff" Header set Content-Security-Policy "default-src 'self'" # Disable directory listing Options -Indexes # Prevent hotlinking (اختياري - معطل حالياً) # RewriteEngine on # RewriteCond %{HTTP_REFERER} !^$ # RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC] # RewriteRule \.(jpg|jpeg|png|gif|webp)$ - [F]