Copy link to clipboard
Copied
So I have written a script with extendscript, only to realise it can be easily decrypted, and shared. So I would like to protect it and sell it some way without having to rewrite the whole thing in UXP which wasn't quite as well documented when I made the decision to code with the legacy extendscript. Is there anyway I can protect it?
Here are some potential avenues I would like to explore and would be grateful if anyone has any experience or dos/donts etc.
myCEPPlugin/ ├── CSXS/ │ └── manifest.xml ├── js/ │ ├── fetchMyOriginalScriptandEval.js │ └── CSInterface.js └── index.html
Copy link to clipboard
Copied
There will always be ways to cheat this, so it comes down to how hard you want to make this.
https://www.davidebarranca.com/2016/07/html-panel-tips-22-protecting-your-code/
https://www.davidebarranca.com/2017/02/html-panel-tips-23-javascriptobfuscator-api-gulp-js-plugin/
Copy link to clipboard
Copied
If someone is interested in your work and wants to spend time, they will surely be able to decipher it, With uxp I noticed from tests that it is much more complex, So I think you should think about uxp also thinking about the future.
Copy link to clipboard
Copied
Let's say I made it hard.
Added a few layers of security:encryption, obfuscation, validating the data, photoshop serial, the file calling for the info, among many other things. Realistically they only have one attempt to get it right before they are put on the naughty list. Not worth the effort and I can update the script for users as I go along. Thanks for the help.