π Access Control β Exam Notes (Network Security)
π 1. Definition
Access Control is the process of restricting and managing who can access resources (data, systems, networks) and what actions they can perform.
π Simple idea:
It ensures that only authorized users get the right level of access.
π― 2. Objectives of Access Control
- Protect confidential data
- Prevent unauthorized access
- Ensure proper use of resources
- Maintain accountability (track user actions)
π 3. Basic Concepts
πΉ Identification
- User claims identity (e.g., username).
πΉ Authentication
- Verifying identity.
- Example: Password, fingerprint.
πΉ Authorization
- Determines what access is allowed.
πΉ Accountability
- Tracks user activities (logs, audits).
π These steps are often part of AAA (Authentication, Authorization, Accounting).
π§± 4. Types of Access Control Models
πΈ 1. Discretionary Access Control (DAC)
- Owner controls access to resources.
- Example: File permissions in operating systems.
β Flexible
β Less secure
πΈ 2. Mandatory Access Control (MAC)
- Access controlled by system policies.
- Based on security levels.
β Highly secure
β Less flexible
πΈ 3. Role-Based Access Control (RBAC)
- Access based on user roles.
Example:
- Admin β full access
- Employee β limited access
β Easy to manage
πΈ 4. Attribute-Based Access Control (ABAC)
β Very flexible and dynamic
π 5. Authentication Methods
πΉ 1. Something You Know
πΉ 2. Something You Have
πΉ 3. Something You Are
- Biometrics (fingerprint, face)
π Multi-Factor Authentication (MFA) uses two or more methods.
π 6. Authorization Techniques
πΈ Access Control Lists (ACL)
- List of permissions for users.
πΈ Capability Lists
- Defines what a user can access.
β οΈ 7. Common Access Control Attacks
πΉ Password Attacks
- Brute force
- Dictionary attack
πΉ Privilege Escalation
- Gaining higher access rights.
πΉ Session Hijacking
π‘οΈ 8. Access Control Principles
πΈ Least Privilege
πΈ Separation of Duties
- Tasks divided among users.
πΈ Need to Know
- Access only when necessary.
π 9. Important Rules / Concepts
πΈ Strong Authentication Rule
- Use MFA for better security.
πΈ Password Policy
- Minimum 8β12 characters
- Mix of letters, numbers, symbols
πΌοΈ 10. Diagram Descriptions
π Access Control Process
- User β Authentication β Authorization β Resource
π RBAC Diagram
- Users β Roles β Permissions
π MFA Diagram
-
Show:
- Password + OTP + Biometrics
π§Ύ 11. Real-Life Examples
- π Logging into email using password + OTP (MFA)
- π’ Employees accessing files based on roles
- π¦ Banking apps using biometric authentication
- π» Admin having more privileges than normal users
π Likely Exam Questions
- Define access control and its importance.
- Explain AAA concept.
- Differentiate between authentication and authorization.
- Describe DAC, MAC, and RBAC models.
- What is multi-factor authentication (MFA)?
- Explain access control principles.
- What are ACLs?
- Describe common access control attacks.
- What is least privilege principle?
- Write short notes on:
π Quick Summary / Conclusion
- Access control ensures only authorized users can access resources.
- It includes identification, authentication, authorization, and accountability.
- Models like DAC, MAC, RBAC, and ABAC define access rules.
- MFA and strong policies improve security.
- Principles like least privilege reduce risks.
π In short:
Access control is a key mechanism to protect systems by managing user permissions effectively.