Project

General

Profile

Proxy streaming video behind secure URL

Added by a3leggeddog almost 11 years ago

Hi -

I can't imagine this hasn't been done before, and I apologize if I'm asking a question that has already been answered (I did try to find something before I posted).

I have a bunch of MP4 files that I want to secure behind a one-time-use URL. So, the client will get a URL that, before the video can be streamed, must be decoded and verified. The URL points to a PHP or Java proxy that decodes the passed in token, determines if it is still valid, and, if so, returns the video stream. We never want the client to know the actual location of the video file, because we always want it to pass through our proxy. Therefore, only valid one-time-use URLs that we generate will give a user access to the video stream.

I'm not sure if there is a more elegant way to accomplish this, and I would welcome advice/suggestions. My only issue with the proxy, at the moment, is that the client is waiting for the entire video file to be received before the video will play. I think this is because my proxy is not passing through the same headers that are being sent from lighttpd.

Any help would be greatly appreciated!

Thanks!