---
schema_version: "1"
id: 48c9816b45dd1482f567929cefdc4b3373be145b4a604b358fcf2456301d5975
title: About Data Policies
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/online/ipa_vconn_about_data_policy.md
canonical_url: https://help.tableau.com/current/online/en-us/ipa_vconn_about_data_policy.htm
source_site: help.tableau.com
content_type: documentation
content_hash: f8fbdb5890bb26af4855d5370f64745bb5b589d067f2763f4f5ecc2128aa372f
description: Quick help on data policies that apply row-level security in a virtual connection.
---
[Skip to main content](#main-content)

# About Data Policies

Use a data policy when you want to apply row-level security to one or more tables in the connection. Data policies apply to both live and extract connections.

A data policy has three main components:

![An example of the three components of a data policy](/tableau/current/en-us/online/en-us/Img/ipa_vconns_policy_components.png)

1. The tables it applies to, called policy tables. These are the tables that are filtered.
2. The mapped columns that define the relationships between tables (for example, between entitlement and fact tables) and between table columns and policy columns. A policy column is the column used to filter data.
3. The policy condition, which is an expression that is evaluated for every row at query time. When TRUE, the row is shown in the query.

To get started, click ![Create New Policy button](/tableau/current/en-us/online/en-us/Img/ipa_Create_New_Policy_btn.png).

[Read full topic](https://help.tableau.com/current/online/en-us/dm_vconn_create_rlspolicy.htm)

## Related tasks

[About the Virtual Connection Editor](https://help.tableau.com/current/online/en-us/ipa_vconn_about_editor.htm)

[Add Tables to the Connection](https://help.tableau.com/current/online/en-us/ipa_vconn_add_tables.htm)

[Create and Test Data Policies](https://help.tableau.com/current/online/en-us/ipa_vconn_create_data_policy.htm)

Not finding what you need?

Go online to see [all Tableau help](https://www.tableau.com/support/help)