Re: How to secure Flash Video?
| From: | tedd | Date: | Fri, 04 Jan 2008 18:29:04 +0000 |
| Subject: | Re: How to secure Flash Video? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266625@lists.php.net to get a copy of this message | ||
At 1:09 PM -0500 1/4/08, Robert Cummings wrote:
On Fri, 2008-01-04 at 12:58 -0500, tedd wrote:Rob: I have all of that logic in place now. My question was specifically how to stop a remote viewer from viewing the video once the url is known. I think Daniel answered it by disabling hot-linking. I just need to test it. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comHi gang: Here's the problem. I have a client who has Flash Videos and wishes to rent these Videos out for a certain time period. (No, it's not porn -- shame on you).Bah!I have written the code and have NO problems with registering the user, having the user pay, and managing user's time to allow viewing the video. That's all been solved. However, once the user is provided with a url where the Flash Video resides, then the user can view the video remotely by just creating a page that references that url -- that's easy to do. Now, how can I stop that from happening?Use a URL that maps to a PHP script. Have the PHP script check that they are logged in. If not, redirect to login. If they are logged in, then flush the flash object to their browser with appropriate headers.