HTML5 teaser
Colin Holgate
colinholgate at gmail.com
Fri Mar 4 19:13:54 EST 2016
Hopefully the exception key would help. Only the user would know how to unencrypt the image.
> On Mar 4, 2016, at 7:07 PM, [-hh] <hh at livecode.org> wrote:
>
> Currently the ask dialog is the **only** way to communicate
> with a HTML5 standalone.
> You simply have to manage, that your imagedata can pass the
> dialog (no CR). And be aware that everybody can read your
> script, but that shouldn't matter. The rest works "as usual".
> The copy/paste via "ask" mechanism works (there are examples
> to try).
>
>> Colin H. wrote:
>> I’ve been tasked with a problem to solve, and I think I can
>> use any tool to do it. LiveCode could be a good choice.
>> Here’s what’s needed:
>> A PDF is online somewhere. A logged in user asks for it,
>> and the server encrypts it before sending over, using some
>> sort of key that was in the query. On receiving the data,
>> the client side would have to unencrypted it, and show it
>> as the original PDF in a browser.
>> I feel sure there are some difficulties in there, such as
>> whether Javascript can write a file to the user’s hard
>> drive, and then show it in a browser. In LiveCode terms,
>> one solution would be to send it as encrypted image data,
>> and then set the imagedata of an image to the unencrypted
>> version (if setting imagedata is allowed in the HTML5
>> export from LiveCode).
>
>
>
>
> _______________________________________________
> 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