Call Protecto from a Snowflake UDF to mask PII and PHI in columns and text fields. Each value gets a consistent, format-preserving token, so analysis and AI still work.
SOC 2 Type II · ISO 27001 · HIPAA, BAA available
Snowflake tableSUPPORT.PUBLIC.CUSTOMERS
SELECT name, ssn, note FROM customers → via PROTECTO_MASK UDF
6 sensitive values exposedSame person, same token
Synthetic example
A support team loads ticket exports into Snowflake. A masking policy covers the email column. The comments column holds names, phone numbers and card details that customers typed in, and every analyst with access can read them.
Data Classification and Dynamic Data Masking (DDM) work column by column. They do not find and replace the sensitive values inside a text field.
A masking policy replaces the full value, so analysts and AI lose the useful text along with the sensitive parts.
Pattern rules catch well-formed numbers but miss names and details written in free text.
If the same customer is masked differently in two tables, joins and counts break.
Protecto finds sensitive values, swaps them for tokens and keeps the originals for the people allowed to see them.
Protecto detects sensitive values in structured columns and in free text such as comments and descriptions, then replaces only those values.
Tokens keep the format and type of the original. The same value always gets the same token, so joins, counts and AI answers stay accurate.
Users with an authorized role can see the original values when they need them. Everyone else sees tokens.
Protecto’s User Defined Function (UDF) calls the Protecto API from inside your Snowflake environment. Add one function call to your SQL or Snowpark code, and the masked text comes back as a new column.
No change to your tables or warehouse setup. Your data keeps its place in Snowflake.
Masking that protects the sensitive values and leaves the rest of your data ready for analytics and AI.
Finds names, phone numbers, card numbers and health details inside comment and description fields.
The rest of each field stays readable, unlike masking that hides the whole column.
Only users your policy authorizes can see original values. Others see tokens.
A value gets the same token in every table and dataset, so data integrity holds.
Masking, unmasking by role and audit logs give your privacy program controls it can show auditors.
Real-time APIs handle single requests. Asynchronous APIs handle high data volumes.
A step-by-step guide to keeping sensitive data protected when you build RAG on Snowflake Cortex AI.
Protecto masks sensitive data while keeping its consistency, format and type, so teams can run analytics, statistical analysis and RAG without exposing PII or PHI.
The same API runs from a Snowflake UDF, Databricks, Kafka or Spark, so one policy covers all of them.
Mask single records as they arrive, or large tables with asynchronous jobs.
Use Protecto as SaaS or run it on your own servers, with multi-tenant support either way.
Original values are stored in Protecto Privacy Vault, apart from the masked data in Snowflake.
Dynamic Data Masking applies a masking policy to a whole column, so the full value is hidden from roles that cannot see it. Protecto finds the sensitive values inside each field, including free text such as comments, and replaces only those values with consistent tokens. The rest of the text stays usable for analysis and AI.
Through a User Defined Function (UDF) that calls the Protecto API from your Snowflake environment. You add one function call to your SQL or Snowpark code, without major changes to your existing setup.
No. The same value always gets the same token, in any table and any session, so joins and counts work on masked data.
200+ entity types across PII, PHI and PCI, such as names, phone numbers, email addresses, card numbers, Social Security numbers and health data. You can add custom entities for your own IDs and patterns.
You decide which roles can see original values. Users with those roles get real values back when they request them, and everyone else sees tokens.
Protecto is SOC 2 Type II and ISO 27001 certified and HIPAA compliant. Masking, unmasking by role and audit logs support GDPR, HIPAA and CCPA requirements for protecting personal data. When Protecto hosts the service or can access your installation, it signs a BAA before PHI flows.
Bring a sample table with free-text columns, synthetic if you prefer. We will show you the UDF call and the masked output.
A step-by-step guide to securing enterprise RAG on Snowflake Cortex AI with Protecto.
By submitting you agree to Protecto’s privacy policy.