RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?protocollo.centrotorrigiani\.it/ [NC]
RewriteCond %{HTTP_REFERER} !^https://(www\.)?protocollo.centrotorrigiani\.it/ [NC]
RewriteRule .*\.(pdf|xps|png|jpg|jpeg|gif|doc|docx|xls|xlsx|odt|ods|ppt|pptx|odp|zip|rar)$ http://protocollo.centrotorrigiani.it/ [NC]