I have made and intend to sell some Google slides with apps script. I’d like to obfuscate the code to prevent casual access by my users. Each of the obfuscation tools I’ve tried triggers Google to issue an unrecognised code warning with a scary red triangle when users authorise the file. Authorisation using the un-obfuscated code merely triggers the routine warning stating the scope is limited to just that particular file.
I could be mistaken, but I’m sure I’ve used an obfuscator in the past which did not have this effect.
So I’m looking for suggestions for an obfuscator tool that does not trigger the extra warning. Perhaps one that has a list of options I can choose to apply or not apply. Any suggestions?
P.S. I’m aware that I could hide the code by using an external library but since my target audience will be lots of teachers, each distributing to lots of students, I fear this would slow the code considerably. I’m also aware that I could hide my code by creating addons but I’m unfamiliar with this and fear it would create extra work I’d rather avoid - it would also make it less user friendly by adding extra instructions the pupils would need to follow to install the addon.
Couple things to consider...
1 I would never purchase or use code I could not see plainly. It's the only way I can assure no malicious code. Schools in particular might prohibit use of such a product. Transparency = trust.
2 you stated you want to do so to "prevent casual access". They will still have casual access. They can still do harm. If you're trying to keep it proprietary, that's a whole different scenario.
Which obfuscator(s) are you using or have tried?
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/ee5a10ce-9b45-4f11-8395-bb69fe6f4646n%40googlegroups.com.
--