Authentication, Authorization, and Access Control
Key points
- MFA combining knowledge, possession, and inherence factors is essential for systems containing personal data
- WebAuthn/FIDO2 eliminates centralized password storage by keeping private keys on user devices
- RBAC assigns permissions to roles for simplified management; ABAC evaluates multiple attributes for fine grained context aware decisions
- Purpose based access control adds purpose limitation enforcement by validating the declared processing purpose against authorized purposes
- Least privilege requires granular permissions, just in time elevated access, regular reviews, and separation of duties
- OAuth 2.0 scopes control which data fields third party applications can access; users can revoke access independently
- Biometric authentication uses special category data requiring explicit consent, on device storage preferred to avoid centralized biometric databases
Authentication, Authorization, and Access Control
Access control is the primary mechanism preventing unauthorized access to personal data. This lesson covers the authentication and authorization models tested on the CDPSE exam.
Authentication
Authentication verifies identity (who are you?). Privacy relevant authentication mechanisms include:
Multi Factor Authentication (MFA): Combining two or more factors from knowledge (passwords), possession (tokens, phones), and inherence (biometrics). MFA is essential for accessing systems containing personal data because it reduces the risk of credential based breaches.
Passwordless Authentication (WebAuthn/FIDO2): Uses public key cryptography where the private key never leaves the user's device. The privacy benefit is eliminating centralized password storage, reducing breach exposure. The server stores only the public key.
Risk Based Authentication: Adaptive systems that adjust authentication strength based on context: unusual location or device triggers step up authentication, routine access from known contexts may accept lower friction. This balances security with user experience.
Biometric Authentication: Uses immutable biological characteristics (fingerprint, face, iris). Privacy implications include: biometric data is special category data requiring explicit consent, templates cannot be changed if compromised, and liveness detection is needed to prevent spoofing. On device template storage avoids centralized biometric databases.
Authorization Models
Authorization determines what an authenticated user can do (what are you allowed to access?).
Role Based Access Control (RBAC): Permissions assigned to roles (analyst, administrator, DPO) rather than individuals. Users inherit permissions through role assignment. RBAC simplifies management and audit but can become complex with many roles (role explosion).
Attribute Based Access Control (ABAC): Evaluates access requests against combinations of user attributes (role, department, clearance), resource attributes (classification, sensitivity), action attributes (read, write, delete), and environmental attributes (time, location, device). ABAC enables fine grained, context aware decisions.
Purpose Based Access Control: Authorization based on the declared processing purpose. The system verifies that the stated purpose is a legitimate, documented reason for accessing the data, adding purpose limitation enforcement beyond role checking.
Principle of Least Privilege
Access to personal data should be limited to the minimum necessary for each function. Implementation includes: granular permission design (read vs write vs delete), just in time access provisioning for elevated privileges with automatic revocation, regular access reviews that certify continued need, and separation of duties preventing any single role from having excessive access.
OAuth 2.0 and OpenID Connect
OAuth 2.0 is an authorization framework enabling third party applications to obtain limited, scope based access to data on behalf of users. OpenID Connect adds an authentication layer providing standardized identity claims. For privacy, OAuth scopes control exactly which data fields each application can access, and users can revoke access without changing passwords.
Session Management
Session management controls the lifecycle of authenticated sessions. Privacy relevant aspects include: session timeout enforcement limiting data exposure windows, secure token generation and storage, session invalidation on logout, prevention of session fixation and hijacking, and clearing session data containing personal information after expiry.
Practical Example
A hospital information system uses ABAC to manage access to patient records. An emergency room doctor requesting a patient's full record at 2 AM from the hospital network is granted access (user: doctor, resource: current patient, environment: hospital network, time: during shift). The same doctor requesting the same record from a home network at midnight for a non-current patient is challenged with step-up authentication and the access is logged for review. The ABAC policy evaluates multiple attributes simultaneously, providing context-aware privacy protection that RBAC alone cannot achieve.