OWASP Cryptographic Storage: Form Data Checklist

HTTPS does not mean stored form data is encrypted. Apply the OWASP storage checklist to every copy: submissions, uploads, temporary files, logs, exports, backups, and connected systems.
Start by collecting less data and setting deletion rules. Then check 5 areas before release:
- Storage: Confirm encryption coverage and identify who can read plaintext.
- Encryption: Use approved libraries and test that altered encrypted data is rejected.
- Keys: Keep keys separate from data, restrict access, and test rotation and recovery.
- Transfers: Check TLS separately, and keep sensitive values out of logs and messages.
- Release checks: Trace the full workflow - including Reform settings and downstream copies - and record test results, owners, and approved exceptions.
A setting alone is not proof. Each check needs records showing that the control works.
OWASP Form Data Storage Security Checklist
Cryptographic Failures: OWASP Top 10 A02 Explained with Examples
sbb-itb-5f36581
Collect Less Data and Set Retention Rules
Use your data inventory to stop collecting what you don’t need before setting encryption controls and retention rules.
Inventory Fields and Remove Unneeded Data
Inventory visible and hidden fields, uploads, and enrichment attributes using optimized conversion paths. For each item, record its business purpose and where it’s stored. Remove anything without a documented need, and collect only the least sensitive data required.
Collecting less means having less to retain, secure, and delete.
Define and Test Data Deletion
Set retention periods and assign an accountable owner for submissions, uploads, CRM records, exports, and backups. Document legal holds and backup retention periods.
Keep uploads in temporary, isolated storage for malware scanning. Move files to permanent storage only after they pass the scan. Include temporary storage and quarantined files in deletion tests. Test deletion at every destination and keep the results.
Address encryption and key controls only after these steps.
Keep Plaintext Out of Logs and Messages
Logs and notifications store data, too. Check logs, analytics events, error reports, email notifications, and integration messages for sensitive values. Omit or redact those values before sending or storing them. Keep stack traces, debug details, and software versions out of error messages.
Encrypt Form Data at Rest
Document encryption coverage for databases, temporary uploads, and backups created by the form workflow. For each location, record the encryption layer, who can decrypt data or view plaintext, and any unprotected copies. Then check algorithm choice, tag handling, and key control.
Disk encryption and database transparent data encryption (TDE) protect stored data. They don’t stop permitted applications or database accounts from reading plaintext. Use application-level authenticated encryption when database access must not expose sensitive fields. But keep this limit in mind: a compromised app that can decrypt data can still read it.
Check Algorithms, Nonces, and Integrity Tags
Record the algorithm, nonce/IV rules, additional authenticated data (AAD), and integrity-tag validation process. For AES-GCM, verify nonce handling for each key, store integrity tags with the ciphertext, and reject failed authentication before releasing any plaintext. Follow the chosen algorithm’s nonce rules, and use a cryptographically secure random number generator for nonces and salts.
Keep evidence from configuration reviews and tamper tests. In those tests, alter ciphertext, tags, and AAD, then confirm that each change causes rejection without exposing plaintext. Use reputable cryptographic libraries such as OpenSSL, and prioritize FIPS 140-2 or FIPS 140-3 compliant modules.
Compare Encryption Methods
| Method | Confidentiality and integrity | Key requirements | Constraints and allowed uses |
|---|---|---|---|
| AES-GCM | Provides both when used correctly | Follow the scheme’s nonce rules | Approved application encryption |
| Other organization-approved authenticated encryption | Must provide both | Follow the selected scheme’s requirements | Use only supported library implementations and approved configurations |
| Handwritten cryptography | No dependable assurance | Key length cannot fix design flaws | Reject handwritten algorithms, modes, padding, and protocols |
Check Storage Encryption and TLS Separately
Assign infrastructure owners to verify storage and backup encryption, and integration owners to verify TLS for transfers. Check TLS certificate validation and transfer settings separately from storage encryption. For browser-facing HTTPS, require an HSTS max-age of at least 31,536,000 seconds.
After checking storage and transport, verify key separation and decryption access.
Separate Keys and Approve Libraries
Separate Keys from Data and Limit Decryption
Store encryption keys and secrets in a dedicated secrets management solution or an approved cloud-native key service - never in source code or committed environment files. Limit key access to approved services and roles. Document who can decrypt submissions, why, and under what conditions. Deny all other requests.
Compare Key Management and Test Recovery
Document the key service, its configuration, and each owner’s responsibilities. Cover the full key lifecycle: generation, storage, distribution, use, rotation, backup, recovery, revocation, and destruction.
Test key rotation, revocation, and backup restoration. These checks should confirm that retained submissions remain accessible when allowed and inaccessible when access should be blocked.
Check Libraries, Randomness, and Error Handling
Use maintained, approved cryptographic libraries. Track their versions and how often they receive updates.
Generate cryptographic randomness with a CSPRNG. Include tests for rotation and access failures in release and upgrade checks.
Test the Workflow Before Release
Trace Data Flows, Uploads, and Security Events
Once storage, keys, and libraries are defined, test the workflow from end to end.
Assign integration, infrastructure, and security owners to trace synthetic submissions - including incomplete responses - through entry, validation, processing, storage, notifications, integrations, exports, backups, access, and deletion. Check that each destination receives only the fields it needs.
Follow uploads through temporary storage, malware scanning, and permanent storage or quarantine. Check isolation, access, encryption, and deletion at each destination. Confirm that decryption without permission is denied and modified ciphertext is rejected. Monitor unusual key access, integrity failures, and exports. Keep plaintext, secrets, and stack traces out of logs.
Match Reform Settings to Evidence
For workflows using Reform, check incomplete responses, integrations, analytics, and uploads against workflow test results. Include downstream copies and deletion in that review. A setting alone does not prove secure storage, key isolation, or deletion.
Keep an audit packet with the field inventory, architecture diagrams, documented algorithm decisions, a formal key policy, access reviews, and deletion evidence. Update it after relevant workflow or infrastructure changes.
Final Checklist: Record Pass or Fail
Block release when failures remain unresolved, unless an approved exception names an approver, lists compensating controls, and includes an expiration date.
Use this checklist to turn the earlier controls into release gates.
| Check | Verify | Owner | Status |
|---|---|---|---|
| Remove unneeded sensitive fields | Field inventory matches the live form and incomplete responses | Security | ☐ Pass ☐ Fail |
| Inventory and encrypt storage | Databases, uploads, exports, and backups are encrypted | Infrastructure | ☐ Pass ☐ Fail |
| Test authenticated encryption | Modified ciphertext is rejected; decryption without permission is denied | Security | ☐ Pass ☐ Fail |
| Isolate keys | Approved key management and access policies keep keys separate from data and restrict access | Security | ☐ Pass ☐ Fail |
| Approve libraries and randomness | Approved library list and CSPRNG use are verified | Integration | ☐ Pass ☐ Fail |
| Test data and key lifecycles | Retention, deletion, rotation, recovery, and revocation tests pass | Infrastructure | ☐ Pass ☐ Fail |
| Review integrations and downstream copies | Downstream field scope and deletion are verified | Integrations | ☐ Pass ☐ Fail |
| Document exceptions | Every exception has approval, compensating controls, and an expiration date | Security | ☐ Pass ☐ Fail |
FAQs
Which form fields need application-level encryption?
Classify your data by sensitivity first. Then encrypt fields that hold sensitive information, including names, email addresses, phone numbers, and mailing addresses.
Give priority to free-text fields and notes, where financial, health, or deal-sensitive details may appear. Protect uploaded documents, payment-related fields, and authentication tokens, too.
For highly sensitive records, such as Social Security numbers or health data, use field-level encryption to keep the data unreadable even to some internal users.
How can I verify encryption in connected systems?
Verify encryption in transit and at rest. Check that every endpoint - including database, API, and CRM connections - uses TLS 1.2 or 1.3. Enforce HTTPS with HSTS where applicable, avoid self-signed certificates, and use secure cipher suites such as AES-GCM.
Periodically confirm that databases, storage, and backups use AES-256 encryption. Centralize append-only encryption-event logs in a SIEM. Keep encryption keys separate from the data they protect by using an external KMS or HSM.
How do I delete submissions from immutable backups?
You can’t delete individual submissions from immutable backups. But cryptographic erasure can make them permanently unreadable.
With envelope encryption, a Data Encryption Key (DEK) encrypts the data. A Key Encryption Key (KEK), stored in a central Key Management System, protects the DEK.
When a record’s retention period ends, destroying its associated KEK makes the encrypted data unreadable - without changing the immutable backup.
Related Blog Posts
Get new content delivered straight to your inbox
The Response
Updates on the Reform platform, insights on optimizing conversion rates, and tips to craft forms that convert.
Drive real results with form optimizations
Tested across hundreds of experiments, our strategies deliver a 215% lift in qualified leads for B2B and SaaS companies.

.webp)


