Is it possible to encrypt an uploaded video?
Is it possible to create functionality such that when someone uploads a video to my website, the system encrypts it and other people can't watch i开发者_高级运维t even if they download it.
They would then require a private key to watch the video online.
gpg does a job like this. You can access the command from within your favorite language, Zend has a tutorial for accessing gpg in PHP.
But wouldn't it be more convenient for your users if they could watch the videos online? Then you would only need to control access to your page with a simple login system.
What you are describing sounds very difficult.
It would be easier to force people to watch it online and simply limit access to the web page via authentication.
For content protection. seems like, today there is no straight forward way to do this. However, there is an active interest inside HTML5 camp where some form of DRM can be applied for this.
See this: http://gigaom.com/video/mdialog-tackles-html5-video-security/
精彩评论