How to bypass Authentication by header


This article applies to:

  • SWG 10.x
  • SWG 11.x

Question:

  • Some sites or programs require you to bypass Authentication in order for it to be accessed through the SWG appliance. For example, Google Earth’s update mechanism will not allow the program to run if it cannot contact its host site, and the host site cannot be reached when using Authentication through the SWG.

Procedure:

  • To bypass authentication in our Google Earth example, we will use the User-Agent header that Google Earth uses to access its host site.

  1. Navigate to Polices > Condition Settings > Header Fields
  2. Under Exclude by Headers, click Edit and enter the following information: 
Header Name: 
Condition: 
Header Value: 



3. Save and Commit changes.

Other programs and hardware are known to need to have authentication bypassed in order to be used. Here are the programs and the Header names used to allow access. 


Application Header Value Expression
Google Earth User-Agent Regular Expression ^GoogleEarth.*
iPhone User-Agent Regular Expression Apple iPhone.*
iPad User-Agent Regular Expression Apple iPad.*
iTunes User-Agent Regular Expression iTunes/.*
- - - AppleCoreMedia/.*
Microsoft Updates User-Agent Equals Windows-Update-Agent
- - Regular Expression ^MicrosoftBITS/.*
Adobe Flash User-Agent Regular Expression ^Adobe Flash Update.*





 


Last Modified 6/17/2013.
https://support.trustwave.com/kb/KnowledgebaseArticle14067.aspx