Skip to main content

Netskope Help

HTTP Header Policies

HTTP headers help to create granular policies based on the value of header such as restricting or allowing access to resources. For example, allow access to abc.com only when referred by mycompany.com. 

To create a HTTP header policy, first a header profile must be created that can then be included in the policy. Follow the steps mentioned below to create the header profile:

  1. Navigate to Policies > Profile > HTTP Header.

    vrp_swg_web_traffic_use_case3.jpg
  2. Create a new profile. Note the request field values supported are: Accept-Encoding, Method, Host, Referrer, Content-Encoding, and Content-Type. These fields are  “AND”ed together, while entries in a single field are “OR”ed together.

    vrp_swg_web_traffic_use_case3b.jpg
  3. Once the header profile is set, the profile can be used in a policy to  define what traffic to look within the headers, and if found, what actions should be taken. See the policy setting below.

    vrp_swg_web_traffic_use_case3c.jpg

To learn more: Real-time Protection Policies.