Trusted Solaris Label Administration

Specifying CHANNELS

The CHANNELS section in the label_encodings file defines the line (or lines) that can appear below the PRINTER BANNER line(s) on the lower third of the banner and trailer pages. The CHANNELS section can be specified to print a string whenever the label of a print job contains a certain compartment.

In the example in Figure 3-8, the channels are the lines that read DISTRIBUTE ONLY TO HUMAN RESOURCES EMPLOYEES (NON-DISCLOSURE AGREEMENT REQUIRED). At commercial sites, it is possible to specify any text you want to appear in the CHANNELS section with any compartment bit you choose.

Figure 3-8 Commercial Use of the CHANNELS Specification on the Print Job's Banner Page

Graphic

In government installations, the channels line(s) of the banner page conventionally are specified to display any caveats that are associated with the compartments of the job's label. Figure 3-9 shows a typical CHANNELS warning on a print job's banner page at a government installation: HANDLE VIA (CH B)/(CH A) CHANNELS JOINTLY.

The following discussion explains and illustrates how the CHANNELS string HANDLE VIA (CH B)/(CH A) CHANNELS JOINTLY is specified for a job whose label includes the compartment words A and B. For the purpose of the example, only (CH A) and (CH B) apply. However, since the compartment bit for a third channel (CH C) is included in their definitions, (CH C) is also mentioned in this discussion.

The example illustrates the following:

Figure 3-9 Government Use of the CHANNELS Specification on the Banner Page

Graphic

As shown in the following example, two suffixes CHANNELS JOINTLY and CHANNELS ONLY and a prefix HANDLE VIA are defined.


Example 3-4 Suffixes and Prefixes Defined in the CHANNELS Section in a Government label_encodings File


CHANNELS:

WORDS:
name= CHANNELS JOINTLY;         suffix;
name= CHANNELS ONLY;            suffix;
name= HANDLE VIA;               prefix;

Following the prefixes and suffixes definitions in Example 3-4, the channel names (CH A), (CH B), and (CH C) are specified in two different ways to achieve the following results:


Example 3-5 CHANNELS ONLY Suffix Defined to Appear Alone with Individual Channels


CHANNELS:

WORDS:

name= CHANNELS JOINTLY;         suffix;
name= CHANNELS ONLY;            suffix;
name= HANDLE VIA;               prefix;
name= (CH A);   prefix= HANDLE VIA; suffix= CHANNELS ONLY;
compartments= 0 ~1 ~6;
name= (CH B);   prefix= HANDLE VIA; suffix= CHANNELS ONLY;
compartments= ~0 1 ~6;
name= (CH C);   prefix= HANDLE VIA; suffix= CHANNELS ONLY;
compartments= ~0 ~1 6;

The first three lines of channel name definitions in the CHANNELS section shown in Example 3-5 have the following results:


Example 3-6 Encodings for More Than One Channel in the CHANNELS Section in a Government label_encodings File


name= (CH A);   prefix= HANDLE VIA; suffix= CHANNELS ONLY; compartments= 0 ~1 ~6;
name= (CH B);   prefix= HANDLE VIA; suffix= CHANNELS ONLY; compartments= ~0 1 ~6;
name= (CH C);   prefix= HANDLE VIA; suffix= CHANNELS ONLY; compartments= ~0 ~1 6;

The CHANNELS specification illustrates the importance of order when compartments are being encoded. The first three lines shown in Example 3-6 have already taken care of the cases when only one of the channels compartment bits is turned on, so the last three lines can take care of cases when more than one bit is turned. Therefore, none of the last three lines need to have any compartment bits explicitly set to 0. Because any cases where any of the channels words appears in the job's label by itself have already been taken care of, the result of these last three lines is that the suffix CHANNELS JOINTLY is always printed when any of two or more of the three compartment words associated with the channels is in the label:


Example 3-7 labels WORDS associated with Compartment Bit 6


SENSITIVITY LABELS:

WORDS:
  .
  .
  .	
name= CC;                       minclass= TS; compartments= 6;

Example 3-8 shows that compartment bit 1 is associated with the sensitivity labels word B.


Example 3-8 Sensitivity Labels WORDS Associated with Compartment Bit 1


SENSITIVITY LABELS:

WORDS:
  .  .  .	
name= B;                        minclass=  C; compartments= 1;

Example 3-9 shows that compartment bit 0 is associated with sensitivity labels word A.


Example 3-9 Sensitivity Labels WORDS Associated with Compartment Bit 0


SENSITIVITY LABELS:

WORDS:
   .   .	   .
name= A;                        minclass=  C; compartments= 0;

To sum up, the channels line prints as HANDLE VIA (CH B)/(CH A) CHANNELS JOINTLY because:

The following table may be used to plan CHANNELS.

Table 3-3 CHANNELS Planner (for Prefixes, Channel Words, and Suffixes)

For Compartment Bit(s)  

Print This Prefix 

Print This Channel  

Print This Suffix