views:

39

answers:

1

I am designing a website with flash video content. If I pass in the URL to a .flv file as a flash parameter to the embedded video player someone can easily extract the URL and download the flv video file. How to do I prevent this? Can someone refer me to anti-leeching techniques being used my websites like youtube.

+1  A: 

One technique I have seen is to keep "moving" the FLV files. Then in your HTML generation, supply the current key -- which is temporal (this may be a cookie, not just a physical path). This doesn't entirely prevent leaching if smart bots were deployed (and a normal human user can always get the raw FLV if they really want). However, anyone that tries to use an "old" key gets no data or a stub to a "no hotlinking, you jerk" FLV.

pst