---
title: "Rules"
description: "Every storefront and checkout rule, what it does, and its default."
---

> Documentation Index
> Fetch the complete documentation index at: https://use-protect.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Rules

Open **Storefront → Settings → Rules** to decide who may browse, and **Storefront → Checkout** to decide who may check out. The defaults below apply until you change them.

## Network & Traffic

| Rule | Default | Effect |
|---|---|---|
| **Bot detection (verified bots allowed)** | On | Blocks automated browsers and unverified bot user agents. Verified search crawlers always pass: Googlebot, Bingbot, DuckDuckBot, Baiduspider, YandexBot, Applebot and Slurp. |
| **Block TOR exit nodes** | On | Blocks visits arriving through Tor. |
| **Checkout origin protection** | None | Decides what happens to a checkout with no valid verdict token. See below. |

### Checkout origin protection

| Mode | A checkout without a valid token |
|---|---|
| None | Goes through. The order is tagged `sd-suspicious`. |
| Risk | Goes through. The order is tagged `sd-suspicious` and `protect-risk`. |
| Block | Is rejected by the cart validation rule. |

In every mode, the payment customization hides payment methods when the token is missing or invalid.

> **Before you choose block**
>
> Block mode rejects any checkout that did not pass through the embed or the checkout block. Confirm both are installed, and enable any other sales channels you use under [Storefront → Settings → Coverage](https://use-protect.com/docs/storefront/settings/#coverage). Run in risk mode first and check which orders gain `protect-risk`.

## Geography

| Rule | Effect |
|---|---|
| **Block continents (comma-separated)** | Blocks visits from the listed continents. |
| **Block countries (ISO codes)** | Blocks visits from the listed countries, for example `KP, IR`. |
| **Allow exceptions** | Countries that are always allowed. An exception overrides both blocklists. |
| **Exclude geo-blocked sessions from reporting** | Leaves geography-blocked visits out of the session log and figures. |

## Checkout rules

On **Storefront → Checkout**. These are enforced at checkout by the cart validation rule. They work only when [setup step 3](https://use-protect.com/docs/get-started/setup/) is complete.

| Rule | Effect |
|---|---|
| **Block customer-account creation during checkout** | Rejects a checkout from a buyer who gives an email address but has no existing customer account. |
| **Email blocklist (emails or @domain)** | Rejects a checkout using a listed address, or any address at a listed domain. |
| **Cart subtotal** with **Amount** | Rejects a cart whose subtotal is below, or above, the amount you set. |
| **Block products tagged "protect-blocked"** | Rejects a cart containing a product that carries the tag `protect-blocked`. Add that tag to a product in Shopify to stop it being bought. |
| **Block when shipping/billing country mismatches** | Rejects a checkout whose shipping and billing countries differ. |

The message a shopper sees when a checkout is rejected is set under [Storefront → Settings → Blocked](https://use-protect.com/docs/storefront/settings/#blocked-checkout).

## Blocklists & Whitelists

| Rule | Effect |
|---|---|
| **ASN blocklist** | Blocks whole networks by their autonomous system number. |
| **IP blocklist** | Blocks individual addresses. |
| **IP whitelist (overrides blocklists)** | Always allows an address. It overrides every other rule, including shared reputation. |

To undo a wrong block for a known customer, add their IP address to the whitelist.

## Risk weights

The last section tunes the Suspect Score and needs the Protect plan. See [Risk weights](https://use-protect.com/docs/storefront/risk-weights/).

Source: https://use-protect.com/docs/storefront/rules/index.mdx
