Skip to main content

Block Domains and Filter Web Content

Overview

Use Manage Blocklist to stop users from visiting websites, or signing up for web apps, that you don't allow. You can block single domains, upload a list, or block whole categories, such as advertising, AI tools, or adult content.

To block apps and browser extensions instead, see Block Applications.


How domain blocking works

Swif enforces domain blocks differently on each type of device:

Device

How domains are blocked

What users see

What's needed

Mac, Windows, Linux

Swif Browser Security, Swif's browser extension, checks each domain when a page loads

The page is replaced with a block message

Swif Browser Security installed in each browser. See supported browsers.

iPhone and iPad

A DNS proxy in the Swif Mobile Security app answers "domain not found" for blocked domains

The site doesn't load, as if it doesn't exist

Swif Mobile Security installed

Android, fully managed

A DNS filter in the Swif Mobile Security app, running as a local VPN on the device, answers "domain not found" for blocked domains. Android 10 or later.

The site doesn't load, as if it doesn't exist

Swif Mobile Security installed, and Android 10 or later

Android, BYOD (work profile)

Not supported

—

—

On computers, domain blocks work only in browsers with Swif Browser Security installed. Without it, domain blocks aren't enforced. Other apps on the computer aren't filtered. See Deploy Swif Browser Security & Agentic Security Organization-Wide.

On iPhone, iPad, and Android, blocks apply to browsers and apps that use the device's standard DNS. Apps that use their own encrypted DNS can get around them.

Block Sign-Up Only works on computers only. See Block sign-ups only below.

"Organization owned" on Android. In the Review step, the device table's Ownership Type shows Organization owned for both fully managed and COPE (company-owned, personally enabled) Android devices.


Where to start

You can open Manage Blocklist from:

  • Device Management > Applications, then Manage Blocklist in the toolbar

  • an app's row on the Applications page

  • the Shadow IT report, which fills in the app's main domain for you

  • a device group's Applications table

  • a device's Applications tab

Manage Blocklist has four steps: Blocklist Queue, Select Devices, Select Device Groups, and Review.


Step 1: Add domains to the blocklist queue

  1. Under Blocklist Target, select Domain.

  2. Under Domain Selection, choose one way to add domains:

Option

How

Enter Domain

Type a domain, such as example.com, and press Enter. Repeat for more. Use *.example.com to include subdomains.

Upload Domain List

Upload a text or CSV file of domains. Swif shows the file name, and how many domains it contains.

Select from Categories

Choose whole categories of domains. See below.

Block categories

Select one or more categories, then click + Add to Blocklist Queue.

Category

What it covers

AI

AI tools and services

Advertising

Ad-serving and ad-tracking domains

Core

Core infrastructure blocklist domains

LLM APIs

The APIs apps and scripts use to call AI models, such as OpenAI, Anthropic, Google Gemini, and Grok. See Block LLM APIs.

FireBog

Community-maintained blocklist domains

NRDs

Newly registered domains, which are often used for phishing

Porn

Adult content

Social Media

Social networks

Telemetry

Telemetry and analytics collection

Each category shows how many domains it contains. Click Preview to see its domains before you add it. In the preview, use Domain Category Lookup to check whether a domain, such as example.com, is in that category. Subdomains are included.

Block LLM APIs

The LLM APIs category blocks the addresses apps, scripts, and AI agents use to call AI models directly, with an API key. It helps stop company data being sent to AI models by tools you haven't approved.

Blocked

Not blocked

AI model APIs, such as api.openai.com, api.anthropic.com, generativelanguage.googleapis.com (Google Gemini), api.x.ai (Grok), and openrouter.ai, and their subdomains, such as eu.api.openai.com

AI chat websites, such as chatgpt.com and claude.ai. To block those, use the AI category.

So you can block AI APIs, while still allowing people to use AI chat sites in their browser.

Some AI services aren't included, such as Azure OpenAI (*.openai.azure.com), Amazon Bedrock outside us-east-1, and regional Google Vertex AI addresses. If you use them, block them as single domains.

On computers, LLM API blocks work only in the browser, for now. On Macs, Windows, and Linux devices, category blocks run in Swif Browser Security, so they only stop AI API calls made in a browser. Most AI API calls come from apps, scripts, IDE extensions, and command-line AI agents, which the browser doesn't see.

Coming soon: you'll be able to use domain categories, such as LLM APIs, in Swif's DNS policies: the Apple DNS Settings Policy, Android Connection Policy, and Windows and Linux DNS Settings Policies. They block AI API calls from every app on the device, in one click. Until then, see How do I block AI model APIs? in the FAQ.

Block sign-ups only

Turn on Block Sign-Up Only to let users visit a website, but stop them from signing up or signing in to it. Use this when people need a site for reference, but you don't want them creating accounts, such as with an unapproved SaaS tool.

Block Sign-Up Only works with entered domains and uploaded lists, on computers with Swif Browser Security.

It doesn't work on iPhone, iPad, or Android. On those devices, the whole site stays reachable, and the Review step shows Sign-up blocking isn't supported on mobile. To block a site on mobile devices, add it without Block Sign-Up Only.


Step 2: Select devices

Choose individual devices from the table. Use search and filters to find them, and select as many as you need. If you started from a device, it's already selected, and can't be deselected.

See what a device already blocks. Click the arrow at the start of a device's row (Show existing blocklist). It lists the apps and domains already blocked on the device. To change them, click Manage Device Blocklist, which opens the device's blocked list in a new tab. A device with no blocks shows No blocked apps or domains.

Step 3: Select device groups

Choose device groups the same way. Expand a group to see what's already blocked for it. To change that, click Manage Group Blocklist, which opens the group's Applications tab in a new tab.

You can select devices, device groups, or both. Each device is counted once in Review, even if it's selected directly and through a group.

Step 4: Review

Review shows Your blocklist will apply to [N] devices, and what will be enforced on each, before you save.

Device summary

Summary

Meaning

Devices ready

Every rule is enforced

Devices needed action

Something must be installed before every rule can be enforced, such as Swif Browser Security, or Swif Mobile Security

Devices with limited support

Some rules can't apply on these devices

Devices not supported

No rules can apply on these devices

What gets blocked

Each domain, domain list, or category in the queue, with its Blocklist Rule: Domain, or Domain · Block Sign Up Only. Categories show how many domains they contain.

Device Scope and Device Group Scope

Device Scope lists each device, with its Rule Status (Ready to Enforce, Action Needed, Limited, or Not Supported), and Rule Coverage, such as "3 of 4 will be enforced". Device Group Scope lists each group. Expand it to see its devices.

Expand a device to see each rule's Enforcement:

Enforcement

Meaning

Ready

The rule will be enforced

Waiting for setup

Computers show "Requires Swif browser extension to be installed", with Deploy Extension.

Not supported

For example, "Domains can't be blocked on BYOD Android", or "Sign-up blocking isn't supported on mobile"

Finish setting up coverage

If devices need something installed, Finish setting up coverage shows how many to fix:

Message

What to do

Install the Swif browser extension on [N] devices. Needed for domain rules blocking on macOS, Windows and Linux.

Click Manage Deployment

Install the Swif mobile app on [N] iOS/iPadOS devices. Needed for domain rules blocking on iOS and iPadOS.

Click Deploy Swif Mobile App

You can fix these before or after you apply the blocklist.

Other ways to block websites or domains

If you've added domains, Review also suggests MDM policies that filter websites for the whole device, through its DNS settings or Apple's built-in filter. This is optional. The suggestions appear for:

  • Macs, iPhones, and iPads enrolled through Apple Business Manager (Automated Device Enrollment)

  • fully managed Android devices

Other Apple devices don't get these suggestions. Review shows Finish setting up coverage for them instead.

Suggestions are grouped by platform:

Platform

Suggestion

Policy

What it does

macOS

Advanced Web & Content Filtering

Sends every app's DNS lookups to a filtering DNS service, such as NextDNS or Cloudflare Gateway, over encrypted DNS. Covers apps, command-line tools, and scripts, not only browsers. macOS 11 or later.

iOS and iPadOS

Advanced Web & Content Filtering

The same, for iPhone and iPad. iOS and iPadOS 14 or later.

iOS and iPadOS

Native On-Device Web Filtering

Apple's built-in web filter: adult content limits, allowed websites, and Safari restrictions

Android

Native Private DNS

Sends all DNS lookups to your secure DNS provider, and locks the setting so users can't change it

For each suggestion:

  • Learn More opens the policy's help article.

  • Configure Policy opens a new policy, with that policy type already selected.

Click Dismiss to hide the suggestions. They stay hidden the next time you use Manage Blocklist, on the same browser.

These policies use your own DNS service's blocklists, not Swif's domain categories, for now. Set up the categories you want in that service, such as NextDNS or Cloudflare Gateway. Support for Swif's domain categories in these policies is coming soon.

Swif VPN on Android

If you've selected fully managed Android devices, Review shows Swif VPN policy will be set up automatically on [N] Android devices. Swif uses it to block domains on the device. Users may see a VPN icon in their status bar. You don't need to do anything.

When you're done, click Apply to [N] devices. Click Back to change your device selection.


See and manage domain blocks

On a device

Go to Device Inventory, open the device, and go to Apps > Blocked. Blocked apps and blocked domains are in separate tables, Blocked Applications and Blocked Domains. Each has its own search, Allow All, and Add to Blocklist.

The Blocked Domains table shows:

Type

Shows

Domain

The domain, and Block Sign-Up Only if it's turned on

Domain list

The file name, and how many domains it contains

Category

The category name, how many domains it contains, and a Category badge

From a device group

The block, and the group it comes from, such as AI · 77 domains · via All Windows Devices

On a device group

Go to Device Groups, open the group, and go to its Applications tab. Domains and categories blocked for the group are listed there, separately from its apps.


Unblock domains

To unblock

Where

How

One domain or category on a device

The device's Apps > Blocked

Click Allow on its row. Other blocks stay.

Everything on a device

The device's Apps > Blocked

Click Allow All in Blocked Domains. Blocks from device groups stay.

A block from a device group

The group's Applications tab

Click Allow on its row. It's removed from every device in the group.

Blocks from a device group can't be removed on a device. They have no Allow button there. Click the group's name, in via [group name], to open the group's Applications tab in a new tab, and remove the block there.


FAQ

Why aren't domains blocked on a computer?

Swif Browser Security isn't installed in that browser, or the user is in a browser without it. See supported browsers. Review shows these devices as Waiting for setup. Click Deploy Extension, or see Deploy Swif Browser Security.

Why don't domain blocks work on iPhone and iPad?

They need the Swif Mobile Security app. Swif Browser Security for Safari on iPhone and iPad also needs it to work. Review shows these devices as Waiting for setup. Install the app, or use the Apple DNS Settings Policy, or the Content & Privacy Restrictions Policy, instead.

Why does a blocked site show "not found" on a phone, instead of a block message?

On iPhone, iPad, and Android, Swif blocks domains by answering "domain not found" when the device looks them up. So the browser or app shows a connection error, instead of a Swif block page. On computers, Swif Browser Security shows a block message.

Why does Block Sign-Up Only not work on my phone?

Block Sign-Up Only works only on computers, with Swif Browser Security. Mobile devices filter whole domains, so they can't tell a sign-up page from the rest of the site. The whole site stays reachable on mobile devices.

Why does an app on a phone still reach a blocked domain?

The app may use its own encrypted DNS, instead of the device's standard DNS. Swif's mobile filter can't block those apps. Consider blocking the app itself, or using an MDM policy that manages DNS for the whole device, such as the Apple DNS Settings Policy, or the Android Connection Policy.

Why can't I block domains on a BYOD Android device?

Work profiles don't let Swif filter the whole device's web traffic. Use domain blocking on fully managed Android devices.

What happens with a device group that has Macs, iPhones, and Android devices?

Each device gets the rules it supports. Review shows which devices are ready, which need something installed, and which aren't supported, so you can fix gaps before saving.

How do I block AI model APIs, such as api.openai.com?

Add the LLM APIs category. See Block LLM APIs. On iPhones, iPads, and fully managed Android devices, it blocks AI API calls from apps that use the device's standard DNS.

On computers, category blocks work only in browsers for now, and AI model APIs are mostly called by apps, scripts, and AI agents. Until Swif's DNS policies support categories, also:

  • For AI coding agents, such as Claude Code, Cursor, and Codex, use Action Authorization in the Swif AI Agent Activity Monitoring Policy, with a Domains rule.

  • On Macs, iPhones, and iPads enrolled through Apple Business Manager, use the Apple DNS Settings Policy, with a filtering DNS service. It filters every app, not only browsers.

Can I unblock one category without removing everything?

Yes. Click Allow on that category's row, in the device's Apps > Blocked. If the category comes from a device group, remove it from the group's Applications tab instead.

Where do I find a domain category I blocked for a device group?

Open the device group's Applications tab. You can also see it on each device in the group, in Apps > Blocked, labeled via [group name]. Click the group's name to open the group.

Why is there no Allow button for a blocked domain on a device?

The block comes from a device group. Remove it from the group's Applications tab, which removes it from every device in the group.

How do I install Swif Browser Security on every computer?

Use the deployment policies for each platform. See Deploy Swif Browser Security & Agentic Security Organization-Wide.

Do domain blocks apply in private browsing?

On computers, only if the user has allowed Swif Browser Security in private windows. Browsers don't run extensions there by default.


Related resources

Did this answer your question?