PDA

View Full Version : Hot Linking


webhost
22 Mar 2002, 04:50
I got a customer of mine, and he is saying he thinks alot of his rm songs are behing hotlinked

i tired everything from htaccess (rewrite) to a download.cgi?file.pm script.....

nothing works with the rm files, the images are blocked just fine, but not the embedded songs

The mod rewrite looks like this





Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




The way im testing looks like this




Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Logician
25 Mar 2002, 10:43
My suggestion is not as easy as a simple change in .htaccess file but it will certainly work:

You may put the files on MYSQL and give them access from a PHP script. In your script you can check "referer" and disallow users who do not access the files via clicking your relevant web page.