Accessing Files Programmer's Guide (32650-90885)

Chapter 13 161
Maintaining File Security
Access Control Definition Security (ACD)
X Execute
NONE None
RACD Read and copy the ACD permission file
You could define an ACD as follows:
ACD = (R,W:MGR.ACCTING, DENNIS.LEE; R:@.PAYROLL; A:@.@)
The users MGR.ACCTING and DENNIS.LEE can read and write to the file associated with this
example ACD. Anyone in the PAYROLL account can read it, and anyone on the system can
append to it. For example, no one but DENNIS.LEE and the owners can overwrite the file,
and only the owners can lock it.
NOTE
If an ACD exists and if you are not explicitly given permission to access a file
or a device, you do not have access.
Managing ACDs with commands and intrinsics
Use MPE/iX commands to manage ACDs interactively, through the command interpreter.
Use MPE/iX intrinsics to manage ACDs in a program.
Commands
These MPE/iX commands accept ACD-related parameters or incorporate ACD associations
in their operation:
ALTSECT Permits the addition, creation, deletion, modification, copying, and listing
of ACD attributes.
COPY Always copies the ACD associated with the source file to the target file, if
an ACD is present.
FCOPY Permits copying ACD attributes.
FILE Permits the equation of one file/device-ACD specification to another
file/device-ACD specification.
LISTFILE Permits the listing of the ACD attributes associated with a file or device.
RELEASE Returns a warning when an ACD is associated with a file.
RESTORE Accomodates ACDs.
SECURE Returns a warning when an ACD is associated with a file.
SHOWDEV Permits the listing of ACD attributes associated with a device.
STORE Accomodates ACDs.
Detailed discussions of these commands are found in the MPE/iX Commands Reference
Manual.
Intrinsics
HPACDPUT Permits the addition, creation, deletion, modification, copying, and listing