Building a system that allows users to see a video only once
Posted
by
Bart van Heukelom
on Stack Overflow
See other posts from Stack Overflow
or by Bart van Heukelom
Published on 2010-12-27T14:51:10Z
Indexed on
2010/12/27
14:53 UTC
Read the original article
Hit count: 232
My client wants to distribute a video to some people, specifically car dealers, but he doesn't want the video to end up on Youtube or something like that. Therefore he wants the recipients of the video to be able to see it only once. My idea to implement this is:
- Generate a unique key per viewer
- Send each viewer a link to a page with a Flash based video player, with their key in the URL
- Have Flash get the video from the server. On the server the key is checked and the file sent (using php's
readfile
or something equivalent). Then the key is invalidated.
I was thinking this wouldn't take more than a day to build.
I know that if you want somebody to be able to play something, you implicitly give them the power to record it as well, but the client just wants me to make it as hard as possible.
Do you think this is secure enough for the intended audience? Anything else I can do to add some security without exceeding the development time of 1 day? I'm also interested in ready made solutions, if they exist.
© Stack Overflow or respective owner