At 1:54 PM -0500 1/4/08, Robert Cummings wrote:
On Fri, 2008-01-04 at 13:29 -0500, tedd wrote:

 > Rob:

 I have all of that logic in place now.

Then what is the problem? or do you mean you don't ant the same user to
view the item while logged in at some point in the future? If so then
use a GET parameter (MD5 or SHA1 should suffice) that maps to a DB entry
that indicates expiration time.

Cheers,
Rob.


Rob:

I'm sorry, I must not explaining it well.

I have all the code in place to manage viewers.

What I'm asking is how to stop someone who isn't authorized to view a video after they know the url.

For example, let's say a person pays and has access to the video for some period of time.

Later his time runs out and if he returns to the site and tries to see the video again, he can't because he has to pay again. No problem, I have all that worked out.

However, let's say the user pays, views the video, makes a note of the url, and his time runs out. What's to stop him from viewing the video again by just entering the url?

That's what I'm asking -- I think Daniel's suggestion to prohibit hot-linking may work. I just need to test. Also, Daniel has provided me with some other code that is going to take me a while to test.

Thanks for your time.

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