Security Architecture and Engineering

A team must deliver a service that handles file uploads for a single department. Four designs meet the requirements; which BEST applies keeping it simple and small?

Show the answer

Correct answerA. Use one well-reviewed standard upload component with only the required features enabled

AWhy this is right: A minimal, proven component with only needed features has the least code and attack surface to defend.

BWhy not this: Building for hypothetical future needs adds unneeded functionality and attack surface now.

CWhy not this: Redundant custom layers reflect defense in depth and add complexity and more code to get wrong.

DWhy not this: Custom cryptography is complex, unreviewed code and replaces a proven component with a riskier one.

Keeping it simple and small (economy of mechanism) favors minimal, well-understood components with only needed functions, which reduces code, attack surface and errors. Overlapping custom validators are defense in depth but add complexity, and a plug-in framework or custom crypto adds unneeded code.