---
schema_version: "1"
id: 0ae4285d8534d8be350989801e5e15b34df0513e9470dd72ac45e6db1a012917
title: About Data Policies
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/online/ipa_vconn_about_data_policy.md
canonical_url: https://help.tableau.com/v0.0/online/en-gb/ipa_vconn_about_data_policy.htm
source_site: help.tableau.com
content_type: documentation
content_hash: ee95e44432f7ffe62d660e5bdb0828942bcdfdd4fea42fa11f06f7ca03f520c7
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/next/en-gb/online/en-gb/Img/ipa_vconns_policy_components.png)

1. The tables they apply to are 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/next/en-gb/online/en-gb/Img/ipa_Create_New_Policy_btn.png).

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

## Related tasks

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

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

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

Not finding what you need?

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