Answer the question
In order to leave comments, you need to log in
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
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.
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 questionAsk a Question
731 491 924 answers to any question