Question 160
Architecture principle case — A healthcare UI hides patient deletion buttons from ordinary staff but the API exposes the operation. The design review is extracting the transferable lesson for later software projects. Which security principle best governs the observation?
Explanation
Correct Answer
In Q0160, the fictional organizational observation is: A healthcare UI hides patient deletion buttons from ordinary staff but the API exposes the operation. The distinct underlying risk mechanism is: The design trusted client-rendered controls rather than enforcing policy server-side. Choice C addresses the governing security-design principle because it states: Anything controlled by an untrusted client can be bypassed and cannot serve as sole authorization. This fits the governing design principle: Anything controlled by an untrusted client can be bypassed and cannot serve as sole authorization. For measurable acceptance, the team should: Direct API tests deny forbidden operations even when the caller bypasses user-interface restrictions. Sustained prevention requires: Document server-enforced policy invariants independent of presentation and client libraries.
Incorrect Answers
Choice A describes a plausible governing security-design principle for a separate security issue, exposure through shared temporary files: Temporary storage placement and permissions broke intended tenant and data isolation. Its proposed response, “Sensitive intermediate artifacts require the same isolation as permanent records”, does not directly resolve this case. The discriminating cause is: The design trusted client-rendered controls rather than enforcing policy server-side. A stronger governing security-design principle would be: Anything controlled by an untrusted client can be bypassed and cannot serve as sole authorization. An objective reviewer would test: Direct API tests deny forbidden operations even when the caller bypasses user-interface restrictions.
Choice B describes a plausible governing security-design principle for a separate security issue, untrusted object identifier drives ownership: The design equates possession of an object identifier with permission to operate on the object. Its proposed response, “Resource identifiers locate objects; authorization rules decide whether an actor may access them”, does not directly resolve this case. The discriminating cause is: The design trusted client-rendered controls rather than enforcing policy server-side. A stronger governing security-design principle would be: Anything controlled by an untrusted client can be bypassed and cannot serve as sole authorization. An objective reviewer would test: Direct API tests deny forbidden operations even when the caller bypasses user-interface restrictions.
Choice D describes a plausible governing security-design principle for a separate security issue, no failure isolation between public and admin planes: The design shared capacity and dependency pools across security-critical and high-volume public functions. Its proposed response, “Security-critical recovery paths should survive stress on less-trusted public workloads”, does not directly resolve this case. The discriminating cause is: The design trusted client-rendered controls rather than enforcing policy server-side. A stronger governing security-design principle would be: Anything controlled by an untrusted client can be bypassed and cannot serve as sole authorization. An objective reviewer would test: Direct API tests deny forbidden operations even when the caller bypasses user-interface restrictions.



Secure Software Design (KEO1) Practice Tests