Expedition. Free, on-demand.

Technical tracks for practitioners, outcomes for leaders.

Data Security Best Practices

Data Security Best Practices: Building Controls into Data Workflows

Data security controls work only as long as they stay aligned with the data, identities and workflows they’re meant to protect. This guide breaks down the best practices to put in place and how to measure whether they’re actually working.

DATA SECURITY BEST PRACTICES DEFINED

Data security best practices are repeatable technical controls and operating procedures that identify sensitive data, limit access to it, reduce unnecessary exposure and provide evidence that protection remains in place as data and workloads change.

Data security controls are usually designed around known data, known identities and known access paths. None of those stay fixed for long.

Let’s say a sensitive customer identifier is classified, masked and restricted to specific roles in its source table. Later, an AI workflow gains access to that table through a service identity with broader permissions than the original users. The problem isn’t that the identity and access policies vanished — but a compliance check that only confirms that a policy exists won’t show whether a new access path made that policy completely ineffective.

That kind of drift is where data security programs often lose coverage. New service identities, partner access and AI workflows introduce additional ways to reach governed data, while roles and permissions change over time. Data security best practices keep protection aligned with how data actually moves and is used.

What are data security best practices?

Data security best practices are repeatable controls and operating processes for protecting data from unauthorized access, exposure, alteration or loss.

Sensitive data often serves multiple workloads and access paths, even when organizations minimize unnecessary copies. A classified field in a governed table may be queried by BI, applications, external engines or AI systems. And in some cases, copying into downstream tables or files can’t be avoided.

Across those paths, sensitive data has to be identified consistently, access has to reflect the identity making the request, and the protection applied to the returned value has to match the workload. When data leaves that governed path, the next system or copy needs equivalent protection and its own evidence of access.

See how Snowflake Horizon Catalog helps teams classify sensitive data, apply granular policies and govern data as it moves across workloads:

Data security best practices

A practical data security baseline starts with five controls and operating practices: classify sensitive data, enforce least-privilege access, protect sensitive values, retain access evidence and review those controls on a defined cadence. Each step gives the next one something concrete to work from: classification identifies what needs protection, access controls limit who can reach it, masking and tokenization limit what authorized users receive, audit records show how access was used and recurring reviews catch permissions or policy coverage that have fallen out of date.

Classify the data that needs protection

Data classification identifies sensitive data and assigns categories or tags that access, masking, retention and monitoring policies can use.

In practice, those decisions often happen at the column or object level. For example, a customer table may contain ordinary operational fields alongside email addresses, payment data or government-issued identifiers. Operational fields don’t need the same access rules, retention periods or masking behavior as sensitive ones, so classification gives teams a way to separate them and apply the appropriate policy.

Copies and derived objects need the same treatment. A transformation may write a sensitive field into a derived table, an analyst may create a table for reporting or externally managed data may enter the environment through an Iceberg table. If those objects are never classified, later controls can miss them even when the original is governed correctly.

Incomplete discovery can leave sensitive data outside the controls meant to protect it. In the Cloud Security Alliance’s 2025 Understanding Data Security Risk Survey, 31% of respondents said they lacked tools to identify their riskiest data sources, while another 12% were unsure whether they had them.

Automated discovery can keep inventory current by identifying likely sensitive fields as new objects appear. Business and governance teams then determine how those fields should be handled in context.

Enforce least-privilege access

Once sensitive objects are known, access control narrows the identities allowed to query them. Role-based access control (RBAC) handles much of that work at the role and object level. Row access controls go further when someone should be able to reach the table but see only a subset of its records. A regional analyst, for example, may need customer data for one territory without seeing rows for every market.

Inherited grants, nested roles and temporary project permissions can leave an identity with more access than its current work requires, even when each grant looked reasonable when it was added. For higher-risk privileges, just-in-time access can reduce standing access by granting permissions only for a defined need and time window.

Access reviews also need to include service identities used by applications and AI workflows, since those credentials can accumulate grants just like human roles do. A single workflow may cross several identities, so each request needs to be evaluated against the permissions of the identity actually making it.

Protect sensitive values

Authorized access should expose only the data required for the workload. A user may need customer-level records for analysis without needing a full tax ID or account number, for example. Dynamic data masking can return a redacted or partial value for that role while allowing a smaller set of approved roles to see the original.

When a downstream process needs a consistent identifier but not the original value, tokenization can substitute a stable token that still supports joins, grouping or longitudinal analysis. Encryption protects the data in a different part of the lifecycle: while it’s stored or transmitted.

Use each control for the exposure it’s designed to reduce. Mask sensitive values that only some authorized roles should see in full, tokenize values that downstream processing doesn’t need in original form, and encrypt data in storage and transit. Where possible, apply those protections centrally so they’re enforced consistently across supported access paths.

Retain evidence of access

A policy says what should happen. Access evidence shows what actually happened. For sensitive data, teams should be able to identify which user or service queried an object, when the access occurred and which role or policy applied.

Access records support incident investigation and data security compliance work, while also showing whether granted access is actually being used. Without usage evidence, reviewers can confirm that access exists but not whether it’s still serving a current business need. That makes stale privileges, dormant service accounts and unexpected access patterns much harder to identify before they turn into an incident or security audit finding.

Quote Icon

A policy says what should happen. Access evidence shows what actually happened.

Suppose a privileged role queries a sensitive table six months after the project that justified the access ended. Nothing about the query is necessarily malicious, but the activity tells you the entitlement deserves another look.

Review on a risk-based cadence

Access, classification and policy assignments should be reviewed on a defined schedule, with the interval based on how quickly the underlying conditions can change. Stable role assignments may fit a quarterly certification cycle, for example, while privileged access, exposed credentials and newly discovered sensitive data require much faster follow-up.

The review should also have a clear trigger outside the calendar. A role change, new data source, new service identity or change in how sensitive data is accessed might merit reassessing the relevant controls before the next scheduled review.

Verizon’s 2025 Data Breach Investigations Report found that leaked secrets discovered in GitHub repositories took a median of 94 days to remediate. For a credential that could provide immediate access, waiting for the next quarterly review creates too much risk.

Learn how to develop a data security policy for your organization >

Put the controls into the data workflow

The controls above are easiest to maintain when they’re part of the processes that create, expose and move data. Waiting for a periodic security review means gaps can stay in place longer than they should.

Check new and changed data objects before they reach production

When a pipeline creates a table, view or other persistent object containing sensitive data, verify its classification and required policies before downstream workloads begin using it.

At minimum, the process should determine:

  • Whether the object contains sensitive fields
  • Whether those fields have the required classification or tags
  • Which roles and service identities can query the object
  • Whether masking or row-level restrictions are required
  • Who owns the object and its access decisions

Where the tooling supports it, automate those checks as part of deployment or data-quality workflows. A transformation that introduces an unclassified sensitive column or removes an expected policy should create an alert.

Schema-change workflows should also be checked. A table that was appropriate for broad analyst access will need tighter controls when a new tax identifier, payment field or other sensitive attribute is added.

Treat service identities as managed principals

Applications, pipelines and AI workflows frequently query data without a person directly issuing the request. Those services need their own identities rather than relying on shared credentials or broadly privileged user accounts.

IBM’s 2026 Cost of a Data Breach research found that only 40% of organizations were using access controls on AI models and data, leaving a large gap between AI adoption and the controls governing what those systems can reach.

Scope each service identity to the objects and operations its workload requires, assign an owner and set a review date for elevated permissions. Temporary migration or implementation access should expire rather than remaining available until someone remembers to remove it.

For multi-step workflows, document which identity is used at each hop. A user may start a request under a restricted role while a downstream service runs under broader credentials. The permissions of that service determine what the later request can retrieve.

For AI applications, enforce those limits outside the model. Tool permissions, service roles and data policies should reject unauthorized requests if prompt injection or unexpected model behavior causes an agent to ask for them.

Put controls around data leaving the governed environment

Before exporting sensitive data or writing it into another system, determine what the destination actually requires.

If a workload needs an identifier for matching but not the original value, tokenize it before transfer. If only a subset of a sensitive field needs to be visible, create the copy from a masked representation. Where a partner only needs governed access to data, use a sharing mechanism that avoids transferring a raw file when the architecture supports it.

When a copy is necessary, assign the new asset:

  • An owner
  • Appropriate access controls
  • Classification based on its contents
  • A retention or deletion requirement
  • Monitoring appropriate to its sensitivity

For recurring exports, review the workflow itself rather than treating every resulting file as an isolated exception. A scheduled job that creates sensitive extracts every night is effectively a data distribution path and should be governed as one.

QUICK TIP

Add classification and policy checks to schema-change and deployment workflows. A new sensitive column can change the access, masking or retention requirements for an existing table even when none of its previous controls changed.

Measure whether the controls are actually working

Security metrics should reveal where required controls are missing, how long those gaps remain open and whether remediation is keeping pace with change.

Measure coverage against the data that requires protection

Start with the sensitive-data inventory and compare it against the controls each object requires. If 500 columns contain high-risk personal data, but only 430 have a policy applied, the remaining 70 should become a remediation queue with an owner and due date.

Apply the same measure to other control types, including:

  • Sensitive objects that have been classified
  • Tables or views that have the required row-level restrictions
  • Privileged identities reviewed within the required interval
  • Service identities with an assigned owner and current review date
  • Approved exceptions approaching or past their expiry date

Track how long gaps remain open

Track both the number and age of high-risk findings, including how long sensitive-data coverage gaps, excessive privileges, exposed credentials and approved exceptions remain unresolved. Separate newly discovered findings from items that have remained open beyond the organization’s expected remediation window.

This approach turns posture monitoring into a work queue. A team can see which gaps require attention now, which owner is responsible and whether the backlog is improving or growing.

Use access history to test entitlement decisions

Permission reviews show who’s allowed to access sensitive data. Usage records show whether those permissions are actually being exercised.

Look for privileged roles that haven’t been used for an extended period, access that continues after the project or job function that justified it has ended, and service identities querying objects outside their expected workload. The access may not need to be removed, but reviewers should be prompted to investigate.

COMMON PITFALL

A common mistake is reviewing access only on a fixed schedule. Role changes, new service identities and newly discovered sensitive data can change exposure between quarterly or annual reviews, so higher-risk changes need event-driven checks as well.

How Snowflake supports enforceable data security best practices

In Snowflake, these practices can be implemented through controls applied across the data lifecycle and access path. Snowflake Horizon Catalog supports classification and governance metadata, while Dynamic Data Masking and row access policies let teams apply value- and row-level restrictions to governed data.

For collaboration, Secure Data Sharing and Snowflake Data Clean Rooms can reduce workflows that depend on transferring raw copies. Trust Center surfaces posture and detection findings, and Access History provides query-level evidence that can help connect those findings to actual data use.

Used together, those capabilities support the operating practices covered in this article: identify sensitive data, restrict access, limit exposure, review changes and investigate gaps with evidence rather than configuration alone.

Make data security gaps visible early

The strongest data security programs don’t wait for an audit or incident to reveal where protection has fallen behind. They build checks into the workflows that create data objects, grant access and move sensitive information, then track the gaps until they’re closed.

KEY TAKEAWAY

Treat data security as an operating process, not a set of configured features. Build checks into the creation of new data objects, access provisioning and data movement, then measure the gaps that remain and track them through remediation.

Frequently Asked Questions

Your common questions about data security best practices, answered by Snowflake experts.

Data governance sets the rules for how data is defined, owned, classified and used. Data security covers the technical controls that enforce those rules, such as access control, masking, encryption and monitoring. Governance decides what needs protecting and who should reach it, and security makes sure that actually happens.

How often depends on risk. Stable role assignments may only need a quarterly review, while privileged access, exposed credentials and newly discovered sensitive data need much faster follow-up. Events such as a role change, a new data source or a new service identity should also trigger a review between scheduled cycles.

Masking returns a redacted or partial value to roles that don’t need the full data. Tokenization swaps in a stable substitute value, so joins and analysis still work without the original. Encryption protects data while it’s stored or transmitted, so the three controls reduce different kinds of exposure and are usually used together.

Give each application or agent its own service identity, scoped to the objects and operations it needs, with an owner and a review date. Enforce limits through roles, tool permissions and data policies outside the model, so unauthorized requests get rejected even if a prompt injection succeeds. Keep access records so you can check what the agent actually queried.

Compare your sensitive-data inventory against the controls each object needs, then track the gaps, who owns them and how long they stay open. Access history shows whether permissions are actually being used, which helps you find stale privileges and unexpected access. A shrinking backlog of high-risk findings is a better signal than confirming a policy exists.

Explore Data Security Resources

Explore Data Security Topics

Deep dives into every aspect of data security