Forum Moderators: phranque

Message Too Old, No Replies

How to force a specific referer header?

to an embedded mov video file

         

edward301

1:11 pm on Oct 27, 2005 (gmt 0)

10+ Year Member



I have a site that contains a large number of mov videos. I have basic hotlink protection so that when the refer is a website other than mine I block the download. Ive tried blocking every download that doesn't come from my domain (including direct connections), however I've found that the videos often don't load because the browser doesn't pass the refer information.

Is there a way of forcing a refer header to a mov video that is embedded in a standard html page?

jdMorgan

1:25 pm on Oct 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem is that it is not the browser sending the referrer, it is the player or the player's browser plugin. Many of these never send a referrer, making referrer-based access control practically impossible.

In order to protect your files, you'll need to look into more sophisticated methods. You can dynamically rename your files (or their subdirectories), or use a combination of client- and serve-side scripts and cookies to authorize access. Multimedia content protection is a complex subject, though, and I'd recommend some searching and researching before starting to implement something.

Jim

edward301

2:04 pm on Oct 27, 2005 (gmt 0)

10+ Year Member



thanx I will read into it.