Stand Alone Security..?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Stand Alone Security..?

Post by topcat888 » Tue Jan 05, 2010 6:55 pm

Hi,

Once a Stand Alone has been finished, what is the best way to protect it for distribution..?

I have noted that you can Encrypt the Stack in the Application Settings, is that all that is is required to 'seal' the app..?

Thanks
TC

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Stand Alone Security..?

Post by Klaus » Tue Jan 05, 2010 7:47 pm

Hi TC,

what exactly do you want to protect?

If you add a password to your stack(s) then at least your scripts cnnot be read, if someone opens the app in a simple Editor.

Everything else is hardly to protect:
Images -> screenshots
Audio/Video -> special screen- and audio-grapp apps
etc...

If oyu wnat to prevent software piracy, this is another beast.
This is possible, but not so easy.

Here the first thought should be: Is is worth the effort?


Best

Klaus

topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Re: Stand Alone Security..?

Post by topcat888 » Tue Jan 05, 2010 8:05 pm

Yes, basically code protection, so the encrypt stack should cover that..?

So effectively no one will be able to read the code with any editor including Studio etc..?

Thanks
TC

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Stand Alone Security..?

Post by Klaus » Tue Jan 05, 2010 8:09 pm

Yes :D

topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Re: Stand Alone Security..?

Post by topcat888 » Tue Jan 05, 2010 8:53 pm

Hi Klaus, How can I test the file to see if the encryption is working..?

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Stand Alone Security..?

Post by Klaus » Tue Jan 05, 2010 9:09 pm

Hi TC,

open the standalone or a password-protected stack in any editor (like "TextEdit" on the Mac, sorry no idea of Windows).
You will only see "glibberish" :-)


Best

Klaus

topcat888
Posts: 44
Joined: Sat Jan 02, 2010 8:10 pm

Re: Stand Alone Security..?

Post by topcat888 » Tue Jan 05, 2010 9:33 pm

Hi

With notepad yes its gibberish, but if I open it with Studio it opens no problem and code is availble for all to see..?

Why would that be..?

TC

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Stand Alone Security..?

Post by Mark » Tue Jan 05, 2010 10:51 pm

Dear topcat888,

The code is only visible if you forgot to set a password for your stack.

There are two ways to set a password for standalones. You can set a password for each individual stack, e.g. using the message box to execute the following line:

Code: Select all

set the password of this stack to "bleep"
or you can set passwords for all the stack files of your project in the standalone builder settings. If you do this, your stacks are only protected after they have been copied to your standalone, which means that the originals will stay unprotected.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply