E
E
Evgeny Orlov2016-04-21 14:01:39
Data protection
Evgeny Orlov, 2016-04-21 14:01:39

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>

All videos are on different servers, but if you open the Source Code, you can easily find a direct link to the object and download it.
How can this be avoided?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VZVZ, 2016-04-21
@VZVZ

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 question

Ask a Question

731 491 924 answers to any question