You can't really prevent hotlinking of zip files, as they are never really hotlinked, unlike images. Zip files are always just linked to by other sites. If you're looking to stop that, you need to find a way to dynamically serve up the zip files using CGI or PHP. There are scripts out there that do that, but it's not within the capability of .htaccess.
To prevent hot linking on images inside a folder on your site, insert the below code into a blank .htaccess file, and upload it to that folder (in ASCII):
Code:
## DISABLE HOTLINKING
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourdomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourotherdomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|zip)$ - [F]
Bookmarks