Skip to content

Native Masking

With native masking, tag-based data masking policies run directly inside Snowflake or Databricks, without making API calls to ALTR through the external function. The biggest benefit of native masking over default masking (which uses the external function) is that this local execution improves performance because it does not rely on external calls to ALTR.

Native Masking versus Default Masking Function

Section titled “Native Masking versus Default Masking Function”

The following table compares data masking using ALTR’s native masking versus default masking (the external function). For Snowflake, use this table to help determine which data masking method is the right fit for your needs.

Native MaskingDefault Masking
ProsImproved query performance; more masking optionsSupports real-time policy updates; supports near-real-time query audit logs; support for detokenization and format-preserving encryption
ConsPolicy updates may take time to apply; no near-time audits; no rate limiting, detokenization, or decryptionReduced query performance; fewer masking options
Use casesWhen performance is critical; when your masking rules are stableWhen you need dynamic policy logic; when you need audit logs; when you need detokenization and/or format-preserving encryption