# HTTP request filtering policy

Canonical: https://www.nsecsoft.com/en/docs/ping64-endpoint-management/uem/network/http-filter/

Language: en-US

Updated: 2026-11-29T06:58:01.801872Z

HTTP Protocol Filter applies rule actions using request methods and header conditions. It is configured separately from website-visit audit and Web content data-loss prevention. **Allow** only means this feature does not block the match; other policies or network conditions can still prevent access. This guide uses a Windows pilot. Verify other platforms, browsers and encrypted connections separately.

## Before you begin

Use an account permitted to configure UEM policies and confirm the pilot is enrolled, authorized and can receive them. Agree on the test application, requests, maintenance window and on-site recovery with business and network administrators. Filtering can affect websites, uploads and business interfaces. Do not deploy deny rules to all endpoints at once or test with real sensitive data.

## Configure and verify rules

When a new unified endpoint management policy is created, this feature's switch is initially off. For an existing policy, check its saved state.

1.  Under **UEM > Policy**, create or edit a pilot policy and check its name, effective time and targets. Enable **HTTP Protocol Filter** and choose **Settings**. Check existing rule states and order before editing.
    
2.  In the rule list, choose **Add Rule**, enter a name, enabled state and **Method**. Under **Header Conditions**, add fields, comparisons and values appropriate to the test. Numeric comparison values must contain digits only, without a minus sign or decimal point; wildcard values must contain `*`. Field names within a rule must be unique regardless of case. For an approved test request, for example, select `POST`, add a `Content-Type` condition, choose **Pattern** and enter `multipart/*`, then save and verify as described here. `Content-Length` uses numeric comparisons and `Content-Type` uses string comparisons; these conditions depend on the relevant request field being recognizable. The method choices in the interface are `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `TRACE`, `CONNECT`, `OPTIONS`.
    
    Under **Header Conditions**, choose **Add Condition**, then select `Content-Length`, `Content-Type` or **Custom Field** in **Field Type**. For a custom field, enter its name. Changing the field type may adjust the comparison; recheck any entered value as well. Before saving, confirm the field, comparison and value.
    
    **Header value capitalization:** On some Windows endpoints, field names are case-insensitive, but the **Exact** and **Contains** comparisons of field values are case-sensitive; wildcard **Pattern** matching is case-insensitive. For example, an **Exact** `Content-Type` condition of `application/json` does not match `Application/JSON` by that condition. After saving, use controlled requests to verify actual fields and values; do not infer value comparison from field-name handling.
    

**Numeric header comparison:** The page restricts the rule input, not the actual header. On some Windows endpoints, a nonnumeric value of a recognized field may be compared as `0`, and a decimal or value with a unit may be compared using only its leading integer. For example, custom field `X-Count: unknown` may satisfy an equals-`0` condition, and `X-Count: 12.5` may be compared as `12`. Values outside the integer range may also produce unexpected results. These examples do not guarantee the final action. Do not use a numeric condition to validate header format. Confirm the application’s field format and pilot approved normal, nonnumeric, decimal and boundary values separately.

Preventing duplicate fields in a rule does not mean an actual request cannot contain repeated header fields. On some Windows endpoints, handling repeated fields may affect the comparison; do not assume every value is evaluated separately. If an application may send repeated fields, test their order and actual results with approved requests in a pilot.

3.  Choose **Action**. Prefer **Allow** for the first pilot; test **Block** separately only after assessing business impact and recovery. Rules are evaluated in order; the first matching method and all its conditions determine the action. A rule without header conditions may match every recognizable request using that method and can have a broad effect.
4.  Save the filter settings and entire policy, check enabled state, order and scope, and wait for the endpoint to receive it. Use controlled requests to verify actual results both when matching and not matching. Before testing denial, protect critical business and management connections.

**Initial values for a new rule:** A new rule is initially enabled, uses `GET`, allows matching requests and has no header conditions. If it precedes another `GET` blocking rule, this feature may apply the allow action first and stop evaluating later rules for that request; other policies can still block independently. Before saving, check method, conditions, action, enabled state and order against the approved plan, then verify with controlled requests.

**Rule enabled state:** After HTTP protocol filtering is enabled, a correctly formatted but disabled rule can still satisfy this whole-policy save check. This does not mean the rule will process requests: the Windows handling path described here skips disabled rules. If all rules are disabled, do not expect this feature to block requests under those rules. Check each rule’s state, action and order against the approved plan, then verify in a controlled test after the endpoint receives the policy. Do not enable rules merely to pass validation.

## Limits and troubleshooting

-   This feature does not provide a separate header-audit record. Investigate using the test application's result, other applicable records and network conditions; missing records do not prove a rule did not match.
-   If results differ, check entitlement, policy receipt, rule state, order, method, fields and values, then other policies, the endpoint and network. Saving does not prove execution or guarantee recognition of all encrypted or other traffic.
-   Assess dependencies and prepare rollback before changing or disabling rules. If problems occur, stop expanding deployment, restore according to organizational procedures and verify again.
