# Data Policies

Data policies determine what users see when they query data in a table they have access to.

## [Overview](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/data-policy-overview.md)

This guide provides a general overview of data policies and their behavior.

## How-to guides

* [Author a masking data policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/data-policy-tutorial.md)
* [Author a minimization policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/minimization-tutorial.md)
* [Author a purpose-based restriction policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/purpose-tutorial.md)
* [Author a restricted data policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/restricted-data-policies.md)
* [Author a row-level policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/row-redaction-tutorial.md)
* [Author a time-based restriction policy](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/time-based-tutorial.md)
* [Certification, exemptions, and diffs](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/manage-policies-per-data-source.md): Certify policies, exempt users from policies, and view policy diffs on a data source.
* [External masking interface](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/external-masking-interface.md): Set up Immuta to use the encryption or masking algorithm in your external masking service.

## Reference guides

* [All data policy types](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/data-policies.md): This guide describes all the data policies available in Immuta.
* [Masking policies](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/masking-matrix-functions.md): This guide describes the types of masking policies available and when to use each.
* [Row-level policies](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/row-redaction-explained.md): Row-level policies compare data values with user metadata at query-time to determine whether or not the querying user should have access to the individual rows of data.
* [Custom WHERE clause functions](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/custom-where-clause-functions.md): This guide describes the custom functions you can use to extend the PostgreSQL WHERE syntax.
* [Data policy conflicts and fallback](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/data-policy-conflicts.md): In some cases, two conflicting global masking policies apply to a single data source. This guide describes how Immuta handles those conflicts.
* [Custom data policy certifications](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/custom-policy-certifications.md): When building a global data policy, governors can create custom certifications that must be acknowledged by data owners when the policy is applied to data sources.
* [Orchestrated masking policies](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/reference-guides/orchestrated-masking-policies.md): These policies reduce conflicts between masking policies that apply to a single column, allowing policies to scale more effectively across your organization.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.immuta.com/2024.3/secure-your-data/authoring-policies-in-secure/data-policies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
