ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Information Security
    COMP2120
    Progress0 / 15 topics
    Topics
    1. Information security foundations2. Security design principles3. Security mechanisms4. Symmetric and asymmetric cryptography5. Encryption techniques6. Hash functions and digital signatures7. Key management, authentication and access control8. Software security: Vulnerabilities and protections9. Malware and database security10. Network security: Firewalls and intrusion detection11. Security policies: Formation and enforcement12. Risk assessment in information security13. Cybercrime, law and ethics in information security14. Privacy and anonymity of data15. Practicals of Information security
    COMP2120›Security design principles
    Information SecurityTopic 2 of 15Regular Notes

    Security design principles

    3 minread
    475words
    Beginnerlevel

    Security Design Principles—these are essential guidelines followed when designing secure systems, software, or networks. They help minimize vulnerabilities and reduce the risk of security breaches.


    🧱 Security Design Principles

    These principles were originally defined by Saltzer and Schroeder and are still widely used today in modern security architecture.


    1. Least Privilege

    A subject (user, program, process) should be given only the minimum access rights it needs to perform its job.

    ✅ Reduces the potential damage from accidents or malicious behavior.
    🛡️ Example: A user who only needs to read a file shouldn’t have write permissions.


    2. Fail-Safe Defaults (Default Deny)

    By default, access should be denied, and permissions should be granted only when explicitly required.

    ✅ Helps prevent unintended access.
    🛡️ Example: A new user account starts with no access until permissions are set.


    3. Economy of Mechanism

    Keep the design as simple and small as possible.

    ✅ Simpler systems are easier to understand, audit, and secure.
    🛡️ Example: Avoid overly complex authentication systems unless necessary.


    4. Complete Mediation

    Every access to every resource must be checked for authorization.

    ✅ Prevents bypassing security checks by reusing already validated sessions or tokens.
    🛡️ Example: A web app checking permissions every time a user requests a resource—not just at login.


    5. Open Design

    The security of the system should not depend on secrecy of design or implementation.

    ✅ Relies on strong cryptographic keys, not secrecy of algorithms.
    🛡️ Example: Use open-source encryption standards like AES.


    6. Separation of Privilege

    Access should depend on more than one condition (multifactor, multilevel).

    ✅ Adds layers of security.
    🛡️ Example: A user needs both a password and a smart card to log in.


    7. Least Common Mechanism

    Minimize the sharing of mechanisms between users to prevent unintended information flow.

    ✅ Reduces risk from shared dependencies.
    🛡️ Example: Avoid shared memory between users unless properly isolated.


    8. Psychological Acceptability

    Security mechanisms should be easy to use and understand.

    ✅ Users are more likely to follow security procedures.
    🛡️ Example: Clear error messages, user-friendly authentication, and simple security prompts.


    9. Defense in Depth

    Use multiple layers of security controls so if one fails, others still protect the system.

    ✅ Increases overall system resilience.
    🛡️ Example: Firewall + antivirus + intrusion detection + encryption.


    10. Minimize Attack Surface

    Reduce the number of entry points where an attacker could gain access.

    ✅ Fewer vulnerabilities to exploit.
    🛡️ Example: Disable unused services and close unnecessary ports.


    Quick Summary Table:

    Principle Description
    Least Privilege Minimum required access only
    Fail-Safe Defaults Deny by default
    Economy of Mechanism Keep it simple
    Complete Mediation Check every access
    Open Design Security doesn't depend on secrecy
    Separation of Privilege Use multiple conditions
    Least Common Mechanism Avoid shared resources
    Psychological Acceptability Make security user-friendly
    Defense in Depth Multiple layers of defense
    Minimize Attack Surface Reduce points of vulnerability

    Previous topic 1
    Information security foundations
    Next topic 3
    Security mechanisms

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time3 min
      Word count475
      Code examples0
      DifficultyBeginner