Forum Moderators: phranque
I have used mod_rewrite and sucessfully block image hotlinking, but I don't know how to block such kind of music files' hotlinking. Because when I try to use the same rule, these files cannot be played on this embed code either.
Anybody can help me out with this?
Thanks very very much for your help!
You'll need a script-based solution: For example, a script that checks a short-term cookie set by one or more of your HTML pages, and then "includes" and sends the media file only if that cookie is set.
There may be some off-the-shelf scripts available for this; I don't know, but it's worth a look.
Jim
Thanks very much!