What Is URL Filtering? A Plain-English Guide (2026)

What Is URL Filtering? A Plain-English Guide (2026)

Last updated: November 20, 2026

Quick answer: URL filtering decides whether a specific web request is allowed, warned on or blocked. It checks the full address (the domain and the path), the site's category and your organization's policy, and it sits between the user and the site. That makes it different from DNS filtering, which only sees the domain name.

A URL filter is one of the oldest controls in web security, and it's still one of the most useful. This guide covers what URL filtering is, how it works, where it runs, real examples, URL categories and its limits. We make dope.security, a secure web gateway, so the last section is about our product. Everything before it applies to any URL filtering tool.

What is URL filtering?

URL filtering is a security control that allows, warns on or blocks web requests based on the requested URL, the category that URL belongs to and the organization's policy. Admins use it to keep users away from malicious sites, enforce acceptable use rules and limit risky destinations such as unapproved file-sharing or AI sites.

The difference between a URL and a domain matters here. A domain is the site's name, such as example.com. A URL is the full address of one resource on that site, such as example.com/docs/setup or example.com/upload. Because a URL filter can read the whole address, it can treat two pages on the same site differently: allow example.com/docs while blocking example.com/upload. A domain-only control can't make that distinction. For a deeper comparison, see DNS filtering vs URL filtering.

How does URL filtering work?

When a user or an app requests a web page, the URL filter intercepts the request before it reaches the site. It looks up the URL, matches it against policy and then takes an action. Four pieces do the work.

Categories and reputation

Most URL filters don't keep a rule for every site. Instead, each site is placed in a category, such as gambling, social media, phishing or newly registered domains, and policy is set per category. The category lookup typically happens when a site is first requested, and the result is reused for later requests. Reputation signals, such as whether a site is known to be malicious, often feed the same lookup.

Allow, block and warn actions

Each category or rule maps to an action. Allow lets the request through. Block stops it and shows a block page. Warn sits in between: warning pages show users a message before they continue, which is useful for sites that are sometimes legitimate but worth a second thought. Most tools let admins customize the block and warning pages so users know why they were stopped and who to contact.

Custom lists and custom categories

Categories cover the broad strokes. Custom lists handle the exceptions: a partner site that's wrongly categorized, a specific domain you want blocked regardless of category, or one internal tool that must always work. Better tools also match on the URL path, not just the domain, so a rule can target one section of a site.

Why HTTPS matters

Almost all web traffic now uses HTTPS. Without SSL inspection (also called TLS inspection), a URL filter usually sees only the hostname the browser is connecting to, not the full path. With inspection, the filter decrypts the request, reads the full URL and applies path-level rules. That's why URL filtering and SSL inspection are usually sold together, and why sites on an inspection bypass list get domain-level treatment only.

What are the types of URL filtering by where it runs?

URL filtering can run in four main places. Where it runs decides what it can see and which users it covers.

Where it runs What it sees Who it covers Typical tradeoff
Firewall or appliance Full URL when traffic is inspected Users on the network it protects Devices off that network are out of scope
DNS layer Domain name only Any device using the protective resolver No path-level rules
Cloud proxy Full URL when traffic is inspected Users whose traffic is routed to the proxy Traffic detours through the provider's data center
On-device Full URL when traffic is inspected The managed device, wherever it connects Needs software on each device

Firewall URL filtering is common in offices: the firewall that already guards the network adds URL categories and rules. It works well for on-site users, but a laptop on home Wi-Fi is outside its view. If you're weighing a DNS-layer service against full URL inspection, read DNS filtering vs URL filtering.

What are some URL filtering examples?

  • Block a category. Block gambling for every user. Anyone who visits a gambling site sees a block page instead of the site.
  • Block one domain with a custom category. Add a single domain to a custom category set to Block. The rule applies even if the base category would allow it.
  • Allow a site but block one path. Allow a file-sharing service's help pages while blocking its upload path. This needs path matching and HTTPS inspection.
  • Warn on newly registered domains. Domains only a few days old are a common phishing tool. A warning page makes users pause before they continue.
  • Limit access to AI sites. Allow the AI tools your company has approved and block or warn on the rest, so sensitive work stays in sanctioned apps.

What are URL categories?

URL categories are labels that group websites by content or risk, such as news, gambling, phishing or malware, so admins can set one policy for thousands of sites at once. A URL category is the label applied to one specific site or URL.

Categories turn an impossible job (writing a rule for every site) into a manageable one (choosing an action for a few dozen groups). They usually fall into two families: content categories for acceptable use, and security categories for risk.

Example category Family Typical action
Phishing Security Block
Malware Security Block
Newly registered domains Security Warn or block
Gambling Content Block
Adult content Content Block
Social media Content Allow or warn
Streaming video Content Allow or limit
Generative AI Content Allow approved apps, warn or block others

Categorization is never perfect. Sites change, and new sites appear every day. Good tools let admins override a category with custom rules and request a recategorization when a site is wrong.

What is the difference between URL filtering and DNS filtering?

DNS filtering works at the name-lookup step: when a device asks which IP address belongs to a domain, the resolver refuses to answer for blocked domains. It's fast and simple, but it only ever sees the domain. URL filtering works on the web request itself, so with inspection it can read the full path and apply page-level rules. Many organizations use both. We cover the tradeoffs in detail in DNS filtering vs URL filtering.

Is URL filtering the same as web filtering or content filtering?

People often use the terms as near-synonyms. Web filtering is the wider term: it covers any control over web access, including URL filtering, DNS filtering and inspection of page content. Content filtering sometimes means category-based blocking and sometimes means inspecting what's on the page. URL filtering is the specific technique of deciding by URL and category. For the broader picture, see our guide to web content filtering.

What are the limits of URL filtering?

URL filtering is useful but not complete. These limits apply to any web filter, ours included:

  • Encrypted traffic without inspection. Without SSL inspection, a filter sees the hostname and not the full URL, so path rules can't apply.
  • Bypass lists. Sites exempted from inspection, often for compatibility or privacy reasons, only get domain-level treatment.
  • Unmanaged devices. Personal phones and laptops that don't route through the filter aren't covered by it.
  • Actions that never cross the network. A web filter only sees web requests. Local activity that makes no network request is outside its view.

How do you choose URL filtering software?

Start with where enforcement runs, because that sets what the tool can see and which users it covers. Then check whether it filters by full URL path or by domain only, how it handles HTTPS inspection and bypasses, and whether it still works when people leave the office. Our roundup of the best URL filtering software compares ten options on those points.

How does dope.security do URL filtering?

dope.security is a secure web gateway whose proxy runs on the managed Mac or Windows laptop, not in a cloud data center. URL filtering, SSL inspection and Cloud App Control are processed on the device. dope.security's proxy runs on the device by design, an architecture it calls Fly Direct.

Interception happens at the OS level (a Windows WFP driver, a Mac network extension), so traffic from non-browser apps is intercepted as well as browser traffic, apart from apps and domains on the bypass lists. Enforcement works on-network or off.

How the pieces described above work in the dope.security secure web gateway:

  • Categories: dope.swg's base policy has 83 subcategories in 30 parent categories, and each can be set to Allow, Block or Warning. URL categorizations are fetched on demand, cached on the device and refreshed regularly. When an unknown domain is set to Block or Warning, dope.security automatically requests that it be recategorized.
  • Custom categories: Custom URL categories can block a domain. They accept domains and URLs with * wildcards, can be imported from a CSV or TXT file, and take precedence over the base categories. Custom categories support Allow, Block, Warning and Ignore.
  • Paths: Allow and block rules can match on the path of a URL as well as on the domain.
  • New sites: The Newly Registered (domains under 30 days) and Dynamic DNS categories can be used to warn on, block or log new, unknown sites.
  • Block and warning pages: Admins can edit the title and message of the default Block, Warning, Security Risk and Cloud Application pages, or use fully custom HTML pages.
  • Bypasses: Bypassed URLs skip SSL decryption. dope.security maintains a default bypass list, where each entry can be set to 'Do Not Bypass', and admins can add their own per policy.
  • Logging: On endpoints running dope.security, SIEM logs include the URL, the process name and the policy type, plus block detail such as the category or custom category.

Scope matters too: dope.security protects managed Mac and Windows endpoints. It does not cover servers, Linux hosts or CI runners.

Start a free trial with your Microsoft 365 or Google sign-in, no payment method needed. Questions? Email sales@dope.security.

Frequently asked questions

What does URL filtering do?

URL filtering checks each web request against policy and then allows it, shows a warning or blocks it. It decides using the full URL, the site's category and any custom rules. Organizations use it to stop visits to malicious sites, enforce acceptable use rules and limit risky destinations, such as unapproved file-sharing or AI sites.

How do you configure URL filtering?

Start by choosing which categories to block, such as phishing, malware and gambling. Set an action for each one: allow, warn or block. Add exceptions with custom lists for sites that are miscategorized or business-critical. Then test with a few users before rolling out widely, and review blocked requests in the logs to tune the policy.

How do users try to bypass a URL filter, and how do admins respond?

Common attempts include personal VPNs, proxy and anonymizer sites, and switching to an unmanaged device. Admins respond by blocking proxy and anonymizer categories, enforcing the filter on the device so it applies on any network, limiting who can change network settings, and reviewing logs for unusual patterns. Clear warning pages also reduce accidental violations.

Is URL filtering the same as web filtering?

Not exactly, although the terms are often used interchangeably. Web filtering is the broader term for any control over web access, including DNS filtering and content inspection. URL filtering is one specific method within it: it decides what to allow or block based on the requested URL and the category that URL belongs to.

Does URL filtering need SSL inspection?

For full coverage, yes. Without SSL inspection, a URL filter on HTTPS traffic usually sees only the hostname, so it can apply domain-level rules but not path-level ones. With inspection, it reads the full URL and can enforce page-level policy. Sites on an inspection bypass list still get domain-level treatment only.

What is the difference between URL filtering and DNS filtering?

DNS filtering blocks at the name-lookup step and only sees the domain. URL filtering acts on the web request itself, so with inspection it can read the full path and apply page-level rules. See our full comparison of DNS filtering vs URL filtering for when to use each.

Sources

Technology Solutions
Technology Solutions
How-To
How-To
DNS Filtering
DNS Filtering
Secure Web Gateway
Secure Web Gateway
← back to blog Home