MAC Overview
Overview
Mandatory Access Control (MAC) is an access control framework where the operating system or security kernel enforces restrictions on resource access that individual users cannot override. In MAC systems, security policies are centrally managed and applied uniformly across the system.
MAC Models in Casbin
Casbin implements several established MAC security models:
- BLP (Bell-LaPadula): A state transition model that enforces confidentiality properties
- Biba: An integrity-focused model designed to prevent unauthorized data modifications
- LBAC (Lattice-Based Access Control): A formal framework that can enforce both confidentiality and integrity controls
Core Characteristics
MAC models share these fundamental properties:
- Centralized Policy Management: Security policies are defined and enforced system-wide
- Security Labels: Both subjects and objects are assigned security clearances or classification levels
- Formal Security Properties: Each model implements specific security guarantees (such as "no read up" or "no write down")