SECURE PROCEDURE NAME command

From m204wiki
Revision as of 20:24, 28 September 2017 by JAL (talk | contribs) (minor formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Privileges
File manager
Function
Secures a procedure

Syntax

SECURE [PROCEDURE] NAME=procname [,procname]... PCLASS=pclass

Where:

procname The name of an existing procedure to be secured.
pclass The number of the procedure class to be assigned to the procedure(s). The number must be in the range 1 to 255.

Syntax notes

Commas are required.

When this command is issued, the password table should be updated by the system manager using LOGCTL with a password that has UCLASS associated with it.

Example

SECURE PROCEDURE NAME = PAY PCLASS = 7 SECURE NAME = EMPLOY, PERSNEL PCLASS = 8

Usage notes

The SECURE PROCEDURE command secures a procedure by assigning a class to it. Access to a secured procedure is limited to users whose user classes authorize them to access the procedure class specified for the procedure. The way in which user classes are mapped to procedure classes is discussed in SECURE PROCEDURE ACCESS command. This mapping can be used to restrict access to procedures that perform sensitive operations such as updating personnel records or displaying salary data.

If any of the procedures specified in the command are currently secured, their old procedure classes are changed to the new one.

When it processes SECURE PROCEDURE NAME, Model 204 ends any current SOUL update unit and begins a non-backoutable update unit. If a Model 204 command non-backoutable update unit is in progress, SECURE PROCEDURE NAME is included in that update unit. See update units for more information.