14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

44 Creating and Opening Files Chapter 2<br />

Encrypting and Decrypting Scripts<br />

Encrypting and Decrypting Scripts<br />

If you want to protect a JMP Scripting Language (JSL) file, you can encrypt it so only someone who<br />

knows the password can view it; you can also require a password to run it. This is useful in situations<br />

when you want to implement controlled sharing of a script.<br />

To encrypt a script:<br />

1 Open the script you want to encrypt.<br />

2 Select Edit > Encrypt Script. The window shown in Figure 2.28 appears.<br />

Figure 2.28 The Script Encryption Window<br />

3 Assign password(s) to encrypt the files:<br />

– To encrypt a script so that a user can run it without a password, but needs a password to view it,<br />

supply JMP with only a decrypt password.<br />

– To encrypt a script so that a user must enter one password to run it and another password to view<br />

it, supply JMP with both a run and a decrypt password.<br />

Note: The password must consist of single-byte characters; using a text Input Method Editor (IME)<br />

does not work.<br />

The encrypted script appears in a new window, as shown in Figure 2.29.<br />

Figure 2.29 Example of Encrypted Script<br />

4 Save the encrypted script.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!