- Cloud Protection
- Compliance
- Data Leak Prevention
- Data Risk Assessment
- File Analysis
- File Audit
- Threat Glossary
URL filtering
Key takeaways
- URL filtering controls web access by evaluating the full URL of each request against configured set of policies, and then allowing, blocking, or monitoring it.
- Every request passes through three stages before a page loads: interception, policy evaluation, and verdict enforcement. This all happens in real time, and is transparent to the user unless the request is blocked.
- Filtering preconfigured policies rests on four approaches: Category-based filtering for broad coverage across known risky site types, reputation-based filtering for unknown or newly compromised sites, time-based filtering for schedule-driven access control, and attribute-based filtering for tailoring rules to the user identity, device, and location.
- It is often conflated with DNS filtering, but the two operate across different network layers. DNS filtering blocks whole domains quickly, while URL filtering reads the full request path to block a single risky page and leaves the rest of a legitimate site remains accessible.
- Beyond threat prevention, URL filtering improves employee productivity, supports regulatory compliance, and helps control shadow IT.
What is URL filtering
URL filtering is a web access control mechanism that determines whether a user is permitted to reach a specific web address. Each time someone requests a page, the filter checks the full URL against a set of predefined policies and returns a verdict to allow, block, or monitor the access request. It is one of the most widely deployed controls in enterprise security because it maps each internet access event directly to an enforceable control policy.
The granularity comes from evaluating the entire URL, not just the domain. A domain such as example.com points to the base site. The URL points to an exact page or resource inside it, like example.com/downloads/report. Because the filter reads that full path, it can permit access to one path within a site while restricting another. A financial news site can stay open for market coverage while its sports-betting section is blocked at the path level.
That level of detail is what distinguishes URL filtering from broader web filtering. Web filtering is the umbrella term for all controls governing the content users can reach online. URL filtering is one technique under it, alongside DNS filtering and content filtering. Each operates at a different layer and enforcement granularity, and most organizations run more than one simultaneously.
How URL filtering works
URL filtering operates by inspecting every outbound web request a user makes and deciding, in real time, whether to permit it. Every web access request passes through the filter before content is delivered. The user rarely notices, unless the request is blocked, but in the interval between a request and a response, the filter inspects the request URL and returns an allow, block, or monitor verdict. This happens in three stages:
Interception
The filter catches the web request before content loads, either on a gateway that all traffic passes through or as an agent on the device itself. For HTTPS traffic, it uses SSL/TLS inspection to decrypt the request, reads the full URL, and re-encrypts the connection.
01Evaluation
The filter checks the full URL against the preconfigured policy set and returns a verdict: allow, block, or log.
02Enforcement
The filter acts on the verdict. Allowed pages load normally, while blocked requests serve a block page to the user, and monitored requests pass through but are logged for audit and investigation.
03Vendors classify sites using a mix of internal research, threat intelligence feeds, reputation services, and ML that can classify new or unseen URLs into the right category automatically as they are encountered. This is called URL categorization, and it’s crucial to filtering because attackers generate new malicious URLs constantly, at a rate faster than a static block list could keep pace with. Reliable malicious URL blocking is contingent on the categorization database staying current.
The database can be hosted on-premises, in the cloud, or in a hybrid configuration. Enforcement happens at the application layer, examining requests over protocols like HTTP, HTTPS, FTP, and SMTP. Effective filtering requires SSL/TLS inspection because most web traffic now runs over HTTPS, which modern solutions perform without breaking encryption for the end user.
Types of URL filtering
URL filtering can be classified into a few types, depending on how a URL gets evaluated and where in the traffic path the decision is applied. Most organizations blend these different types to balance control with flexibility:
1. Category-based filtering
Category-based filtering groups URLs into predefined categories, such as social media, gambling, streaming, and malware, enabling policies to be applied across every site within a category at once. Instead of listing every individual site an organization wants to block, the administrator blocks entire categories that they deem as high-risk or unnecessary, and every site in the category is covered, including newly registered sites the admin has never reviewed.
URL categorization lets the filter classify and act on a site based on its category the moment it appears, which is why the quality and coverage of a vendor’s category database is a primary differentiator between solutions.
2. Reputation-based filtering
Reputation-based filtering assigns each site a dynamic risk score derived from signals such as its domain age, hosting history, registration details, past association with malware or phishing campaigns, and crowd-sourced threat intelligence. Administrators can configure reputation score thresholds and restrict sites that fall below them.
It is especially useful for the long tail of the web—the countless sites that are too new, too obscure, or too short-lived to sit in any category database. A category database can only enforce policy on a site once it has been classified, but a phishing page deployed an hour ago carries no category assignment yet. Reputation scoring allows the filter to evaluate an unfamiliar address based on its behavioral signals and structural characteristics, rather than waiting for it to be cataloged.
Reputation-based filtering differs from other methods because the scores are dynamic. A site’s standing is not fixed at classification time; it shifts as the site’s behavior changes. A legitimate, long-trusted website that gets compromised and starts serving malicious code would be allowed by a category filter, but stopped by the reputation-based filter as its risk score deteriorates. This is why reputation is usually tuned as one input among several filters rather than a sole gatekeeper.
3. Time-based filtering
Time-based filtering applies different policy rules depending on when a request is made, letting access shift across the working day. A common setup blocks streaming, shopping, and social media sites during business hours while permitting access over break periods or after work ends, balancing employees’ personal access against business-hours productivity requirements.
Beyond productivity, time-based controls double as a bandwidth management tool. An organization can throttle or block high-bandwidth categories like video streaming and large file downloads during peak network utilization periods, then lift restrictions overnight so resource-intensive transfers run during off-peak capacity windows.
Rules can also be scheduled around specific operational events such as a school enforcing stricter filtering during examination periods or an IT team granting temporary access to a normally restricted category during a planned maintenance window. Time-based rules are most effective when the filter evaluates time server-side rather than trusting the endpoint.
4. Attribute-based filtering
Attribute-based filtering tailors policy rules based on user and device context, drawing on attributes like department, role, seniority, user risk level, and device type rather than applying a uniform policy. The marketing team may be allowed to access social media platforms while the rest of the company may not. A user flagged as high-risk may operate under a tighter policy than their peers. This granularity is what keeps URL filtering from becoming a blunt instrument that impedes legitimate workflows.
In practice, this personalization is driven by integration with the organization’s identity directory service, such as AD or Entra ID. Rather than maintaining separate user lists, the filter reads existing group memberships directly, so a user added to the marketing group automatically inherits that group’s web access control policy and loses it when they are removed or moved.
Device posture is the second major policy axis. Managed, corporate-owned endpoints can be assigned a more permissive policy; while unmanaged or BYOD devices get a stricter default, on the reasoning that the organization has less security assurance about the security of devices outside it's control. Many deployments extend the same logic to network location. A user on the corporate network might operate under one set of rules; while the same user when working remotely or connecting from an unexpected geographic location operates under another. The policy follows both the identity and the access context.
In practice, these four approaches are not competing choices but complementary in nature. A mature deployment rarely relies on any single one: Category-based filtering handles broad web coverage, reputation scoring covers the unknown and newly compromised sites that categories miss, and time and attribute controls scope those policies to the appropriate user, devices and access windows.
URL filtering vs. DNS filtering vs. web filtering
These three terms are often used interchangeably, but web filtering is the parent category. URL filtering and DNS filtering are two enforcement methods within it, separated mainly by the network level at which they act and how precise they are.
| Aspect | Web filtering | URL filtering | DNS filtering |
|---|---|---|---|
| Scope | Umbrella term for all web access control | Individual URLs and paths | Entire domains |
| Filtering stage | Varies by filtering method (e.g., DNS resolution, URL request, or content inspection) | HTTP/HTTPS (Application layer) | DNS resolution |
| Granularity | Varies by filtering method | High (Blocks one page, allows the rest) | Low (Blocks all or nothing per domain) |
| Filtering speed | Varies by filtering method | Slower due to deeper URL inspection | Fast, as it blocks during DNS lookup |
| Best for | Comprehensive web access control (granular & broad) | Path-level policy enforcement and per-page access control | Broad and quick security-based domain-level blocking |
In practice, DNS filtering is the blunt instrument: Quick to deploy and protocol-agnostic, but it blocks a whole domain or nothing. URL filtering is the scalpel, providing path-level precision by reading the full path so it can carve out just the risky page. Many teams deploy both, using DNS filtering for fast, broad coverage and URL filtering where nuance matters.
Why URL filtering matters
Most threats reach employees through the web, which makes the browser one of the largest and most exploited parts of an organization’s attack surface. URL filtering reduces that exposure by keeping users away from unauthorized sites that may cause damage. Its value tends to show up in four areas:
- Threat prevention: Blocking known malicious and phishing URLs stops a significant portion of malware downloads and credential-harvesting attempts before the page ever loads.
- Productivity: Restricting non-business-use sites like streaming, gaming, and social media during business hours keeps both network bandwidth and employee attention on the work that matters.
- Compliance: Filtering supports regulatory mandates such as HIPAA in healthcare and CIPA in schools, both of which require restricting access to specific categories of harmful content.
- Shadow IT control: Surfacing and governing unsanctioned cloud apps reduces the risk of sensitive data leaving through unapproved channels. Especially with the sprawl of SaaS and AI tools that employees adopt on their own, shadow IT discovery helps teams decide which of those tools are safe to allow.
URL filtering examples
URL filtering is deployed almost everywhere people access the web at scale, but what it’s used for shifts sharply from one setting to the next. The same underlying capability serves security control in one place, a compliance mechanism in another, and a productivity governance tool in a third.
Large organizations use URL filtering as both a security and an acceptable use enforcement solution. On the security side, it blocks phishing pages, malware distribution hosts, and command-and-control domains, and surfaces shadow IT so unsanctioned cloud and AI tools can be reviewed before sensitive data is transmitted to them. On the acceptable use and bandwidth side, it restricts or time-scopes distracting categories like streaming, shopping, and social media, often with different policies for different departments or user groups.
Smaller organizations rely on the same core protection but with far less tuning. They typically run a single company-wide policy and favor filtering that blocks malicious destinations by default. The priority is a reduction in incidents rather than the fine-grained control that larger teams have the resources to maintain.
The examples below show how the same technology is typically tailored to fit different industries:
Healthcare
Healthcare providers operate under HIPAA and handle protected health information on networks that have become frequent targets of ransomware attacks. URL filtering restricts access to risky or non-work sites from managed workstations, many of which are shared by multiple staff members across shifts. This reduces the chance of a malware infection reaching patient records. It also helps keep personal email and social media off systems that touch patient data, block phishing aimed at medical staff, and separate guest Wi-Fi from clinical traffic.
Education
Educational institutions and libraries that receive US E-Rate funding must comply with the Children’s Internet Protection Act (CIPA), which requires blocking obscene and other materials harmful to minors. URL filtering enforces safe search, filters explicit, violent, and other age-inappropriate categories, and can apply different policies by grade level so younger students face tighter limits than older ones. With many schools now running one-to-one device programs, endpoint-based filtering extends to school-issued laptops and tablets even after students leave the network. Beyond meeting the mandate, it gives educators a practical way to reduce exposure to cyberbullying and keep classroom devices focused on learning.
Financial services
Banks, insurers, and investment firms face strict regulatory oversight and rank among the most-targeted sectors for phishing, credential theft, and fraud. URL filtering blocks malicious and spoofed sites built to harvest credentials or payment data, and supports mandates like PCI DSS by restricting untrusted-site access from systems that process cardholder information. It also reinforces insider-risk and data-loss controls by limiting the web channels through which confidential financial data could be moved off-network. Filtering at the URL level allows these firms to permit access to safe resources while blocking the risky paths inside them.
An organization rarely wants to block a useful site outright. It wants to allow the safe parts and restrict the rest, which is exactly what filtering at the URL level makes possible. That is also why an allowlist and blocklist approach works best when paired with categorization rather than used on its own.
URL filtering with DataSecurity Plus
ManageEngine DataSecurity Plus integrates URL filtering into a broader data protection workflow, tying web access control with visibility over cloud app usage and employees’ web activity.
Block unauthorized AI platforms
Block employee access at the URL level to high-risk or unapproved AI platforms including public chatbots, image and video generators, and AI writing assistants, that may pose security risks.
Block entire AI app categories
Apply category-based blocking to entire AI app categories like chatbots, AI writing tools, and code assistants—without having to maintain manual blocklists. As new AI platforms emerge, category-based controls extend automatically.
Discover shadow app usage
Track the cloud applications your workforce accesses, and analyze their reputation scores, categories, and the actors behind each request, giving security teams a clear view of shadow IT and where data may be flowing.
Download a free, 30-day trial.Frequently asked questions
1. How does URL filtering differ from content filtering, and when should you use which?
URL filtering asks where the user is attempting to go before the page loads. Content filtering inspects what is on the page after it has been delivered.
- URL filtering evaluates the web address itself, checking it against a database of categories, reputation scores, and allow or block lists, and decides whether it should be permitted or not, before the page loads. It never has to see the page’s contents to act.
- Content filtering inspects the actual material on a page—the text, images, scripts, or files—and blocks based on what it finds, such as explicit imagery or a specific keyword.
The duo work best when deployed together because they operate at different stages. Because they operate at different stages, they’re most effective when deployed together. URL filtering serves as the fast first gate that keeps users off known-malicious and non-compliant destinations, while content filtering acts as a deeper check on the pages that are allowed through. Many web security products bundle both, so a request is screened by address first and by content second.
2. What is the difference between URL filtering and a firewall, and do I need both?
No. They operate at different layers of the network and solve different problems.
- A firewall controls traffic at the network level, deciding which connections, ports, IP addresses, and protocols are permitted in or out. Its job is to govern the flow of traffic, not to interpret the specific web pages inside it.
- URL filtering works at the web application layer, governing which specific sites and pages users can reach based on category, reputation, or policy. It reads the full address of a web request in a way a traditional firewall does not.
The distinction has blurred because most next-generation firewalls now incorporate URL filtering as one of many built-in features. But the two remain distinct functions: the firewall decides whether a connection is allowed at all, and URL filtering decides whether a particular website within that allowed traffic is permitted. In a layered defense they complement each other rather than replace one another.
3. How does URL filtering help detect and control shadow IT?
Shadow IT refers to the cloud and SaaS applications that employees adopt independently, often for legitimate reasons, without IT’s knowledge or approval. These tools sit outside official oversight and can become uncontrolled paths for sensitive data to leave the organization and external threats to enter. URL filtering brings shadow IT back into visibility and under policy control through a few steps:
- Discovery: It logs the cloud applications and domains the workforce actually accesses, turning invisible usage into a concrete list.
- Assessment: It scores each discovered service by reputation and category, so risky or low-trust apps stand out from sanctioned ones.
- Control: It lets administrators allow, block, or monitor each application individually, rather than treating all cloud traffic the same.
This visibility is what makes the difference. An organization can’t govern a tool it doesn’t know is in use, so simply surfacing the full picture of cloud activity is often the first real step. From there, filtering lets teams sanction the safe tools, block the dangerous ones, and keep watch on the rest, closing the unapproved channels through which data would otherwise slip out unnoticed.
4. What are the security limitations of URL filtering and what controls should it be paired with?
URL filtering is a valuable layer, but it covers only one slice of the attack surface. Several common threats pass straight through it:
- Malicious attachments and links that arrive by email rather than web browsing
- Malware that communicates over non-web protocols or through already-trusted domains
- Attacks that exploit a legitimate, still-categorized site before its reputation drops
- Sensitive data leaving through sanctioned services the policy already permits
Due to these gaps, URL filtering is designed to work as part of a layered strategy rather than a standalone control. It typically sits alongside a firewall for network traffic, endpoint protection for the device itself, email security for phishing and malicious attachments, and data loss prevention for the information leaving the organization. Each layer covers the blind spots of the others, and URL filtering does its part by keeping users off known-bad and non-compliant sites in the first place.
5. What application categories should URL filtering block?
The right set depends on an organization’s industry, risk tolerance, and acceptable-use policy, but some categories are near-universal blocks while others are situational, scoped to context.
Blocked by nearly every organization:
- Security threats: Malware, phishing, spam, botnet, and command-and-control sites. There’s rarely a legitimate reason to reach these, so almost every organization blocks them outright.
- Legal and liability risks: Illegal downloads and piracy, weapons, and hate speech, along with other content that could expose the organization to legal or HR consequences.
- Adult and objectionable content: Pornography, gambling, and violence, which are inappropriate on corporate networks and often mandated blocks in schools.
Blocked selectively, based on policy:
- Productivity and bandwidth: Social media, streaming, gaming, shopping, and peer-to-peer file sharing. These are judgment calls, usually scoped by department or time of day rather than blocked outright.
- Anonymizers and proxies: VPN, proxy, and translation services that can be used to tunnel around the filter itself. Many organizations block these to preserve control, though some may serve a business need and need to be allowed.
6. What is the difference between allowlisting and blocklisting in URL filtering?
There are two opposite approaches to a filtering policy. Blocklisting permits every site except the ones you explicitly block, while allowlisting blocks every site except the ones you explicitly approve. The difference comes down to the default: what the filter does with a site that isn’t on either list.
- Blocklisting allows everything by default and blocks only what is judged harmful. It’s less restrictive and easier on users, but it can’t stop a brand-new malicious site until that site has been identified and added to the list.
- Allowlisting blocks everything by default and permits only an approved set of sites. It’s far more secure, since anything unknown is denied automatically, but it’s restrictive and demands more upkeep as legitimate needs change over time.
Most organizations blend the two rather than choosing one outright: broad category-based blocklisting handles everyday browsing for the general workforce, while targeted allowlisting locks down high-security cases, such as a point-of-sale terminal that should reach only a handful of approved destinations. The right balance comes down to how much a given environment values openness against control, and the two approaches often coexist within the same deployment for different user groups or devices.
