Protect widget code?

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Protect widget code?

Post by [-hh] » Wed Nov 02, 2016 8:43 am

To whom it may concern.
Are there plans to enable protection of the code of widgets?
If so, will it be possible to make such protected widgets usable for community versions?
shiftLock happens

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: Protect widget code?

Post by peter-b » Wed Nov 02, 2016 4:25 pm

There's not currently any way to get back from a compiled .lcm file to a .lcb source file. The .lcm files do not contain the source code. It would theoretically be possible to decompile a .lcm file back to LCB source code but no such tool exists and it would be a monumental amount of work to build one.

So, you could say that the code of widgets is already protected, and certainly usable in the open source edition of LiveCode.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1209
Joined: Thu Apr 11, 2013 11:27 am

Re: Protect widget code?

Post by LCMark » Thu Nov 03, 2016 6:17 pm

I think it is important to point out here that whilst the Community Edition can happily load widgets without the accompanying source code (as they are compiled ahead of time), it would be a GPL violation for someone to distribute an app (built with the Community edition) using a widget for which the source cannot be provided.

Post Reply

Return to “LiveCode Builder”