Skip to main content

Protect script

Hi,
I would like to know if it's possible to protect a script with a password ?
I don't want the users modify the script.
Thank you
Ben

Brian Element Tue, 04/02/2019 - 08:16

Hi Benoit,

You can't protect a script with a password but you do have three options to protect your script, two of them are easy one of them is hard.  The two easy options are:

1 - Save your files as an ise file or a compiled file.  The user can still run the file using the Macro-Run command but they cannot view the code.

2 - Save the file as an exe file, the user can run the file directly but cannot view the code.

The harder option is to turn your script into a SmartAnalyzer app, I wouldn't recommend this unless you are interested in creating SA apps.

Brian