Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Mesple on March 26, 2016, 12:45:08 am
-
Hi all,
My MDG Techno includes scripts and I'd like to hide the source code of these scripts?
Do you have any idea?
Thanks,
Olivier
-
Code them in a language which compiles. That's the only way you can obfuscate it.
q.
-
Why would you want to hide the code?
Isn't it all about 'open source' these days?
Geert
-
No, the scripts provided by an MDG technology can't be hidden. Even if there was, it wouldn't be secure enough, users regularly demonstrate a willingness to decode binary data from withing MDG technology files. The best possible would be for us provide a public key that authors could encrypt their scripts and hard code the private key into EA itself. If that was done, it would estimate no more than 15 minutes to get the string when running the script.
Expanding on qwerty's response, my recommendation is to write an add-in that provides the MDG technology and any extra functions required.