Protecting HTML 5 Songs

I'm looking to create a jukebox, and I'm wondering how you can protect songs that are in <audio> tags with HTML 5. I donโ€™t want people to be able to download a song, but I would like to pass it through the <audio> tags. Any suggestions?

+4
source share
4 answers

You can use Amazon S3 (similar to Soundcloud's way) to create secure mp3 links for use in your HTML5 player. You create a secure mp3 on S3, which is valid for a very short time (seconds or minutes), so that someone does not copy and share the link. You will need to generate the link dynamically using the SDK / API.

See an example of using PHP to create secure links .

+1
source

you can check the referent, use some hash mechanism (unique identifier) โ€‹โ€‹to check that the streaming player is your jukebox, and not a means of saving flow, etc.

BUT: whatever you do, some people will understand this (or use the last resort - they will catch the entire stream, following what data your jukebox sends, etc.).

+4
source

Everything you give people to listen to through the stream can also be saved to disk.

+2
source

It's impossible. For the client computer to play the song, the song must be moved there. Period.

+1
source

All Articles