The Trusted X Window System interfaces manage security-related attribute information for various X Window objects. If your application GUI is created with Motif only, you need to use XToolkit routines within the Motif application to retrieve the Xlib object IDs underlying the Motif widgets to handle security attribute information for an Xlib object.
The X Window objects for which security attribute information can be retrieved by the Trusted X Window System interfaces are window, property, X Window Server, and the connection between the client and the X Window Server. Xlib provides calls to retrieve window, property, display, and client connection IDs.
Windows - Present output to the end user and accept input from clients.
Properties - A property is an arbitrary collection of data accessed by the property name. Property names and property types can be referenced by an atom, which is a 32-bit unique identifier and a character name string.
The security attributes for windows, properties, and client connections consist of ownership IDs and CMW label information. See "Data Types, Header Files, and Libraries" for information on the structures for capturing some of these attributes, and "Programming Interface Declarations" for information on the interfaces that get and set security attribute information.