Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
In ASP.net, I want to store MP3 file in encrypted form and stream the same on client side when requested, so that it can not be downloaded but listened.

Any advice on how to do this?

What I have tried:

I have no idea on how to start with this.
Please help!
Posted
Updated 22-Aug-17 1:19am

1 solution

A few concepts:
- MP3 is a standard file format that can be played on any web browser.
- a file name that end with .mp3 does not imply that the file is mp3 file format, it is just convenient name to indicate you what is supposed to be the file.
- An encrypted mp3 file is not mp3 anymore, it is ... an encrypted file. you need to decrypt it in order to play it.
- Playing the encrypted mp3 file on client imply decrypting the file.
- to play the mp3 on client side, you need to provide a way to decrypt the file, or a special player that do the trick.

- Playing an mp3 on client side imply download.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900