Data Masking Demo

See how sensitive data is masked during Salesforce sandbox refresh

Showing ORIGINAL data

No contacts data yet. Generate test data to see masking demo.

Name Masking

Test User_1

First names replaced with "Test", last names become "User_[index]"

Email Masking

testuser1@sandbox.example.com

All emails replaced with test addresses in sandbox domain

Phone Masking

(555) 555-0001

All phone numbers replaced with test numbers (555 area code)

How This Works in Salesforce

  1. 1. Sandbox Refresh: You refresh your sandbox from production
  2. 2. Post-Copy Handler Runs: Salesforce triggers the data masking script automatically
  3. 3. Data Masked: All sensitive fields (shown above in orange when toggled) are replaced with safe test data
  4. 4. Safe Development: Your sandbox is now ready to use without exposing production data

💡 Tip: Export the CSV above to see the before/after data format and verify masking patterns match your requirements.