# Author a Restricted Data Policy

Data owners who are not governors can write restricted [subscription](/2024.3/secure-your-data/authoring-policies-in-secure/section-contents/how-to-guides/restricted-subscription-policies.md) and data policies, which allow them to enforce policies on multiple data sources simultaneously, eliminating the need to write redundant [local policies](/2024.3/secure-your-data/authoring-policies-in-secure/policies-explained.md).

Unlike global policies, the application of these policies is restricted to the data sources owned by the users or groups specified in the policy and will change as users' ownerships change.

1. Click **Policies** in the left sidebar and select **Data Policies**.
2. Click **Add Policy** and complete the **Enter Name** field.
3. Select how the policy should protect the data. Click a link below for instructions on building that specific data policy:
   * [**Mask**](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/data-policy-tutorial.md)
   * [**Only show rows**](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/row-redaction-tutorial.md)
   * [**Only show data by time**](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/time-based-tutorial.md)
   * [**Limit usage to purpose(s)**](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/purpose-tutorial.md)
   * [**Minimize data source**](/2024.3/secure-your-data/authoring-policies-in-secure/data-policies/how-to-guides/minimization-tutorial.md)
4. Opt to complete the **Enter Rationale for Policy (Optional)** field, and then click **Add**.
5. From the **Where should this policy be applied** dropdown menu, select **When selected by data owners**, **On all data sources**, or **On data sources**. If you selected **On data sources**, finish the condition in one of the following ways:
   * **tagged**: Select this option and then search for **tags** in the subsequent dropdown menu.
   * **with columns tagged**: Select this option and then search for **tags** in the subsequent dropdown menu.
   * **with column names spelled like**: Select this option, and then enter a **regex** and choose a **modifier** in the subsequent fields.
   * **in server**: Select this option and then choose a **server** from the subsequent dropdown menu to apply the policy to data sources that share this connection string.
   * **created between**: Select this option and then choose a **start date** and an **end date** in the subsequent dropdown menus.
6. Beneath **Whose Data Sources should this policy be restricted to**, add **users** or **groups** to the policy restriction by typing in the text fields and selecting from the dropdown menus that appear.
7. Click **Create Policy**, and then click **Activate Policy** or **Stage Policy**.


---

# 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/how-to-guides/restricted-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.
