P
P
PavelTango2021-07-21 21:29:28
PHP
PavelTango, 2021-07-21 21:29:28

How to restrict access to audio on a hosting via a direct link?

Good day!
The bottom line is that there is audio on the hosting, and the user has an application (Player) that downloads or listens to this audio, you need to restrict access to this audio for users who, for example, decide to launch this audio via a direct link, and not through the application. How can this be implemented?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2021-07-21
@PavelTango

There is no absolute protection. You can only make downloading as difficult as possible. For example, to generate a unique link with a limited lifetime for each client, send data via it in streaming mode, encrypt data blocks, etc. etc.

S
sashabeep, 2021-07-27
@sashabeep

Make not a file, but a stream of microscopic pieces. But in general, 100% protection will not be

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question