Concept Focus

In Security Architecture we will explore three ideas that only make sense together: Secure by Design, Privacy by Design, and Zero Trust Architecture.

The stack you must think in

Security engineering is only coherent when it follows the organization's risk posture and flows down into how we actually ship code.

If the top two are fuzzy, every "control" degenerates into checkbox theatre.

The Secure Engineering lifecycle

Think of the SDLC as a series of security decision points.

Verification vs. Validation

Verification: “Did we build it right?” (meets design and spec). Validation: “Did we build the right thing?” (meets user, business, and regulatory need).

Secure design principles

Attack surface, in one page

Reduce the number of places an attacker can touch.

Privacy by Design — seven principles, applied

The seven foundational principles of Privacy by Design
Privacy by Design, the seven foundational principles

Zero Trust Architecture — from slogan to system

Principles: always verify · least privilege · assume breach. Controls: strong IAM, MFA, device posture, continuous evaluation, microsegmentation, encryption everywhere, dense telemetry.

Five steps to implement:

Secure by Design Blueprint — Neuromesh

Requirements. Abuse cases include token exfiltration, vendor over-reach, and rogue insider queries.

Architecture.

Implementation.

Verification: targeted threat model reprise; unit tests for policy; red-team query attempts. Validation: DPIA sign-off, performance SLOs, and vendor contract clauses for retention and deletion. Ops / Transition: JIT access for vendor analysts; scheduled key rotation; de-provision on contract end.

Privacy by Design Decisions

Zero Trust in Practice

Brain Ticklers

Practice Questions — Domain 3 · Secure by Design

Q1. Neuromesh must give a vendor access to only a subset of analytics tables for 14 days, tied to a specific incident. Which design best reflects least privilege and purpose limitation?

  1. Create a new “vendor-analyst” global role with read access to the lake
  2. Grant read access via VPN; rely on NDAs to restrict misuse
  3. Issue JIT ABAC policies scoped to dataset tags + time window + ticket ID, enforced at the PEP
  4. Mirror the dataset to a staging project and share the whole project

Q2. A legacy service can't do MFA. Which Zero Trust control most reduces risk while keeping it online?

  1. Place it on a private VLAN behind the firewall
  2. Terminate behind an identity-aware proxy (PEP) with service-to-service mTLS and policy checks
  3. Allow direct access from the corporate IP ranges only
  4. Put a WAF in front and log everything

Q3. An access gateway crashes. What's the fail mode for a high-sensitivity dataset?

  1. Fail-open to preserve analyst productivity
  2. Fail-safe to avoid harming people
  3. Fail-closed or fail-secure, dropping requests if authorization is uncertain
  4. Retry to a mirror with anonymous access

Q4. Which change most reduces attack surface for Neuromesh APIs?

  1. Add a new monitoring dashboard
  2. Close unused endpoints, consolidate to one hardened auth path, and require signed requests
  3. Increase API rate limits
  4. Move the APIs to a bigger subnet

Q5. Which option best exemplifies Privacy by Design, privacy by default?

  1. Collect all telemetry fields and let users disable later in settings
  2. Opt-in consent with minimized fields enabled by default; granular toggles, clear notices, and provable deletion
  3. Collect everything but promise not to misuse it
  4. Only anonymize exports; keep raw PII indefinitely