Lesson 1 of 2 Information System Lifecycle

Requirements, Design and Development

Security is most effective and cheapest when it is part of the earliest lifecycle stages. This lesson covers stakeholder needs, requirements analysis, architectural design and development.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how security is built into stakeholder requirements, analysis and architectural design.
  • Describe why late security is costly.

Stakeholder needs and requirements analysis

The lifecycle begins by identifying stakeholders: business owners, users, operators, security and privacy teams, auditors, regulators and customers. Their needs include functions, security and privacy protections, legal obligations and constraints such as budget and schedule. NIST SP 800-160 describes systems security engineering across these lifecycle processes.

Requirements analysis turns needs into clear, testable requirements, such as "all administrative access requires phishing-resistant MFA", and resolves conflicts between them. Threat modelling, risk assessment and misuse cases reveal requirements that stakeholders did not state. Each requirement is traced to its source and later to design elements and tests.

Stakeholders rarely state security needs in usable form. A business owner may say "the system must be secure" or "only the right people should see salaries", neither of which can be tested. Requirements analysis turns such statements into specific requirements: "salary fields are visible only to users in the payroll role", "every change to a salary is logged with the user, time and old and new values" and "logs are retained for seven years". Each of these can be designed, built and verified. A good security requirement states what must happen, not which product will do it, so that designers keep the freedom to choose the best mechanism.

Conflicts between requirements are resolved during analysis, not left for developers to discover. A requirement for a ten-minute session timeout may conflict with a clinical user's need to keep a patient record open during a long procedure; the analysis might resolve this with a proximity badge that locks the screen when the clinician walks away. Recording why each conflict was resolved the way it was helps later teams avoid reopening the same decisions.

The following diagram compares capturing security requirements early with adding them later.

Why security requirements belong at the start. They shape the architecture, including authentication design, data segregation, encryption, logging and trust boundaries, so adding them after the system is built forces redesign and rework that costs far more, or leaves gaps that become vulnerabilities.
This is often called shifting security left.
Sort into groups

Usable security requirement?

Exam skills 3.10.1 · 3.10.2

Decide whether each statement is a usable security requirement or still needs analysis.

Log in to try this activity Interactive activities are free with an account.

Architectural design and development

Architectural design allocates requirements to components, defines interfaces, data flows and trust boundaries, and applies secure design principles such as least privilege, defence in depth, secure defaults and zero trust. Design reviews and threat models at this stage find structural flaws, which are far more expensive to correct after the system is built.

Development and implementation build hardware, software and infrastructure according to the design, using secure coding standards, approved components, protected build environments, code review and automated testing. Domain 8 covers software development security in detail.

The cost of fixing a flaw rises sharply the later it is found, which is the economic argument for security in early stages. A missing requirement for encrypting a data field costs a few minutes to add during analysis. The same omission discovered during design requires changes to the data model. Discovered in testing, it requires code changes, data migration and retesting. Discovered after a breach, it adds notification costs, fines and lost customers. The precise multipliers vary between studies, but the direction is consistent and is why the CISSP view is that security is built in, not bolted on.

Architectural decisions with the largest security impact include where trust boundaries lie, how users and services authenticate, where sensitive data is stored and whether it is encrypted, how components are separated and how the system will be logged and monitored. An architecture review checks each of these against the requirements before detailed design begins, and the threat model produced at this stage becomes an input to development and testing.

Put in order

The rising cost of a missed requirement

Exam skills 3.10.3 · 3.10.4

Arrange where a missing encryption requirement could be found, from cheapest to most expensive.

Log in to try this activity Interactive activities are free with an account.
Worked example

The cost of late security

A project team plans to add security requirements after the system has been built, "once we know what the system looks like". What is the main problem with this approach?

Security requirements affect architecture: authentication design, data segregation, encryption, logging and trust boundaries. Adding them after construction often requires redesign and rework that costs far more than building them in, or leaves gaps that become vulnerabilities. Security requirements should be captured with the other stakeholder requirements at the start and refined through design.

Check yourself

Why should security requirements be testable?

Show answer

So that verification can confirm they were met; untestable requirements cannot be verified.

Exam Tips

Remember for the exam

  • Capture security requirements with all other requirements, at the start.
  • Make requirements testable and traceable.
  • Design flaws cost more to fix than implementation bugs.