Integrations » Security » Mask sensitive API data
Masking sensitive API data is crucial to both corporate and regulatory compliance. Using DreamFactory's scripting environment, you have total control over the API response and can mask, remove, rename, and rearrange data in any fashion you please. Some examples of data masking include:
- Masking a phone number: Convert a phone number from (614) 867-5309 to (614) 867-****
- Masking an e-mail address: Convert an e-mail address from [email protected] to j**.**@example.com
Database Data Masking Features
Databases such as MySQL Enterprise Edition 8.0 offer data masking and de-identification features. MySQL offers an array of convenient SQL functions for masking specific types of data, such as Social Security Numbers (SSNs), phone numbers, and credit card numbers. You can call these functions via DreamFactory APIs by adding them to your DreamFactory API schema definition.
- Learn more about MySQL's data masking features
- Learn more about calling database functions from DreamFactory APIs