> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Restrict Access to Datasets and Environments

> Limit a sensitive dataset or a whole environment so only Team Owners and user groups with access can read its data

EntBeta

> [!NOTE]
>
> Dataset restrictions are in public [beta](https://docs.honeycomb.io/troubleshoot/product-lifecycle/release-stages.md#beta) on the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).

Restrict a dataset or environment when only some team members should read its data.
To learn how restrictions work, visit [What are dataset restrictions?](https://docs.honeycomb.io/configure/teams/dataset-restrictions).

## Before you begin

You must be a [Team Owner](https://docs.honeycomb.io/configure/teams/manage-permissions.md) to restrict datasets and environments.

When you restrict data, only Team Owners can read it until you grant access.
Decide who needs access before you start, and then give those people access through [user groups](https://docs.honeycomb.io/configure/teams/dataset-restrictions/manage-user-groups.md) after you restrict the data.

> [!NOTE]
>
> You can't restrict the Activity Log environment or its datasets.
> Honeycomb treats the Activity Log as a system environment, so everyone on your team keeps access to it.

## Restrict a dataset

Restrict a single dataset when it holds data that only some team members should read.

To restrict a dataset:

1. Select the **Environments** selector in the navigation menu, and then select the environment that contains the dataset.

2. Select **Manage Data** () from the navigation menu, and choose **Datasets**.

3. Select the name of the dataset you want to restrict to open its settings.

4. In the **Restricted Access** section, turn on **Restrict who can read this dataset**.

5. In the confirmation dialog, select **Restrict dataset**.

Everyone on your team can still find the dataset by name, but only Team Owners and members of a group you grant access can read its data.
To give a group access, visit [Grant a group access to restricted data](https://docs.honeycomb.io/configure/teams/dataset-restrictions/manage-user-groups.md#grant-a-group-access-to-restricted-data).

## Restrict an environment

Restrict an environment when all of its data is sensitive, including datasets that don't exist yet.

> [!WARNING]
>
> When you restrict an environment, Honeycomb turns off the individual restriction on each of its datasets, because the environment's restriction covers them.
> If you later remove the environment's restriction, Honeycomb doesn't turn those dataset restrictions back on, so every dataset in the environment becomes unrestricted.
> Before you restrict an environment, note which of its datasets are restricted, so you can restrict them again if you remove the environment's restriction.

To restrict an environment:

1. Select the **Environments** selector in the navigation menu, and then select **Manage Environments**.

2. Select the name of the environment you want to restrict to open its settings.

3. In the **Restricted Access** section, turn on **Restrict who can read this environment**.

4. In the confirmation dialog, select **Restrict environment**.

Every dataset in the environment is now restricted, including datasets created later.
Only Team Owners and members of a group you grant access can read their data.

You can also restrict an environment from a user group, in the **Environment access** column of the group's **Permissions** table.
That setting restricts the environment for your whole team, not only for that group.

## Remove a restriction

Remove a restriction when everyone on your team should read the data again.

> [!WARNING]
>
> When you remove a dataset's restriction, Honeycomb deletes the access that user groups had to that dataset.
> If you restrict the dataset again later, grant groups access again.

To remove a restriction:

> [tab] Dataset
>
> 1. Select the **Environments** selector in the navigation menu, and then select the environment that contains the dataset.
>
> 2. Select **Manage Data** () from the navigation menu, and choose **Datasets**.
>
> 3. Select the name of the dataset to open its settings.
>
> 4. In the **Restricted Access** section, turn off **Restrict who can read this dataset**.
>
> 5. In the confirmation dialog, select **Remove restriction**.

> [tab] Environment
>
> 1. Select the **Environments** selector in the navigation menu, and then select **Manage Environments**.
>
> 2. Select the name of the environment to open its settings.
>
> 3. In the **Restricted Access** section, turn off **Restrict who can read this environment**.
>
> 4. In the confirmation dialog, select **Remove restriction**.

Everyone on your team can read the data again.
If you removed an environment's restriction, every dataset in it is now unrestricted.
For details, refer to [Restrict an environment](#restrict-an-environment).

If you can't turn off a dataset's restriction toggle, its environment is restricted.
To unrestrict the dataset, remove the environment's restriction.

## Find restricted datasets and environments

Review your restrictions in one place with the **Access** column, which shows a **Restricted** label for each restricted dataset or environment.

* Team Owners can view the **Access** column in the dataset list.
* Everyone on your team can view the **Access** column in the **Manage Environments** list.

## Next steps

To give people access to the data you restricted, visit these pages:

* [Manage User Groups](https://docs.honeycomb.io/configure/teams/dataset-restrictions/manage-user-groups.md)
* [What Restricted Users Can Do](https://docs.honeycomb.io/configure/teams/dataset-restrictions/restricted-user-actions.md)
