6

Can anyone help me to apply DRM on .mp3 or .wav. I know about DRM, but i have no idea about it's implementation process. If anyone has any idea on DRM's implementation(for .mp3/.wav) pleae help me. It would be great if this is for C#. It would be nice if any of you give me some Source/link.

Thanks Pranab

Pranab Mitra
  • 401
  • 1
  • 4
  • 9
  • I don't think there is a free solution to do this. Someone please correct me if I'm wrong. You can checkout "Live DRM" though. – dubvfan87 Sep 28 '11 at 14:02
  • 2
    People don't accept music files with DRM anymore nowadays. So don't waste time and money on it. – ThiefMaster Nov 16 '11 at 09:36
  • check this article which i wrote recently : http://aameer.github.io/articles/digital-rights-management-multi-drm/ it explains in details about how to achieve multi-drm – Aameer Nov 16 '17 at 14:50

2 Answers2

3

To DRM any sort of file, all you are really doing is encrypting it in such a way that only authorized clients (programs) can retrieve the content from the file. Typically, this requires special client software. Depending on your requirements, it may also require a central server for these clients to call back to.

In general, you cannot simple "DRM an .mp3", because a generic MP3 player cannot read the data then. (if it could, it wouldn't be a DRMed file then, now would it?)

cdeszaq
  • 30,869
  • 25
  • 117
  • 173
2

Possible, yes. Easy, not so much:

  • The "easiest" way is to drop the MP3 or WAV requirement and go with WMA (Windows Media Audio). In that case, you could use the Microsoft PlayReady Server SDK (expensive - several tens of thousand $) to do Windows Media DRM-compatible encryption. The resulting encrypted WMA can then be played by Windows Media Player and by a very large number of portable devices, after having received a "license" (essentially, decryption key + usage rights).
  • If you decide to go with WMA and you can't do large upfront investments, perhaps a hosted (SaaS) solution such as BuyDRM is for you.
  • Another possibility, which requires an even larger investment, if you want to stick with MP3 or WAV, is to use PlayReady itself with the "Envelope" format, or OMA 2 DRM with the "DCF" format, or Marlin DRM, or several other ones, which in addition to investing on the server side would also require you to write a custom media player.
Guido Domenici
  • 5,146
  • 2
  • 28
  • 38
  • I know this old question , but I wonder if there any way to add small size of byte inside the container of mp3 file while broadcast it , so regular player can't read it as corrupted file while a customized player can remove the added bytes and decode it as regular mp3 file . – Salem Jun 09 '18 at 06:43
  • 2
    Sure, it is possible... but there's no DRM or any protection in there. This is basically security through obscurity. Once the first smart person manages to reverse-engineer the format, it's trivial for anyone to strip off the "protection" for _any_ similar file. – Guido Domenici Jun 11 '18 at 14:50
  • I know but I need it as fast cheap DRM method the player will be able to download decoding algorithm that changed frequency e.g "each hour". – Salem Jun 13 '18 at 22:35