How to exclude certain users from SafeSearch
search cancel

How to exclude certain users from SafeSearch


Article ID: 166392


Updated On:


ProxySG Software - SGOS


Blue Coat provides a facility to enable the SafeSearch feature on many of the most popular search engines (see knowledge article 000021435). However, this facility does not permit certain users to be excluded from having SafeSearch restrictions applied to them. The following allows for exclusions. (Note that this is based on version 1 of the current SafeSearch CPL code. There is no guarantee that this solution will apply to any future update).

1.     Extract the .txt CPL file from the ZIP file attached to knowledge article 000021435 and load it into an editor.

2.     At the end of the text file, add the following (modifying as required):

define condition MY_SafeSearchExcluded

realm=IWA user="domain\joe"
realm=IWA user="domain\joanne"
realm=IWA group="domain\ADgroup"

end condition MY_SafeSearchExcluded 

3.     Search for all lines that begin <Proxy. For example:

<proxy BC_SafeSearch_Yahoo_query> condition=BC_SafeSearch_Yahoo_Domains

4.     To the end of each of these lines, add condition=!MY_SafeSearchExcluded. For example:

<proxy BC_SafeSearch_Yahoo_query> condition=BC_SafeSearch_Yahoo_Domains condition=!MY_SafeSearchExcluded

Now, each of the SafeSearch queries will only be acted upon if the users are not in the exclusion list.