Security and privacy
Choose controls from the product’s actual data, permissions and exposure.
Map the boundaries
List collected data, storage, providers, permissions, external actions and retention. Minimise the data and privileges needed for the task. A prototype label does not reduce the risk of real personal data or consequential writes.
Enforce on the server
Validate untrusted inputs and permissions where data is read or changed. For private records, exercise signed-out, wrong-user and insufficient-role requests against the authorised candidate. A hidden button or blocked tool is not an access-control test.
Keep secrets out of source, client output and logs. Use safe errors, supported dependencies and proportionate current advisory review.
Select checks by capability
| Capability | Evidence needed |
|---|---|
| Accounts / private data | Session and recovery behaviour, cross-user isolation, roles and relevant rate limits. |
| Uploads | Size/type/content checks, storage permissions, processing and download boundaries. |
| Payments / writes | Server-verified outcomes and safe retries without duplicate charges or changes. |
| Personal data / analytics | Accurate inventory and notices, retention/deletion, and applicable consent or objection behaviour. |
| AI tools | Permission enforcement independent of the model, bounded tools/costs, adversarial cases and appropriate human control. |
Plan for failure and change
For persistent data, retain a backup and verify a safe restore. Document deployment, migration and rollback. Record the operating owner and useful redacted error signals where appropriate.
Use current implementation guidance
Select and version relevant requirements from OWASP ASVS and check current provider/framework guidance during implementation. A selected subset is not a claim of full-standard compliance. Seek appropriate specialist review when the product’s risk requires it.
