Best practices for processing and storing PII from AEM Core Component form submissions in AEM as a Cloud Service
This article outlines best practices for securely processing, validating, and storing personally identifiable information (PII) collected from AEM Core Component form submissions during migration to AEM as a Cloud Service, replacing legacy JCR-based workflows.
Description description
Environment
- Adobe Experience Manager (AEM) Sites Core Components
- Migration from on-premises AEM to AEM as a Cloud Service (AEMaaCS)
Issue/Symptoms
- Organizations migrating to AEMaaCS may need to replace legacy workflows where form submissions are stored in the JCR repository and validated using custom workflows.
- In AEMaaCS, storing PII in the JCR is not recommended or supported for long-term retention due to security and compliance requirements.
- There is a need to perform validation checks, such as spam, obscene content, and email domain validation, and retain validated form submission data securely for compliance purposes.
Cause
- AEM as a Cloud Service does not support or recommend using the JCR repository for long-term storage of PII due to security, compliance, and architectural constraints.
- Secure, compliant, and scalable processing requires offloading storage and validation workflows to customer-managed services and datastores.
Resolution resolution
Follow these steps to resolve the issue:
-
Do not store PII in the AEM JCR repository for long-term retention in AEM as a Cloud Service.
-
Configure AEM Core Component forms to submit data to a secure backend service or endpoint rather than persisting submissions in the JCR.
-
Implement a backend service that:
- Persists submissions in an encrypted, externally managed database or secure cloud storage.
- Tracks validation status for each submission.
- Triggers asynchronous validation checks, for example, spam, obscene content, and email domain validation.
- Processes approved submissions and sends confirmation emails.
- Enforces retention, deletion, audit, access-control, and data-residency policies as required.
-
Optionally, use Adobe App Builder or Adobe I/O Runtime as an orchestration layer for validation workflows and event-driven processing. Validate the suitability of App Builder’s storage capabilities for regulated, long-term PII retention with your organization’s security and compliance teams.
-
For long-term retention, for example, two years or more, select a compliant, customer-managed datastore that meets your encryption, audit, and operational requirements, such as a managed cloud database or encrypted object storage.
-
Implement additional best practices in your backend, including server-side validation, authentication, encryption, rate limiting, idempotency, audit logging, retry handling, and automated retention/deletion controls.
-
Reference the AEM Core Components documentation for configuring the Post Form Data action to submit to a service provider.
To verify, ensure that form submissions are not persisted in the JCR and that all validation and retention requirements are met by your backend solution.