Welcome to WebmasterWorld Guest from 54.160.246.95

Forum Moderators: phranque

Message Too Old, No Replies

Hotlink Disabling for select folders

     

DXL

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

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2002
posts:722
votes: 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)

New User

10+ Year Member

joined:May 6, 2005
posts:36
votes: 0


This should get you pointed in the right direction..

[altlab.com...]

DXL

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

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2002
posts:722
votes: 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.