Script encryption

To use script encryption, you must have a public and a private key. The public key is your license file and the private key is a key file that you also get when you purchase a license. Your license file is the public key that is put on all clients and it allows encrypted scripts to be executed but not to be modified. Your script file will be completely unreadable and look like a binary file once it is encrypted.

To modify and encrypt scripts, you must have both your license key file and your private key file, which means that no one other than your company can decode the scripts. Without both of these, your encrypted scripts cannot be modified.

Once you have purchased a license, you must put the fsh.pk file and the license key in the same directory as the editor, which by default is Program Files\FastTrack Software\FastTrack Scripting Host. If you edit scripts on multiple computers, just place a copy of these on all of them. DO NOT put the private key on client computers and make sure it is safe from copying. You can always download it again from here, if you lose the private key. If you are extremely paranoid about decryption, you could consider storing it in a safe place and only copying it to an editing computer when scripts need to be modified.

Related pages

Getting Started Guide

Goes through the basics of the language.

Documentation overview

Browse online documentation.

Setting up logon scripts

How to set up logon scripts with FastTrack Logon.

Using encryption

Once both files are in the installation directory, it is completely transparent. Just check or un-check the "Script Encrypted" button on the Editor's main "Scripting" tab, as shown below, and that's it. Remember that your scripts can now only execute on computers that have a copy of your license key. When you open existing scripts, the button will automatically be checked or un-checked based on whether the opened script is encrypted or not.

Script encryption


If you would like all your scripts to be encrypted by default, you can go to the "Setting" tab in script editor and check the "Encrypt Scripts By Default" check button.
Script encryption