Security Policies
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Although QNX OS allows a process to set which operations it is permitted to do, a better option is to use the system’s security policies functionality. Security policies provide the following benefits over manually setting process abilities using procmgr_ability():
- The location in the path space where a process can attach can only be restricted using a security policy.
- A security policy can control a process's ability to perform a ConnectAttach() on a public channel of another process.
- If a process uses procmgr_ability() to set its own permissions independent of an individual system, the developer needs to predict what permissions are required, both now and in the future, or use command-line options to discover them. To solve this issue, developers may assign abilities that are too permissive or not needed, which makes the system less secure. Using security policies allows the system integrator to assign only the abilities that the process needs for the specific system.
- The secpolgenerate utility that generates and updates security policies can determine which privileges processes require without needing to know what an individual process does.
- A system integrator might not be able to examine the arguments to every procmgr_ability() call because he or she does not have access to source code, making it hard to audit a system. Security policies centralize permissions and can be easily audited by the system administrator, even without access to the source code.
- Although a system integrator can view the abilities assigned to a process using pidin, he or she only sees the abilities of running processes. A security policy allows the system integrator to view the abilities assigned to all process, including those that are not currently running.
- Security policies can be extended with other classes as needed.
Note that some OS components and/or subsystems may have specific security policy practices:
OS component/Subsystem | See: |
---|---|
Screen Graphics Subsystem |
Security policiesin the Screen Graphics Subsystem Developer's Guide |
Page updated: