SECURE PROCEDURE NAME command

From m204wiki
Revision as of 01:05, 28 February 2013 by Alex (talk | contribs) (Automatically generated page update)
(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 is the name of an existing procedure to be secured.
pclass is 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: Defining user privileges for secured procedures. 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 User Language 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. For more information about Model 204 update units, see the Model 204 File Manager's Guide.