Hello I am developing a Mac Os X application that, among other things, plays some video from its resources in a AVPlayerView. What should I use for encrypting the content so it cannot be stolen from resources ?
Thanks
Hello I am developing a Mac Os X application that, among other things, plays some video from its resources in a AVPlayerView. What should I use for encrypting the content so it cannot be stolen from resources ?
Thanks
You really can't protect the content perfectly. But you can do some simple things to ward off the casual hacker who's semi-technical from ripping your content.
One easy solution is to encrypt the mp4 files with a modern crypto library (e.g. AES) and embedded key. Then run an http server on localhost to read from the resource stream and stream. That should handle the 99% case. But a determined hacker who's willing to spend additional amount of time to reverse engineer your app might be able to find the key and get the original video bytes.