Answer the question
In order to leave comments, you need to log in
Playing audio files from a server without being able to download them?
For the project, it was necessary to implement a function that would be able to play music files that are stored on the server (through a simple player, something like Uppod), without the possibility of downloading them from it. Something like SoundCloud.
I would like to get at least a hint.
Answer the question
In order to leave comments, you need to log in
No way, you can download in any case, you just need to be able to.
You don't have to want this © Crazy
This is shadow fighting.
Even if you protect your music file, I'll just enable recording through the output channel in Windows and record the stream with any player. In the bag.
I would advise not to bother.
Well, as if when the files are played, they are still downloaded to the user's computer into temporary files. So whoever wants to get them out of there.
If you need to protect.
You can give temporary download links for one time, only for the player. This will complicate the download procedure, but then there are grabbers from the audio board.
I have been looking for a solution for a long time, I join the question!
You can download any music on SoundCloud without any problems, you just need to dig a little in the source code of the page.
You need a player that does not download files in a stream from beginning to end, but periodically breaks the connection and starts downloading again, but from the place of the break, and do it in such a way that the browser does not understand that this is the same file. I have not seen such a solution, this is just a theory.
The most hemorrhoidal option is to make your own player. Send non-mp3 from the server, encoded data, which in itself is useless without decryption. Player decode them and play.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question