Serving Videos with LC/iRev
Mark Schonewille
m.schonewille at economy-x-talk.com
Sun Nov 27 10:06:20 EST 2016
Hi Rick,
That third party must have an API for it. If not, you need to change the
vendor. I can't be that e.g. Apple sells music, while everybody is able
to download the content once it has been bought by one person. Can you
tell the name of that third party?
Kind regards,
Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch
Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com
Op 27-Nov-16 om 03:44 schreef Rick Harrison:
> 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>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list