Data Access Control in Tableau: Extending RLS with Snowflake (Part 2)

From Dashboard-Level Security to Centralized Data Governance

In Part 1, we explored how Row-Level Security (RLS) can be implemented directly within Tableau using User Filters and security tables. These approaches allow Tableau to determine which rows should be visible to the logged-in user.

Data Access Control in Tableau

However, in an enterprise analytics environment, Tableau is often only one of several consumers of the organization’s data. The underlying data may reside in a centralized cloud data platform such as Snowflake and may also be consumed by other reporting, analytics, or data applications.

This creates an opportunity to move the data-level security closer to the data itself. Instead of having each reporting platform implement and maintain its own RLS logic, Snowflake can enforce the access rules and return only the data that the user is authorized to access.

Moving RLS into Snowflake

Conceptually, the shift is simple.

Earlier:

  • Tableau queries the full dataset
  • Tableau applies filters

Now:

  • Tableau queries Snowflake
  • Snowflake applies RLS
  • Tableau receives already filtered data

Approach 1: Using Secure Views

One of the simplest ways to implement RLS in Snowflake is through secure views.

Instead of exposing raw tables, you create a view that applies filtering based on the logged-in user.

Example:

CREATE OR REPLACE SECURE VIEW ORDERS_SECURE AS
SELECT O.*
FROM ORDERS O
JOIN USER_ENTITLEMENTS U
ON O.REGION = U.REGION
WHERE U.USERNAME = CURRENT_USER();

Now, Tableau connects to ORDERS_SECURE instead of ORDERS.
What changes in practice

When a user opens a dashboard:

  • Tableau sends a query to Snowflake
  • Snowflake evaluates CURRENT_USER()
  • Only relevant rows are returned

From Tableau’s perspective:

It simply receives filtered data – no additional RLS logic required.

Approach 2: Row Access Policies (More Scalable)

As systems grow further, maintaining logic inside views can become repetitive.

Snowflake provides a more centralized way to handle this using Row Access Policies.

Example:

CREATE OR REPLACE ROW ACCESS POLICY region_policy
AS (REGION STRING) RETURNS BOOLEAN ->
EXISTS (
SELECT 1
FROM USER_ENTITLEMENTS U
WHERE U.USERNAME = CURRENT_USER()
AND U.REGION = REGION
);

This policy can then be applied directly to a table.

Why this is powerful

Unlike views:

  • Policies are defined once
  • Automatically enforced across queries
  • Easier to manage at scale

It moves security closer to the data itself, rather than individual queries.

How Tableau Fits into This Model

Once RLS is handled in Snowflake, Tableau’s responsibility becomes much clearer.

Instead of managing row-level filtering, Tableau focuses on:

  • Who can access which dashboards
  • Which teams can see which reports
  • How data is presented

In other words:

  • Snowflake → controls data visibility
  • Tableau → controls content access

This separation makes the overall system easier to manage and scale.

Live vs Extract: A Key Design Decision

When integrating Tableau with Snowflake, connection type plays a crucial role.

Live Connection

With a live connection:

  • Every interaction sends a query to Snowflake
  • Snowflake evaluates RLS in real time

This means:

  • Changes in user access reflect immediately
  • No duplication of security logic

This setup aligns naturally with Snowflake-based RLS.

Extract Connection

With extracts:

  • Data is pulled into Tableau and stored locally
  • Snowflake logic is applied only during refresh

After that:

  • Tableau serves data independently
  • Snowflake no longer enforces RLS dynamically

This means:

Tableau must still handle RLS if extracts are used.

What this means in practice

  • Live → Snowflake-driven security
  • Extract → Tableau-driven security

Neither is “wrong” – the choice depends on:

  • Performance needs
  • Data freshness requirements
  • Security complexity

A Balanced Architecture (What Works in Real Projects)

In most mature implementations, the solution is not about choosing one over the other – it’s about balance.

A practical approach looks like this:

  • Snowflake handles:
    • Row-Level Security
    • Centralized access logic
  • Tableau handles:
    • Dashboard access
    • User experience
    • Presentation layer filtering

This avoids:

  • Duplication of logic
  • Inconsistencies across tools
  • Maintenance overhead

When Should You Move RLS to Snowflake?

From experience, this transition usually happens when:

  • Access rules become complex (multiple dimensions)
  • User base grows significantly
  • Performance starts degrading due to joins
  • The same data is used across multiple tools

At that point: 

Centralizing RLS in Snowflake becomes a natural next step.

Final Thoughts

Tableau is fully capable of handling Row-Level Security, and for many use cases, it remains the simplest and most effective solution.

However, as systems scale, shifting RLS into Snowflake provides:

  • Better performance
  • Centralized governance
  • Consistency across platforms

The goal is not to replace Tableau’s capabilities, but to use each layer effectively.

The most successful architectures are the ones where each component does what it does best.