Skip to content

Whitelist & Blacklist Rules

Rules are the core of access control in MIDA. Every rule is either a Blacklist rule, which blocks matching visitors, or a Whitelist rule, which always allows them.

Blacklist and Whitelist options on the Blocking Rules page


Each rule has three parts:

  1. Condition: what MIDA checks. One rule uses one condition type: IP Address, Country, Region, ISP, User Agent, or Referral URL. You can add many values to it.
  2. Rule type: Blacklist or Whitelist.
  3. Scope: where the rule applies, either Global (your whole store) or URL specific (selected products, collections, or paths).

To create one, see Creating Rules.


A Blacklist rule blocks visitors who match it. They see your block page instead of your store.

Visitors who don’t match the rule browse your store as usual.

  • Blacklist the IP address 203.0.113.25 → only visitors from that IP are blocked.
  • Blacklist a country you don’t sell to → visitors from that country are blocked.
  • Blacklist a Referral URL keyword → visitors who arrive from spam sites containing that keyword are blocked.

Use Blacklist rules to keep known fraudsters, abusive visitors, and unwanted traffic away from your storefront.


A Whitelist rule makes sure trusted visitors are always allowed.

A visitor who matches a Whitelist rule:

  • Is allowed even if they also match a Blacklist rule.
  • Skips Name blocking and Protection Mode, so they are not blocked for using a VPN, proxy, or TOR, or for a high IP risk score.

Visitors who don’t match a Whitelist rule are not blocked because of it. They continue through your other rules and settings as usual.

  • Whitelist your office or warehouse IP address → your team is never blocked, even when they use a VPN.
  • Whitelist a partner’s IP range (for example 198.51.100.0/24) → their monitoring or integration tools always get through.

Whitelist rules are recommended for:

  • Your team and internal tools
  • Business partners and agencies
  • Testing devices

Whitelist always wins. MIDA checks Whitelist rules first, then Blacklist rules. If a visitor matches both, they are allowed.

See the full order of checks in Overall Workflow.


Whitelist rules used to work differently: only visitors in the Whitelist could access the store, and everyone else was blocked.

  • Whitelist rules you created before the update still work the old way.
  • New Whitelist rules use the behavior described on this page.
  • If you have older rules, the Dashboard shows the banner We’ve updated how Whitelist rules work. Click Learn more to see what changed.

To switch to the new behavior, create your older Whitelist rules again as new Whitelist rules, then delete or disable the old ones. If you’re not sure which rules are older, contact us and we’ll help you.


  • Free: IP Address and Country, up to 2 active Blacklist rules and 2 active Whitelist rules.
  • Advanced: adds Region, ISP, and Names, with unlimited rules.
  • Unlimited and Plus: all conditions, including User Agent and Referral URL.

See Pricing Plans & Feature Limits.


If you have any questions, feel free to contact us via Crisp Chat or email us at [email protected].