Answer the question
In order to leave comments, you need to log in
How to protect a video file from direct download?
Good afternoon everyone.
Three of my sites have a flowplayer video player that plays video on the pages.
The player code looks like this:
<video src="http://server.site.ru/video/3/30.mp4" class="fp-engine" preload="metadata" x-webkit-airplay="allow"></video>
Answer the question
In order to leave comments, you need to log in
The source code is flowers. You can make link loading with tricky JS, but! After all, there are still sniffers... And here they are, coupled with the source code, will allow not only to download the video 1 time, but also to restore the full picture of the link generation algorithm and write a bot for downloading.
Definitely, HTTP/HTTPS doesn’t work, it’s too easy to sniff, without at least Flash nothing good will come of it, there are more opportunities in Flash, for example, I saw a porn site with the RTMP protocol. WebSockets is also a little heavier, but it's not clear how to render.
Would you finish your copying IMHO. Well, damn useless. If your content is of any value, they will be sent, and quickly. And if not, then it makes sense to protect him.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question