---
title: "Restrict who can view a demo (allow and block lists)"
slug: "/help/account/company-settings/restrict-viewer-access"
topic: "demos"
description: "Control who can open a published demo with an allow or block list of viewer emails and domains, per demo in Demo preferences or as a company-wide default."
last_updated: "2026-11-05T15:07:19.972Z"
---

Walnut lets you control exactly who can open a published demo by maintaining an **allow list** and a **block list** of viewer emails or domains. You can manage these lists per demo in **Demo preferences → Who can open it**, and set a company-wide default in Company Settings.

## **Overview**

By default, access to a demo is governed by your demo access settings (for example, "anyone with the link" or "specific viewers"). On top of that, allow and block lists give you fine-grained control over **which email addresses or domains** are permitted to view a demo:

-   **Allow list** — only the listed viewers can open the demo; everyone else is denied. Use it to restrict a demo to specific customers or internal teams.
-   **Block list** — the listed viewers are denied; everyone else can view. Use it to keep out competitors or specific domains.

You can add either individual **email addresses** (for example, `jane@acme.com`) or whole **domains** (for example, `@acme.com`) to either list.

A demo uses one list at a time: on a demo you choose **Only these people** (allow) or **Everyone except** (block). Both lists rely on the viewer entering their email, so **Collect viewer emails** must be on.

---

## **Set Access for a Single Demo**

Each demo can carry its own allow or block list.

1.  In your library, open the demo's three-dot menu and select **Demo preferences**.
2.  Open **Who can open it**.
3.  Set **Link access** to **Specific people**. If email collection was off, Walnut turns it on so viewers are checked by their email, and a toast offers **Undo**.
4.  Choose the list type: **Only these people** (an allow list) or **Everyone except** (a block list).
5.  Type an email or domain in **Add an email or domain** and press **Enter**. You can also paste a list or upload a CSV.

Each change saves right away; there's no Save button. **Specific people** isn't offered on a demo that has a lead form attached.

![Who can open it in Demo preferences, showing Link access, Access code and Expiration date](pathname:///images/1e9bf88f02b6c143.png)

The lists take effect for that demo's shared link.

:::tip[Emails vs. domains]

Add a full email address (`jane@acme.com`) to allow or block one person, or a domain (`@acme.com`) to cover everyone at an organization.

:::

---

## **Set a Company-Wide Default**

Admins and Account Owners can maintain workspace-wide allow and block lists that apply to **every demo** automatically, so you don't have to configure access on each demo individually.

1.  Go to **Company Settings → Account settings → Access Control**.
2.  Make sure **Collect viewers email** is on, then click **Edit access**.
3.  Choose **Allow specific viewers** or **Block specific viewers**, and add the emails or domains you want to allow or block across all demos.

Only Admins and Account Owners can edit the company-level lists.

For the full set of related workspace access controls, see [**Company Settings**](/help/account/company-settings).

---

## **Bulk Upload with CSV**


To set up a long allow or block list quickly, you can use a **CSV bulk upload** so you can import many emails or domains at once instead of entering them one by one. You can also paste multiple entries at once — separate them with commas, spaces, or line breaks.


---

## **Remove Many Entries at Once**

When a list has entries on it, a **Remove many** link appears in the list header, next to **Clear list**. Use it to take a batch of emails or domains off the list in one step instead of removing them one at a time.

1.  In the allow or block list, click **Remove many**.
2.  In the dialog (**Remove from the allow list** or **Remove from the block list**), paste the emails and domains you want to remove, or click **Upload a CSV** to load them from a file. Entries can be separated by commas, spaces, or line breaks.
3.  Walnut previews what will happen, for example:

    `3 will be removed · 1 isn't on this list · 1 invalid skipped`

    Click **Show the N** to see every match (up to 200, with a count of any extras), or **Hide the N** to collapse the list again.
4.  Click **Remove N** to confirm, or **Cancel** to back out.

Matching ignores case and surrounding whitespace, so `JANE@acme.com` matches an entry saved as `jane@acme.com`. Tokens that don't match anything on the list are reported as **isn't on this list**; entries that aren't valid emails or domains are counted as **invalid skipped**. Switching between the allow and block modes, or closing Demo preferences, closes **Remove many** without making changes.

If you try to remove every entry from a demo's allow list, the dialog warns you that no one will be able to open the demo until you add someone, and the confirm button turns into a destructive action.

:::note[Per-demo removals stay local]

Removing entries from a single demo's allow or block list only affects that demo. The company-wide default list in **Company Settings** is never changed by a per-demo removal — update it there if you also want the entries off the workspace default.

:::

---

## **Undo a Bulk Add**

Right after a CSV upload or a multi-entry paste, an **Undo** link appears next to the "Added N entries" status message. Click it to remove the entries you just added and return the list to how it was before the upload.

- Undo is offered after any CSV upload, and after a paste that added more than one entry. A single typed or pasted entry doesn't offer Undo — remove it with the ✕ next to the pill instead.
- Undo is withdrawn once you edit the list by hand (removing any entry, or typing and adding another one), so it only ever reverses the most recent bulk upload.
- If you were an admin and chose to **also apply** the bulk add to the company default, Undo removes the entries from the demo only. The status message reminds you: *The company default still has them; remove them in Company Settings.*

---

## **FAQs**

### **What happens if a viewer is on both lists?**

It can't happen in practice. A demo uses only one list at a time — whichever of **Allow specific viewers** or **Block specific viewers** is selected. The other list isn't checked.

### **Can I use these lists together with "collect viewer email"?**

Yes — they depend on it. **Specific people** only works while **Collect viewer emails** is on, because Walnut checks the email the viewer enters against your list. See [**Company Settings**](/help/account/company-settings) for the related toggles.

### **Who can edit the lists?**

Anyone who can edit a demo's Demo preferences can manage that demo's lists; the company-wide default lists can only be edited by Admins and Account Owners.
