Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Hotlink Disabling for select folders



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

WebmasterWorld Senior Member 10+ Year Member

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)

10+ Year Member

This should get you pointed in the right direction..



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

WebmasterWorld Senior Member 10+ Year Member

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.

Featured Threads

Hot Threads This Week

Hot Threads This Month