Sandbox refreshes copy all production data—including encrypted fields—into environments accessed by contractors, QA teams, and offshore developers. Shield's encryption doesn't extend to sandboxes.
Shield encrypts data at rest, but authorized users with the right permissions can still view decrypted values. Contractors with sandbox access see real SSNs, emails, and phone numbers—not masked values.
Sandboxes contain real email addresses that can trigger Flows, Process Builder, and Apex workflows. A contractor testing an email campaign can accidentally blast thousands of real customers. Shield doesn't prevent this.
Before
Shield in production. Exposed sandboxes. Automation risk. Incomplete compliance coverage.
DataMasker
Add masking layer. Protect sandboxes. Prevent accidents. Complement Shield coverage.
After
End-to-end protection. Safe contractor access. Compliance complete. Defense in depth.
Shield Encrypts Production
At-rest encryption protects production data. Compliance checkbox satisfied.
DataMasker Protects Sandboxes
PII masking replaces real data with realistic test data after every refresh.
Use Both Together
Layer encryption + masking for comprehensive defense in depth security.
Complete Coverage
Production + Sandbox protected. Contractors safe. Compliance achieved.