How to apply DRM to a .mp3 / .wav file

Can someone help me apply DRM on .mp3 or .wav. I know about DRM, but I have no idea about this implementation process. If someone has an idea about DRM implementation (for .mp3 / .wav), help me. It would be great if that were for C #. It would be nice if one of you gave me the Source / link source.

Thanks Pranab

+6
source share
2 answers

For DRM of any type of file, all you really do is encrypt it in such a way that only authorized clients (programs) can extract content from the file. As a rule, this requires special client software. Depending on your requirements, this may also require a central server for these clients.

In general, you cannot just "DRM an.mp3" because a generic MP3 player cannot read data. (if it were possible, it would not be a DRMed file, now?)

+2
source

Probably yes. Easy, not so much:

  • The “easiest” way is to drop the requirements for MP3 or WAV and switch from WMA (Windows Media Audio). In this case, you can use the Microsoft PlayReady Server SDK (expensive - several tens of thousands of dollars) for encryption compatible with Windows Media DRM. As a result, the encrypted WMA can be played by Windows Media Player and a very large number of portable devices after obtaining a “license” (essentially, decryption key + usage rights).
  • If you decide to go with WMA, and you cannot make a big upfront investment, perhaps this solution (SaaS), such as BuyDRM for you.
  • Another opportunity that requires even more investment if you want to use MP3 or WAV is to use PlayReady yourself with the Envelope format or OMA 2 DRM with the DCF format or Marlin DRM or several others that are in addition to investing on the server side will also require you to record a custom media player.
+1
source

Source: https://habr.com/ru/post/898208/


All Articles