# Simple File List Access Restricter RewriteEngine On # 1) If NOT the current host RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} !^([^@]*)@@https?://\1/.* # 2) Deny access to these types (Using file list settings) RewriteRule \.({FILE_TYPES}?)$ - [F]