'Is it possible to protect from downloading an audio from a site

I want to create an audio-book application using Laravel.

Is it possible to protect from downloading an audio from a site ?

Is right click disable does the trick OR

What security measures will I take to prevent any audio files download ?

Meanwhile I have decided to use HTML5-Audio Player.



Solution 1:[1]

This question is complicated, and depending on how you deliver the audio, the answer will changes. I would recommend to look at how protected content are delivered on certain platform.

Let take a look at Spotify, they are using Widevine:

Widevine is a proprietary digital rights management (DRM) technology from Google used by the Google Chrome, Brave and Firefox web browsers (including some derivatives), Android MediaDRM, Android TV, and other consumer electronics devices. Wikipedia

Simply disabling the download is only a frontend feature removed, that can be easily bypass. For protected content, more complicated solution are required like a DRM.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 axel7083