At 1:09 PM -0500 1/4/08, Robert Cummings wrote:
On Fri, 2008-01-04 at 12:58 -0500, tedd wrote:
 Hi 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.

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.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to