Security Labels: An Example
- Projects on the same system cannot access each other's data
- Projects on the same system have access to common data (such as tools or data that they need read access to, but not write access)
- REG (registered, currently the highest security level on the system)
- RES (restricted)
- CON (confidential)
- INT (internal)
- If the SETROPTS MLACTIVE option is in effect, create a third security
category (called COMCAT). When you create security labels, include
the common category in security labels to allow users logged on at
those security labels to read common data.
Create a security label at the lowest defined security level (INT) that includes a third security category (COMCAT).
- If the SETROPTS MLACTIVE option is not in effect, assign no security label to profiles protecting the common data.
Data at the lowest security level (INT) within a particular project is shown primarily to show the effect of creating security labels that include no category for common data.
Security
Levels Project A COMCAT Project B
+------------------------+
REG/30 | REGA |
+------------------------+
+------------------------+
| REGB |
+------------------------+
+------------------------+
RES/20 | RESA |
+------------------------+
+------------------------+
| RESB |
+------------------------+
+------------------------+
CON/20 | CONA |
+------------------------+
+------------------------+
| CONB |
+------------------------+
INT/10 +------+ +--------+ +------+
| INTA | | COMLBL | | INTB |
+------+ +--------+ +------+
----------
- SYSLOW -
----------
- SYSHIGH includes security level REG and categories A, B, and COMCAT.
- SYSLOW includes security level INT and no categories.
RDEFINE SECLABEL REGA SECLEVEL(REG) ADDCAT(A COMCAT) UACC(NONE)
RDEFINE SECLABEL RESA SECLEVEL(RES) ADDCAT(A COMCAT) UACC(NONE)
RDEFINE SECLABEL CONA SECLEVEL(CON) ADDCAT(A COMCAT) UACC(NONE)
RDEFINE SECLABEL INTA SECLEVEL(INT) ADDCAT(A) UACC(NONE)RDEFINE SECLABEL REGB SECLEVEL(REG) ADDCAT(B COMCAT) UACC(NONE)
RDEFINE SECLABEL RESB SECLEVEL(RES) ADDCAT(B COMCAT) UACC(NONE)
RDEFINE SECLABEL CONB SECLEVEL(CON) ADDCAT(B COMCAT) UACC(NONE)
RDEFINE SECLABEL INTB SECLEVEL(INT) ADDCAT(B) UACC(NONE)RDEFINE SECLABEL COMLBL SECLEVEL(INT) ADDCAT(COMCAT) UACC(NONE)Commands to Assign Security Labels to Users:
ALTUSER ADMIN SECLABEL(SYSHIGH)ALTUSER LEADERA SECLABEL(REGA)
PERMIT (REGA RESA CONA INTA) CLASS(SECLABEL) ID(LEADERA) ACCESS(READ)ALTUSER WORKERA SECLABEL(INTA)
PERMIT INTA CLASS(SECLABEL) ID(WORKERA) ACCESS(READ)ALTDSD 'GROUPA.REGA.**' SECLABEL(REGA)
ALTDSD 'GROUPA.RESA.**' SECLABEL(RESA)
ALTDSD 'GROUPA.CONA.**' SECLABEL(CONA)
ALTDSD 'GROUPA.INTA.**' SECLABEL(INTA)
RALTER VMMDISK GROUPA.294 SECLABEL(REGA)
RALTER VMMDISK GROUPA.293 SECLABEL(RESA)
RALTER VMMDISK GROUPA.292 SECLABEL(CONA)
RALTER VMMDISK GROUPA.291 SECLABEL(INTA)ALTDSD 'COMMON.DATA' SECLABEL(COMLBL)
RALTER VMMDISK COMMON.191 SECLABEL(COMLBL)What Users Can Do Based on Security Label Authorization Checking (SETROPTS NOMLS in Effect):
Users who log on with project A security labels can only view data with security labels REGA, RESA, CONA, INTA, and COMLBL.
Users who log on with project B security labels can only view data with security labels REGB, RESB, CONB, INTB, and COMLBL.
Note that data with security label COMLBL can be seen by users in either project A or project B.
- Can read or update data with lower security labels in that project, plus COMLBL
- Cannot read data with higher security labels in that project.
- Read or update data with security label RESA, CONA, INTA, and COMLBL
- Cannot read data with security label REGA.
What Users Can Do Based on Security Label Authorization Checking (SETROPTS MLS(FAILURES) in Effect):
Users who log on with project A security labels can only view data with security labels REGA, RESA, CONA, INTA, and COMLBL.
Users who log on with project B security labels can only view data with security labels REGB, RESB, CONB, INTB, and COMLBL.
Note that data with security label COMLBL can be seen by users in either project A or project B.
- Can update data with that security label
- Can read data with lower security labels in that project, plus COMLBL
- Cannot read data with higher security labels in that project.
- Update data with security label RESA
- Read data from lower security labels in that project: CONA, INTA, and COMLBL
- Cannot read data with security label REGA.