I wouldn't expect imageData to be an issue in HTML5 but encryption seems like a stretch at this stage. Does it need to be in a browser?
Sent from my iPhone > On 5 Mar 2016, at 8:35 AM, Colin Holgate <colinholg...@gmail.com> 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). > > Do you all see other difficulties, or maybe simple solutions to the problem? > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode