Sto facendo varie prove, ho provato in locale questo htacces:

codice:
RewriteEngine on
RewriteCond HTTP_REFERER} !^$
RewriteCond HTTP_REFERER} !^http://your_domain.com/.*$     [NC]
RewriteCond HTTP_REFERER} !^http://www.your_domain.com/.*$ [NC]
RewriteRule .*\.(gif|GIF|rar|zip)$        -                  [F]
e quando inserisco un link ad un file, mi dice accesso negato.

Ho provato a metterlo in remoto e invece mi fa scaricare il file tranquillamente.

Sto impazzendo