homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

Hotlink Disabling for select folders

 12:49 am on Nov 28, 2005 (gmt 0)

On a particular site I run, there's a folder with audio and video files. Is there anything I can do to that folder (through CHMOD maybe) that will allow people to listen to audio if they click on a link on one of my pages, but disallow hotlinking of the audio from another website? I'm getting too many people hotlinking music.



 8:57 pm on Nov 28, 2005 (gmt 0)

This should get you pointed in the right direction..



 9:29 pm on Nov 30, 2005 (gmt 0)

There's a pretty nifty snippet of code on that site to prevent hotlinking of images from certain sites or all sites, but I'm not sure how I would change the coding to reflect .mp3 and .wma files.

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved