85 min total

Information Security

Security design principles

Security design principles

No foolproof technique exists to prevent all unauthorized actions

PrincipleDescription
1Economy of MechanismKeep program designs simple and small. Simpler designs are easier to test and verify; fewer exploitable flaws.
2Fail-Safe DefaultsDefault to no access; explicitly permit access as needed. Failure tends to deny access rather than allow it, which is safer and easier to detect.
3Complete Mediationevery time someone tries to access a resource, the system should check their access rights again, rather than relying on a past decision.
4Open DesignSecurity mechanisms should be open for public scrutiny; keep algorithms public but keys secret. Enables review by experts, increasing confidence in security.
5Separation of PrivilegeRequire multiple privilege attributes for access. Multifactor authentication (e.g., password + smart card).
6Least PrivilegeEach user or process is granted only the permissions needed for their specific tasks. Nothing more, nothing less. For example, if a user only needs to read files, they shouldn’t be granted write permissions.
7Least Common Mechanismreducing the number of shared resources among different users or processes.
8Psychological AcceptabilitySecurity mechanisms should be user-friendly and minimal. If security mechanisms hinder the usability or accessibility of resources, users may opt to turn off those security features.
9IsolationIsolate public systems from critical data (physical/logical isolation). Isolate individual users' processes and files. Isolate security mechanisms from other system parts. Prevents unauthorized access and tampering.
10EncapsulationProtect data by encapsulating it within a domain, accessible only through designated procedures. Ensures internal structures are hidden, maintaining control over access.
11ModularityDesign the Security system as a collection of separate, distinct components or modules that can be developed, tested, and maintained independently.
12LayeringUse multiple, overlapping protection approaches. Ensure that failure of one protection layer does not leave the system unprotected.
13Least AstonishmentLeast Astonishment is a principle that focuses on designing systems and interfaces that align with user expectations and common practices, reducing confusion and errors.