Serving Videos with LC/iRev

Rick Harrison harrison at all-auctions.com
Sun Nov 27 03:44:18 CET 2016


Hi Mark,

That sounds good except that the user is purchasing from me through a third party
and I have no good way of validating.  I can attach a number to the URL but that
same number will be on every unit purchased and visible to the user.  I can’t make
it unique for every unit purchased.  That’s why I’d rather jump a couple of URL’s and
have the last one hidden or unknown to the user.

Other ideas?

Thanks,

Rick

> On Nov 26, 2016, at 9:09 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
> 
> Instead of hiding the URL, you could write a script that creates a key depending on user credentials and a unique number, say the time, and add it to the URL. The code should follow some some rules, e.g. the last part of the code could be a hash. Encrypt the information in your app and decrypt it on the server. If the user credentials are correct and the unique code is correct and hasn't been used yet, send the video, and reject the request otherwise.
> 
> Kind regards,
> 
> Mark Schonewille
> http://economy-x-talk.com <http://economy-x-talk.com/>
> https://www.facebook.com/marksch <https://www.facebook.com/marksch>


More information about the use-livecode mailing list