Machine Learning pathway increased my salary by 40%
Security Engineering for Developers: OWASP, Secrets and Supply Chain
Security as a build property: input handling, authentication and authorisation patterns, secret management and the dependency controls that stop the next incident.
What this covers
- Input and output handling
- validation, encoding and the injection classes that follow
- Authentication and authorisation
- session design, token handling and authorisation checks at the right layer
- Secrets management
- vaulted storage, rotation and the ban on secrets in code and logs
- Dependency control
- pinning, provenance and automated upgrade paths
- Threat modelling
- a short, per-feature exercise rather than an annual document
What this discipline actually is
Security Engineering for Developers: OWASP, Secrets and Supply Chain is the discipline of making application security engineering work as an operational capability rather than a one-off project. It sits inside application engineering, platform delivery and engineering operations, and it is defined less by a single technology than by a set of decisions that have to agree with each other: what the system is allowed to decide on its own, what evidence proves it did so correctly, who owns it when it behaves badly, and what it costs to keep running after the pilot ends. Teams that treat those four questions as engineering deliverables produce something durable. Teams that treat them as documentation produce a demonstration.
The discipline rests on Input and output handling, Authentication and authorisation, Secrets management, and on Dependency control, Threat modelling. Each of these is a control surface as much as a technical idea. Input and output handling determines what the design can claim; Authentication and authorisation determines how the claim is tested; Secrets management determines whether the result survives contact with production volume, change and failure. Practitioners are expected to reason about all three together, because optimising one in isolation reliably degrades the others.
Adoption in 2026 is uneven in a way that is easy to misread from vendor material. Capability exists, tooling exists, and reference designs exist, yet the gap between organisations that have a working capability and organisations that have a working demonstration remains wide. The difference is rarely model quality or platform choice. It is whether the programme defined its requirements in measurable terms, instrumented the result, and staffed the operational half of the work. That is the standard this course holds learners to.
What you will be able to do
- Explain what application security engineering is, what it is not, and which decisions it actually owns inside application engineering, platform delivery and engineering operations.
- Evaluate the Input and output handling and Authentication and authorisation trade-offs for a stated workload and justify the choice with evidence.
- Design an architecture for application security engineering that states its constraints, its failure behaviour and its cost model.
- Select and integrate tooling from SAST and DAST scanners, Dependency scanners, Secret managers without creating an operating burden the team cannot carry.
- Define the measures that demonstrate the capability is working, and instrument them before the change rather than after.
- Write the governance, ownership and review artefacts that let another team operate what you built.
Why it matters, and what delay costs
The economic case for application security engineering is made in units, not in capabilities. Every credible business case reduces to one of four numbers: cost per unit of delivered work, time to deliver a change, frequency and cost of a failure mode being removed, or the value of a capability that did not previously exist. Programmes that cannot state which of these they are moving, and by how much, are usually approved on enthusiasm and reviewed on politics. The discipline taught here is to name the number before the design, then let the design be judged against it.
The cost of delay is equally concrete, and it is usually understated. Organisations that postpone this work accumulate exceptions: ad-hoc tooling, undocumented decisions, individual experts holding critical knowledge, and a growing backlog of remediation that eventually becomes the constraint on everything else. Security Engineering for Developers: OWASP, Secrets and Supply Chain is also where regulatory, security and operational obligations converge, so the deferral rarely stays technical. It becomes an audit finding, an incident, or a procurement blocker at the moment the organisation can least afford one.
The 2026 technology and adoption landscape
The 2026 technology landscape for application security engineering is broad enough that selection discipline matters more than product knowledge. The working set in most enterprises includes SAST and DAST scanners, Dependency scanners, Secret managers, WAF and API gateways. Each carries assumptions about data model, deployment model, and the skills required to operate it. Open-source alternatives have closed much of the functional gap in the last two years, which shifts the decision from feature comparison to total cost of ownership, support model and the availability of people who can run it.
Adoption patterns differ by sector and region in ways that change the requirements. Regulated industries adopt slowly and instrument heavily, because evidence is part of the deliverable. Product-led organisations adopt quickly and instrument late, then discover that they cannot answer basic questions about behaviour, cost or failure. Public-sector and GCC programmes tend to be shaped by procurement cycles and residency rules. The practical lesson is that the same capability needs a different operating model in each context, and copying a reference architecture without its governance is the most common source of disappointment.
Input and output handling
Input and output handling is the part of application security engineering that validation, encoding and the injection classes that follow. It matters because it converts an intention into something a reviewer can inspect: a design decision, a test, a control, or a documented limit. Without it, the surrounding work still functions in a demonstration and fails in production, usually at the point where volume, variation or an auditor arrives. Treat it as a first-class deliverable with an owner, not as a paragraph in a design document.
In practice, input and output handling is where teams disagree most often, because the honest answer is usually a trade-off rather than a best practice. The decision should be recorded with the constraint that shaped it, so the next team inherits reasoning instead of folklore.
| Element | What it decides | If it is ignored | Evidence of control |
|---|---|---|---|
| Design intent | validation, encoding and the injection classes that follow | The design drifts from the requirement without anyone noticing | A recorded decision with the constraint that shaped it |
| Boundary behaviour | How input and output handling behaves at the limit of volume, variation or failure | Steady state passes and the boundary case causes the incident | A test at the boundary, with results kept |
| Ownership | Who is accountable when it is wrong | Issues are discovered by whoever notices, not by whoever owns | A named owner in the operating model |
| Review cadence | When the assumption behind it is re-checked | The design outlives the conditions that justified it | A scheduled review with recorded outcomes |
Authentication and authorisation
Authentication and authorisation is the part of application security engineering that session design, token handling and authorisation checks at the right layer. It matters because it converts an intention into something a reviewer can inspect: a design decision, a test, a control, or a documented limit. Without it, the surrounding work still functions in a demonstration and fails in production, usually at the point where volume, variation or an auditor arrives. Treat it as a first-class deliverable with an owner, not as a paragraph in a design document.
In practice, authentication and authorisation is where teams disagree most often, because the honest answer is usually a trade-off rather than a best practice. The decision should be tested against a representative workload, because the boundary cases are where the design is actually defined.
| Element | What it decides | If it is ignored | Evidence of control |
|---|---|---|---|
| Design intent | session design, token handling and authorisation checks at the right layer | The design drifts from the requirement without anyone noticing | A recorded decision with the constraint that shaped it |
| Boundary behaviour | How authentication and authorisation behaves at the limit of volume, variation or failure | Steady state passes and the boundary case causes the incident | A test at the boundary, with results kept |
| Ownership | Who is accountable when it is wrong | Issues are discovered by whoever notices, not by whoever owns | A named owner in the operating model |
| Review cadence | When the assumption behind it is re-checked | The design outlives the conditions that justified it | A scheduled review with recorded outcomes |
Secrets management
Secrets management is the part of application security engineering that vaulted storage, rotation and the ban on secrets in code and logs. It matters because it converts an intention into something a reviewer can inspect: a design decision, a test, a control, or a documented limit. Without it, the surrounding work still functions in a demonstration and fails in production, usually at the point where volume, variation or an auditor arrives. Treat it as a first-class deliverable with an owner, not as a paragraph in a design document.
In practice, secrets management is where teams disagree most often, because the honest answer is usually a trade-off rather than a best practice. The decision should be revisited on a schedule, since the assumptions behind it decay faster than the implementation does.
| Element | What it decides | If it is ignored | Evidence of control |
|---|---|---|---|
| Design intent | vaulted storage, rotation and the ban on secrets in code and logs | The design drifts from the requirement without anyone noticing | A recorded decision with the constraint that shaped it |
| Boundary behaviour | How secrets management behaves at the limit of volume, variation or failure | Steady state passes and the boundary case causes the incident | A test at the boundary, with results kept |
| Ownership | Who is accountable when it is wrong | Issues are discovered by whoever notices, not by whoever owns | A named owner in the operating model |
| Review cadence | When the assumption behind it is re-checked | The design outlives the conditions that justified it | A scheduled review with recorded outcomes |
Dependency control
Dependency control is the part of application security engineering that pinning, provenance and automated upgrade paths. It matters because it converts an intention into something a reviewer can inspect: a design decision, a test, a control, or a documented limit. Without it, the surrounding work still functions in a demonstration and fails in production, usually at the point where volume, variation or an auditor arrives. Treat it as a first-class deliverable with an owner, not as a paragraph in a design document.
In practice, dependency control is where teams disagree most often, because the honest answer is usually a trade-off rather than a best practice. The decision should be paired with a detection mechanism, because a control nobody can observe is a control nobody can trust.
| Element | What it decides | If it is ignored | Evidence of control |
|---|---|---|---|
| Design intent | pinning, provenance and automated upgrade paths | The design drifts from the requirement without anyone noticing | A recorded decision with the constraint that shaped it |
| Boundary behaviour | How dependency control behaves at the limit of volume, variation or failure | Steady state passes and the boundary case causes the incident | A test at the boundary, with results kept |
| Ownership | Who is accountable when it is wrong | Issues are discovered by whoever notices, not by whoever owns | A named owner in the operating model |
| Review cadence | When the assumption behind it is re-checked | The design outlives the conditions that justified it | A scheduled review with recorded outcomes |
Threat modelling
Threat modelling is the part of application security engineering that a short, per-feature exercise rather than an annual document. It matters because it converts an intention into something a reviewer can inspect: a design decision, a test, a control, or a documented limit. Without it, the surrounding work still functions in a demonstration and fails in production, usually at the point where volume, variation or an auditor arrives. Treat it as a first-class deliverable with an owner, not as a paragraph in a design document.
In practice, threat modelling is where teams disagree most often, because the honest answer is usually a trade-off rather than a best practice. The decision should be recorded with the constraint that shaped it, so the next team inherits reasoning instead of folklore.
| Element | What it decides | If it is ignored | Evidence of control |
|---|---|---|---|
| Design intent | a short, per-feature exercise rather than an annual document | The design drifts from the requirement without anyone noticing | A recorded decision with the constraint that shaped it |
| Boundary behaviour | How threat modelling behaves at the limit of volume, variation or failure | Steady state passes and the boundary case causes the incident | A test at the boundary, with results kept |
| Ownership | Who is accountable when it is wrong | Issues are discovered by whoever notices, not by whoever owns | A named owner in the operating model |
| Review cadence | When the assumption behind it is re-checked | The design outlives the conditions that justified it | A scheduled review with recorded outcomes |
Reference architecture and layer responsibilities
application security engineering is designed in layers, and the layers exist so that a failure can be localised. The reference below is deliberately generic: the value is in the questions each layer forces you to answer, not in the box names.
- Layer 1: Input and output handling
- Defines what enters the system and on what terms, including the quality bar below which work is rejected rather than degraded.
- Layer 2: Authentication and authorisation
- Holds the reasoning, control or transformation logic, and states explicitly what it may decide without human confirmation.
- Layer 3: Secrets management
- Connects the capability to the systems of record, with retries, idempotency and a defined failure path.
- Layer 4: Dependency control
- Produces the evidence: logs, metrics, traces and decision records that answer what happened and why.
- Layer 5: Threat modelling
- Governs change: how the capability is upgraded, rolled back and reviewed without a full programme restart.
Designing application security engineering for the constrained case
Every design looks reasonable at the expected volume. The design that survives is the one written for the constrained case: half the budget, a third of the expected data quality, a vendor who delivers late, or a regulator who asks a question the team had not prepared for. Constrained-case design is a discipline of stating what will be deferred, degraded or refused, and who makes that call. It forces priority to be decided in advance rather than negotiated at incident speed, when the loudest request wins.
A practical method is to write three scenarios before the design is approved: base, growth and constrained. For each, state the throughput that must be preserved, the capability that may be switched off, and the acceptable degradation in quality or latency. Where the constrained case has no acceptable answer, the design is not finished — it is a proposal with an unstated dependency. Reviewers should ask for the constrained case first, because it reveals the assumptions the base case conceals.
- Name the scarce resource explicitly: capacity, skilled people, budget, data quality or regulatory permission.
- Decide the priority order before it is needed, and record who owns the decision.
- State the degradation path in the runbook, not only in the architecture document.
Measurement: what to instrument first
A new capability earns trust through a small number of honest measures. In this area the working set is Critical vulnerabilities open past policy, Secrets detected in repositories, Median time to patch a critical dependency, Features with a completed threat model. Start by publishing the baseline before any change, because a metric introduced alongside a change cannot distinguish improvement from measurement artefact. Report useful work delivered rather than activity, and report unit cost rather than aggregate spend, since aggregate spend rises with success and says nothing about efficiency.
The test of a measurement programme is whether it changes a decision. If no priority has ever shifted because of a number, the numbers are decoration. Keep the set small enough to be read in a single review, segment only where behaviour genuinely differs, and retire measures that no longer drive a decision. A dashboard that grows monotonically is a symptom, not an achievement.
Operating model and ownership
The technical design is usually the easier half. Sustaining application security engineering requires clear ownership of four things: the requirement and its priority, the control plane and its upgrade cadence, the data paths and their governance, and the on-call rotation that responds when something breaks. Where any of these is unassigned, it is performed by whoever notices — which produces inconsistent practice and quiet accumulation of risk.
Skills are the second constraint. The capabilities in this area are scarce, so documentation and runbooks are capacity: a design only one person can operate is a single point of failure that no monitoring will detect. Budget for the operational half explicitly, name deputies for critical knowledge, and treat handover as a deliverable with an acceptance test rather than a conversation.
Three questions that catch most design errors
Design reviews in this area converge on three questions that expose most weaknesses before build. First: what happens when a component fails, and how would you know? A design that describes steady state but not degradation is incomplete, because the interesting behaviour is at the boundary. Second: what is the unit cost, and what drives it? Proposals that cannot state cost per unit of delivered work usually contain a hidden assumption about utilisation or mix.
Third: what evidence will prove this works, and who reviews it? Without a defined measure and a named reviewer, acceptance becomes a matter of opinion, and opinion shifts when the first incident arrives. Applying these three questions consistently is more valuable than any specific technology choice, because they force the design to be honest about capacity, failure and cost before capital is committed.
- Failure: what degrades, how it is detected, and what the runbook says next.
- Cost: the unit that matters, and the assumption most likely to break it.
- Evidence: the measure, the reviewer and the date it is next examined.
How this looks under real constraints
SaaS company: moved authorisation checks into the service layer
SaaS company needed to make application security engineering work under real operational constraints rather than in a controlled pilot.
moved authorisation checks into the service layer was chosen because it addressed the constraint that mattered most: the evidence requirement, which decided what could be claimed.
The design kept the capability behind a defined interface, instrumented the decision path, and recorded the trade-offs so the next team inherited reasoning rather than a black box.
object-level access bugs stopped reaching production
The transferable lesson is that input and output handling was treated as an engineering deliverable, with an owner and a test, rather than as documentation produced after the fact.
Engineering org: automated dependency upgrades weekly
Engineering org needed to make application security engineering work under real operational constraints rather than in a controlled pilot.
automated dependency upgrades weekly was chosen because it addressed the constraint that mattered most: the operating cost, which decided what could be sustained.
The design kept the capability behind a defined interface, instrumented the decision path, and recorded the trade-offs so the next team inherited reasoning rather than a black box.
patching stopped being an emergency
The transferable lesson is that authentication and authorisation was treated as an engineering deliverable, with an owner and a test, rather than as documentation produced after the fact.
From requirement to operating capability
- State the requirement. Translate the business requirement behind security Engineering for Developers: OWASP, Secrets and Supply Chain into measurable targets — throughput, quality, cost ceiling or compliance evidence — agreed with the owners of the work affected.
- Baseline the current state. Measure what exists before changing it, so the design is judged against a real baseline rather than an assumption.
- Design against constraints. Record the constraints explicitly: capacity, cost, procurement lead times, residency rules and the operational capacity of the team.
- Build the evidence path first. Instrument Critical vulnerabilities open past policy and Secrets detected in repositories before the capability goes live, so the first result is interpretable.
- Pilot on a bounded workload. Prove the design on one representative case with success criteria defined in advance and a rollback path.
- Operate, review and hand over. Publish the runbook, name the owner, and review against targets on a fixed cadence so the next change starts from evidence.
Design and defend a Security Engineering for Developers: OWASP, Secrets and Supply Chain plan
Produce a defensible plan for application security engineering covering one real workload, including the requirement, the design, the failure behaviour, the cost model and the evidence needed to get it approved.
Design the target state end to end — the path in, the decision logic, the path out, the evidence and the change process — and record each significant choice as a decision with the constraint that shaped it.
An approved plan for application security engineering with the failure behaviour understood, the cost model defensible, and the operating model named.
- A written requirement with measurable targets and named owners
- A baseline covering performance, cost and current failure behaviour
- A design with recorded constraints and the trade-offs accepted
- A failure analysis covering the three most likely failure modes
- A cost model expressed per unit of delivered work
- The measures that will demonstrate success, and the review cadence
The measures that decide whether it works
| Measure | What it tells you |
|---|---|
| Critical vulnerabilities open past policy | exposure |
| Secrets detected in repositories | hygiene |
| Median time to patch a critical dependency | responsiveness |
| Features with a completed threat model | coverage |
Failure modes and their mitigations
| Failure mode | Mitigation |
|---|---|
| Treating input and output handling as documentation rather than as a control | Give it an owner, a test and a review date, and record the decision with the constraint that shaped it. |
| Approving the base case without the constrained case | Require base, growth and constrained scenarios in the design review, with the priority order decided in advance. |
| Instrumenting after launch, then arguing about the result | Publish the baseline and the measures before the change window opens. |
| Leaving the operational half unfunded | Budget on-call, upgrades and handover explicitly; a capability nobody can operate is not a capability. |
| Tooling sprawl around SAST and DAST scanners and Dependency scanners | Standardise the working set, document the exceptions with review dates, and consolidate annually. |
The five levels, honestly assessed
| Level | Name | What it looks like |
|---|---|---|
| L1 | Ad hoc | Security Engineering for Developers: OWASP, Secrets and Supply Chain is handled per project with no shared standard; outcomes depend on who is involved. |
| L2 | Documented | A standard exists and is followed for new work, with known gaps in the legacy estate. |
| L3 | Measured | Baselines and dashboards exist; changes are evaluated against them before rollout. |
| L4 | Managed | Trade-offs are decided against explicit policy; exceptions are recorded and reviewed rather than tolerated. |
| L5 | Optimised | The capability is reviewed as a portfolio, cost per unit of work is falling, and the design adapts before it is forced to. |
A three-horizon plan
| Horizon | Focus |
|---|---|
| Next 12 months | Establish the baseline, deliver one workload to standard, and put the evidence path in place before scaling. |
| 12-36 months | Extend to a portfolio of workloads, automate the controls, and move from project funding to product ownership. |
| 36 months and beyond | Optimise unit economics, absorb new capability without redesign, and use the accumulated evidence to set policy for the wider organisation. |
Trends to watch
- Consolidation of tooling into platforms (scaling)
- Evidence-first procurement (emerging)
- Regulatory convergence across jurisdictions (scaling)
- Unit-economics reporting as a standard expectation (emerging)
- Human oversight designed in rather than bolted on (scaling)
Roles this capability creates
- Engineer — builds and operates application security engineering under supervision
- Senior engineer — owns a workload and its evidence path
- Architect — owns the design and the trade-offs across workloads
- Platform lead — owns the operating model and the cost model
- Governance and assurance partner — owns the review and the control evidence
- Programme leader — owns the portfolio, the funding and the prioritisation
6 questions to test the model
Is a scanner enough?
Where do most breaches start?
How often should threat modelling happen?
What does input and output handling mean in application security engineering?
How do input and output handling and authentication and authorisation interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate input and output handling in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
Questions this page answers
Is a scanner enough?
Where do most breaches start?
How often should threat modelling happen?
What does input and output handling mean in application security engineering?
How do input and output handling and authentication and authorisation interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate input and output handling in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
What should I check before changing input and output handling in a Security Engineering for Developers: OWASP, Secrets and Supply Chain design?
What does authentication and authorisation mean in application security engineering?
How do authentication and authorisation and secrets management interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate authentication and authorisation in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
What should I check before changing authentication and authorisation in a Security Engineering for Developers: OWASP, Secrets and Supply Chain design?
What does secrets management mean in application security engineering?
How do secrets management and dependency control interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate secrets management in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
What should I check before changing secrets management in a Security Engineering for Developers: OWASP, Secrets and Supply Chain design?
What does dependency control mean in application security engineering?
How do dependency control and threat modelling interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate dependency control in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
What should I check before changing dependency control in a Security Engineering for Developers: OWASP, Secrets and Supply Chain design?
What does threat modelling mean in application security engineering?
How do threat modelling and input and output handling interact in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What evidence would demonstrate threat modelling in a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
What should I check before changing threat modelling in a Security Engineering for Developers: OWASP, Secrets and Supply Chain design?
What does critical vulnerabilities open past policy tell me about Security Engineering for Developers: OWASP, Secrets and Supply Chain?
How should I establish a baseline for critical vulnerabilities open past policy in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Why should I review critical vulnerabilities open past policy alongside secrets detected in repositories in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What does secrets detected in repositories tell me about Security Engineering for Developers: OWASP, Secrets and Supply Chain?
How should I establish a baseline for secrets detected in repositories in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Why should I review secrets detected in repositories alongside median time to patch a critical dependency in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What does median time to patch a critical dependency tell me about Security Engineering for Developers: OWASP, Secrets and Supply Chain?
How should I establish a baseline for median time to patch a critical dependency in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Why should I review median time to patch a critical dependency alongside features with a completed threat model in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What does features with a completed threat model tell me about Security Engineering for Developers: OWASP, Secrets and Supply Chain?
How should I establish a baseline for features with a completed threat model in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Why should I review features with a completed threat model alongside critical vulnerabilities open past policy in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Where does SAST and DAST scanners fit in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What would justify selecting SAST and DAST scanners for a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
Where does Dependency scanners fit in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
What would justify selecting Dependency scanners for a Security Engineering for Developers: OWASP, Secrets and Supply Chain exercise?
Where does Secret managers fit in Security Engineering for Developers: OWASP, Secrets and Supply Chain?
Sources and standards
- OWASP ASVS 4.0
Application security verification requirements by level
- OpenAPI 3.1
Machine-readable HTTP API descriptions
- SLSA
Supply chain levels for software artefacts
- WCAG 2.2
Web content accessibility success criteria
- 12-Factor App
Operational principles for deployable services
Continue this lesson with a subscription
Software Development is part of the paid catalogue. You have read the free preview. A subscription opens the rest of this lesson, the classroom slides and the assessment questions.
- The full lesson for this topic and every other catalogue topic
- Every classroom slide deck and worked example
- All assessments, with a verifiable certificate on completion
The Free-To-Learn library stays open to everyone and is not affected by this.
