Serving Videos with LC/iRev
m.schonewille at economy-x-talk.com
Sun Nov 27 16:06:20 CET 2016
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?
Buy the most extensive book on the
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?
>> 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:
More information about the use-livecode