Presuming your server is running Apache, you can use .htaccess for this.
Take this file
http://www.daringpress.com/hotlink_htaccess.txt
customize it to include whatever additional file types you want,
then replace my domain with yours, and rename the file .htaccess (no extension)
Now upload it into the directory you want to protect. Done.

__________________

BOOBZOOKA: Amateur Affiliate Program featuring
SellYourSexTape: Real couples document their lovelife for one week.
HerBedroomWindow: Girls recording themselves alone at home. |
DareRing: "Truth Or Dare?" themed adult party games.