> For the complete documentation index, see [llms.txt](https://docs.b2bridge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2bridge.io/b2bridge-lock/app-configuration.md).

# App configuration

This guide walks you through creating and managing a lock rule to secure your storefront. B2Bridge  uses a single dynamic interface to control what is hidden, who gets access, and how the restriction looks.

Navigate to **lock rule** dashboard to begin.

### Step 1: Status

Turn the lock on or off.

* Check **Rule enabled** to enforce the restriction on your live storefront immediately.
* Uncheck it to keep the rule as a draft.

> 💾 Note: Changes will trigger a save bar at the top of your screen — click Save to apply them.

<figure><img src="/files/Fk4oEJ7osTdyIcIuU16g" alt=""><figcaption></figcaption></figure>

### Step 2: What to lock

Choose the restriction type from the Lock dropdown menu:

* **Hide products entirely:** Completely lock specific items or catalogs from unauthorized eyes.
* **Hide product's price:** Keep products visible, but mask the pricing and disable the "Add to Cart" button.
* **Hide specific pages / URLs:** Lock custom pages, blogs, or internal resource links.

<figure><img src="/files/IyU0ZvToFDiinUaV1G87" alt=""><figcaption></figcaption></figure>

### Step 3: Select what to apply the rule to

Depending on your selection in Step 2, you will configure either the product scope or the specific URL paths:

#### 3.1. Hide products entirely/Hide product's price

Define which items this rule applies to using the Apply to dropdown menu:

* **All products:** Applies the restriction across your entire store catalog.
* **Specific products:** Allows you to handpick exact products or collections.

<figure><img src="/files/qP2dtLy0wwgbcpaYKCON" alt=""><figcaption></figcaption></figure>

*Tip:* Click **Edit products** to open the selection modal. You can search by Product title, Product ID, Barcode, or SKU, and use filters to narrow down your target list.

<figure><img src="/files/oToAQc53aUad3lYbpn7S" alt=""><figcaption></figcaption></figure>

#### 3.2. Hide specific pages / URLs

Specify the exact web addresses you want to restrict under the Pages / URLs to lock section:

* Page URL or path: Enter the specific relative path or URL of the page you want to lock (e.g., `pages/wholesale-terms` or `blogs/news`).
* Click **Add** to include the path in your restriction list. The entire content of any matching page will be securely masked and replaced with your custom display message.

<figure><img src="/files/9CfVymt7VAqKw60d3u3z" alt=""><figcaption></figcaption></figure>

### Step 4: Access & Display Settings

Define who can bypass the restriction. The **Display settings** fields below will dynamically adapt based on your selection from the **Allow access for** dropdown:

<figure><img src="/files/1PNapoBbQtUZt9QkJH13" alt=""><figcaption></figcaption></figure>

#### 4.1. All logged-in customers

Any user who has a registered account and logs into your storefront can access the content.

**Message:** Enter your custom call-to-action text (e.g., `"Log in to view product"` or `"Log in to view price"`).

<figure><img src="/files/eNjKerLf5UK4OFpRsg2x" alt=""><figcaption></figcaption></figure>

#### 4.2. Customers with a specific tag

Restrict visibility strictly to verified accounts carrying a unique tag (e.g., `B2B`, `Wholesale`).

* **Message:** Customize the fallback text for non-tagged logged-in customers.
* *Tip:* To manage tags, go to **Shopify Admin > Customers**, select a profile, and check the Tags section on the right. Ensure your entry here matches Shopify exactly.

<figure><img src="/files/NsbgDBZkkYH0JbZwgi6V" alt=""><figcaption></figcaption></figure>

#### 4.3. Visitors who enter a password

Require a shared passcode to unveil the hidden content.

* **Password:** Enter the exact passcode shoppers must type.
* **Input placeholder:** The ghost text inside the input box (e.g., `"Enter password"`).
* **Unlock button text:** The label on the action button (e.g., `"Unlock"`).
* **Wrong-password message:** The error note shown upon incorrect entry.
* **Styling:** Customise the Button color and Button text color using hex codes to match your branding.

<figure><img src="/files/mawSNcuFfMcaxV4QALKD" alt=""><figcaption></figcaption></figure>

***

{% hint style="success" %}

### Need Help?

If you have questions or run into issues while using any feature, we're here to help.

* 💬 **Start a** [**Live Chat** with our support team](https://go.crisp.chat/chat/embed/?website_id=a59f354c-f51f-4f84-ae9a-c0e8dd69d2e5) directly from your B2Bridge dashboard.
* 📧 **Email us at** [**support@b2bridge.io**](mailto:support@b2bridge.io) and we'll get back to you as soon as possible.
  {% endhint %}
