N
N
notbadvlad2017-08-22 22:40:57
PHP
notbadvlad, 2017-08-22 22:40:57

How to protect video from viewing on other resources?

Hello, please help with the question: how to make the video can be viewed only from your resource. Found an example: not advertising . The video runs only on their site, when you take the link, we get a 403 error. It is
necessary for my own server so that the load comes only from the users of my site.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Mukovoz, 2017-08-22
@notbadvlad

Check refer, if not yours, then access is denied)

P
profesor08, 2017-08-22
@profesor08

Access-Control-Allow-Origin

Y
Yuri Udovichenko, 2017-08-23
@Aquary

This is called hotlink protection. A couple of methods have already been mentioned above, but I will recommend our development . In our scheme, a unique key is generated that only works on the site where it was generated. Thus, the signed stream URL can be transferred to anyone - and it will not work for other clients.

P
Paul Nice, 2017-08-23
@Paul_Nice

There are several options for protecting content:
1 Simple hotlink protection, the so-called. domain lock
2 A very simple check by user agent, like the product mentioned above, is done with a couple of mouse buttons
3 Building an authorization system that will check who will be given access to view, and who will be given 403
4 Encryption of segments and their decryption in the client player, the so-called . DRM
5 Combination of the above options. In most cases, 3 options are enough.
I'm actually rooting for this product .
Since many questions that are asked on the toaster about broadcasts are solved out of the box and without unnecessary gestures.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question