10 · Security & Compliance
Six security patterns and where each one pays off
Each pattern below is a real decision on a real project, with the ongoing cost stated plainly so you can weigh it against the risk it removes.
01Threat modelling and secure SDLC
Right for any project that handles personal data or money. We run a STRIDE-style session at kickoff and again when the architecture changes, then wire OWASP ASVS checks into code review and CI. Later cost: an hour or two per major feature to keep the model current.
OWASP ASVS · STRIDE · Secure SDLC
02Dependency and SBOM management
Right when you ship to enterprise customers, regulated sectors or anyone who will ask what is inside the software. We generate a CycloneDX SBOM on every release, pin and scan dependencies, and sign container images. Later cost: a monthly patch cadence someone must own, and some breaking upgrades you cannot postpone.
SBOM · CycloneDX · Supply chain
03SSO, MFA and passkeys
Right when your users live in Microsoft Entra, Google Workspace or Okta, or a buyer's questionnaire demands SSO. We integrate OIDC first and SAML where a customer insists, enforce MFA, and offer passkeys for consumer logins. Later cost: identity provider licences and support when a customer rotates certificates.
OIDC · SAML · Passkeys · MFA
04Role-based access and audit logs
Right for any system with two or more user types, and essential wherever an auditor may ask who saw a record and when. We define roles with you, enforce them server-side, and write append-only audit events to storage the app cannot rewrite. Later cost: log retention fees and discipline to stop roles sprawling.
RBAC · Audit logs · Least privilege
05Encryption and secrets management
Right everywhere, no exceptions. TLS 1.3 in transit, AES-256 at rest with keys held in a cloud KMS, field-level encryption for health or payment data, and secrets pulled from a vault rather than committed to config. Later cost: key rotation runbooks and a vault bill, both small next to a breach notification.
TLS 1.3 · AES-256 · KMS · Secrets vault
06Penetration testing and incident response
Right before any public launch, after major changes, and annually where SOC 2, PCI DSS or a customer contract requires it. We fix findings from our own testing first, then commission an independent test and hand you the report. Later cost: a yearly test budget and a rehearsed incident plan that names who calls whom.
Pen testing · Incident response · PCI DSS