开发者

web design how to prevent leeching. Flash anti leeching methods

开发者 https://www.devze.com 2023-01-05 10:33 出处:网络
I am desig开发者_开发问答ning 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

I am desig开发者_开发问答ning 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号