When a file is generated or edited using the command CREATE-FILE or MODIFY-FILE-ATTRIBUTES then it is possible to assign a password for each access mode (READ, WRITE, EXEC) (Operand PROTECTION=*PAR(<accessmode> PASSWORD=...
)).
|
specified for read access( |
|
specified for write access( |
|
specified for execute access( |
When file attributes are modified using the MODIFY-FILE-ATTRIBUTES command, the previously specified passwords must be entered in accordance with the applicable password hierarchy (WRITE-PASSWORD – READ-PASSWORD – EXEC-PASSWORD).
When a file is edited (commands ADD-FILE-LINK-EXPIRATION-DATE=... or MODIFY-FILE-ATTRIBUTES...,PROTECTION=*PARAMETERS(EXPIRATION-DATE=...), it is possible to assign or modify a retention period.
Until this period has expired, any write access (by means of the “w” attribute in the file’s Basic Action Control List or because of an ACCESS= *WRITE in the case of standard access control) is ineffective. The file is therefore only available for read access.