Protected video content


I have been developing my first web site with Yii. So far its great!

I need to have video that is protected, only viewable by authenticated users.

What would be the best way to go about doing this?

The video for the moment is being shown with the JW Player.



Also, you can use secure link module for webserver

Provide an authenticated area.

Ideally, you’ll need the video content outside the web directory and provide a stream of audio from a controller action.

It will be difficult to fully protect the video as web browsers cache content, so in effect a user only has to browse the cache location on their computer to access the file.