I am familiar with everything have been said.
I think that I should have worried about security before deciding the structure of my App, because it is not as simple as I thought.
The structure of my App is like this:
-. my App works fine on desktop(Win & OS X) and iPad
- there is a stack (A) that, making it a standalone, copy stack (B) inside the bundle. (the real development is stack B)
- stack (A) will act as splash screen, load the prefs and make the user choose the language on first launch or upgrade.
- the localization implies that stack B get loaded, all the labels and pertinent stuff get changed to the chosen language and then copied from the bundle to a user folder ("application support" on OS X). In the bundle there are also all the dialogs for every language.
- same thing for upgrades: stack (A) download from the web stack (B) and save it in a user folder, changing it to the pref language.
What is my App (called "Flow Reminder") ?: A tool (OSX,PC,Tablets),for lawyers and fiscal consultants, to keep track of multiple choice time deadlines, based on programmable templates. (I should have done a game...)
Here is my pitch:
https://youtu.be/5ZsQdx1bceU
I may have problems explaining myself about this security thing and be patient with me. Let me try again.
Documents shared by the users (shared trough desktop and web), are in effect LC stacks. Most of the scripts are behaviors on stack (B), so they are protected, because stack (B) will be decrypted when launched.
Shared documents, by their own nature, gets copied and cloned by scripts of stack (B).
Using the password protection on these documents is of no use because I have to passkey them on opening. The repeated need for copying, cloning, saving, opening makes this method way too complex, for the fact that everytime I need to restablish the password protection, the stack must be removed from memory and reopened.
Using the passkey, there will be time when the stack is saved to disk and unprotected. Can you imagine the damages that can be done if someone insert some malicious LC script in a stack that gets shared?
I don't understand why bug 546(enhancement) have not been taken care yet.
So, as of now I am trying to use encryption of the documents (stacks). I'have put together a saveEncrypt script and opeDecrypt script that handle just this.
I tried to do it in memory only, but as of now I am stuck (bug 19418)
I tried to do the saving using the temporary folder, but I am stuck (bug 19313)
Nobody is saying that protection is easy, but somehow I assumed that LC had the minimum under control.
Let me saying the most of my last year has been spent not on conceiving my App, but on understanding and often finding a different way to resolve problems that should be common to most development: the splash, localization, iOS and desktop differences, online help, drag and drop, datagrid idiosyncrasy and, now, close source my APP.
Again: sorry if I did not explain me well enough .
Trevix