A security architecture review is easier to act on while the team still has choices. Bring product, engineering, and security together before decisions about data and access are fixed. Use one proposed workflow to agree on what the system should allow, what it must prevent, and how those decisions will be tested.
Consider a customer portal with a proposed export feature for support staff. The request sounds straightforward: let an employee download a customer's account history to investigate a problem.
That sentence leaves several design decisions open. Which employee? Which customer? How much history? Does the file include internal notes or information unrelated to the support case?
Where does it go after the download?
Before implementation, the team can work through those questions together. Near launch, the same discussion may require changes to queries, APIs, file storage, and the support process.
My recommendation is to have it while a smaller, safer feature is still a practical option.
Start with the job support needs to do
This is a hypothetical design exercise, not a client incident.
Ask the support owner to describe the problem the export solves. Perhaps an employee needs to compare transaction dates and status changes. A full account download may include far more information than that task requires.
Product can define the useful result. Engineering can explain the available data and implementation options. Security can identify the exposure created by each option. A targeted report might meet the need. An export might still be justified, with a defined set of fields and a narrower scope.
The discussion should produce something specific enough to build. “Support needs customer data” is too broad. “An authorized support employee can export these fields for an assigned customer case” gives the team a starting point for implementation and testing.
OWASP's guidance on object-property authorization recommends checking access to individual properties and returning only the data needed for the endpoint's purpose. That supports making the field selection an explicit design choice. OWASP API3:2023.
Follow the export all the way through
Put the workflow on a simple diagram: the employee requests an export, the application selects records, a job creates the file, and someone downloads it.
For each step, ask what establishes the customer's identity and the employee's authority. A selection in the user interface should not be the only thing keeping one customer's information separate from another's. The server needs to enforce the applicable access decision.
OWASP identifies broken object-level authorization as a risk when an API accepts a record identifier without checking whether the user may perform the requested action on that record. Its guidance calls for those checks wherever client-supplied identifiers are used to access records. OWASP API1:2023.
The file itself deserves attention. Where is it stored? Who can retrieve it? When does that access end? If the request is queued, what happens when the employee's permissions change before the file is ready?
There may be several workable answers. Choose one deliberately and document its limits. For example, a download link that remains usable after access is withdrawn may be incompatible with the team's intended revocation behavior. That is a design question to settle before the link becomes part of the support procedure.
Leave with a decision engineering can use
Security should help the team resolve the tradeoff. Explain a plausible failure, identify the design choice that allows it, and discuss alternatives with the people who will build and use the feature.
If the first release cannot support a broad export safely, a narrower report may be a reasonable starting point. Product needs to assess whether it meets the business need. Engineering needs to assess the work. Security needs to explain the remaining exposure. Where the tradeoff requires a management decision, make the options and consequences clear.
Keep the result with the team's architecture notes. For this feature, I would record:
- The support task and the fields needed to complete it.
- The rules governing employee, customer, and record access.
- How export generation, retrieval, and expiration will work.
- The agreed design, including why alternatives were rejected.
- An owner for each unresolved question and the decision it blocks.
- The tests that will demonstrate the intended behavior.
NIST's Secure Software Development Framework includes tracking security requirements, risks, and design decisions in practice PW.1.2, with design review covered by PW.2. A short record connected to engineering work is a practical way to apply that guidance. NIST SP 800-218, SSDF 1.1.
Turn the important assumptions into tests
Agree on expected behavior before implementation is complete. For the hypothetical export, a useful test set could include:
- An authorized employee receives the permitted fields for the correct customer.
- Changing the requested customer or record does not expose someone else's data.
- A role without export permission cannot create or retrieve the file.
- Expired access and permission changes behave as the design specifies.
- The record of the action identifies who did what without unnecessarily copying the exported data into logs.
Use an authorized test environment and synthetic customer records. Include the background job and download path rather than testing only the button in the portal. The result should show which conditions were tested and what remains uncertain.
The UK's National Cyber Security Centre recommends combining review and testing throughout development and after release. An early design review therefore needs follow-through as the implementation becomes available. NCSC: Review and test frequently.
For the next project, choose one feature that moves customer information or grants meaningful access. Schedule the conversation before its main design decisions are fixed. Ask the team to leave with an agreed approach, owners for the open questions, and evidence it will need before release. That is a concrete contribution security can make while the product is still taking shape.