Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Protecting my script. Extendscript .jsx/jsxbin to CEP.

Community Beginner ,
Feb 21, 2025 Feb 21, 2025

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. 

 

  • Turn it into a CEP plugin like so, basically eval the whole script once fetched. I know it's not overly secure but it feel the script would be better protected than a .jsxbin on its own. I'd b using the legacy interface I made with the the original script. I believe this is possible. It looks like my preferred method...
myCEPPlugin/
├── CSXS/
│   └── manifest.xml
├── js/
│   ├── fetchMyOriginalScriptandEval.js
│   └── CSInterface.js
└── index.html
  •  
  • Obfuscate .jsx + Encrypt .jsxbin . Basically tie the script with a serial internally so it's only valid with that photoshop. 

  • Refactor all the code to the newest version of UXP. 

    Any help much appreciated.
TOPICS
Actions and scripting , SDK , Windows
836
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Feb 21, 2025 Feb 21, 2025
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 22, 2025 Feb 22, 2025

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 11, 2025 Mar 11, 2025
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines