Security
Introduction
Section titled “Introduction”Source-IV allows you to create protected (encrypted) programs. This provides you with Source code security for programs or systems you are developing. This prevents users from altering the program. It also prevents illegal copying of software. For more information, see ENCRYPT and PSAVE in the Thoroughbred Basic Reference Manual.
Types of Security
Section titled “Types of Security”There are two types of security within Source-IV:
- Source libraries and Source documents can be protected using passwords. For more information, see the section on Creating a New Source earlier in this document.
- Source-IV can compile Source documents and save them as protected programs. For more information, see ENCRYPT and PSAVE in the Thoroughbred Basic Reference Manual.
Protected Program Attributes
Section titled “Protected Program Attributes”The sections below describe protected program attributes.
Permanent
Section titled “Permanent”Programs in the Protected form are permanent. Once you compile a program as Protected, you cannot make it listable or import it unless the password is known. You cannot convert Protected programs to listable programs. Recompile the Source into a listable program.
Importing
Section titled “Importing”You cannot import a protected program.
Basic Commands
Section titled “Basic Commands”The following Basic commands can be executed on a protected program:
LOAD
RUN The following Basic commands cannot be executed on a protected program:
EDIT
ESCAPE
LIST
SAVE
DELETE
- Note:
- The LIST command cannot be executed on program lines greater than 100.
A protected Source should not contain the following Basic commands:
ESCAPE
SETTRACE
DELETE
Do not use the following Basic Utilities on protected programs:
*CPSD
*HPSD
*IPSD
*PPSD
*QPSD
*SPSD
*TPSD
For more information, see ENCRYPT, PSAVE, and LOAD in the Thoroughbred Basic Reference Manual.
Creating Protected Programs
Section titled “Creating Protected Programs”Mark the library and/or Source with the reserved password NOL (Protected). When used on a library, this password allows you to compile all Sources in the library as Protected. When using passwords, the Source password overrides the library password. This allows you to have a Protected library, but specify certain Sources as listable using the password LON (Listable).
In your Source document enter PASSWORD IS “password” and when the Source is compiled, the program will be protected using this password.
Both NOL and LON are always active and do not affect accessing libraries or Sources in the same way that standard passwords do.
- Note:
- The library password and Source password are separate and apart from the protected password.
You may use other passwords, but they affect the ability to load or edit Source documents. The password restricts access to the library or Source documents and the system compiles programs as Listable even if library or Source passwords are present (unless NOL has been specified for the password).
From the Source-IV, version 8.9.1. Open this page in the PDF