Compartmentalization is a security practice that divides sensitive information into restricted segments so people can access only what they need to know. It is a core part of least-privilege design: users, teams, and systems are given narrow permissions instead of broad visibility across all data.
In cyber security, compartmentalization reduces the damage from mistakes, compromised accounts, and insider threats. If one credential is stolen, the attacker should only reach a small slice of the environment, not the whole network or document set. Defenders use it in classified systems, incident response, cloud IAM, and key management by separating roles, limiting cross-domain access, and isolating sensitive metadata. Strong compartmentalization also supports auditing, because access can be traced to a specific need and function.


