cancel
Showing results for 
Search instead for 
Did you mean: 
peter.loader
Level 7

Ensuring Policy is Correctly Applied to Google & Bing Cached Pages

Jump to solution

My company uses McAfee Web Gateway 6.8.7 Build 8846.

We currently block Google Cached pages as we were told it was the only way to block cached content from Search engines.

We would like to allow use of Google and Bing Cache for content that is not explicitly blocked in the URL Filters.

Q1)     Can this outcome be acheived in MWG 6.8.7? 

Q2)     If so, how is the policy constructed to acheive that result?

Q3)     If this action can't be acheived with MWG 6.8.7 can the outcome be acheived in MWG 7.x?

Regards,

Pete

0 Kudos
1 Solution

Accepted Solutions
eelsasser
Level 15

Re: Ensuring Policy is Correctly Applied to Google & Bing Cached Pages

Jump to solution

Google changed the way the URL for cached content is displayed.

By default, a cached image is now using a format like this:

http://t0.gstatic.com/images?q=tbn:ANd9GcQ6QOvNORz9SsulyZGK_3AfITn8Q2DakVjQ9p2A6BoXI2nNzorHMA

The URL itself is not decodable in this format and the URL filter has no way of distinguishing it.

You can turn on SafeSearch Enforcement, and that should trigger the search engine to return only "safe" results as dictated by Google's methods.

You can also revert the cache results back to the "Old-Syle" cache results by appending "&sout=1&surl=1" to the requested URL. When doing so, the format of the linked images is displayed in this format and the URl can be scanned for the location of the original site:

http://www.google.com/imgres?imgrefurl=http://pointlessbanter.net/2006/11/22/the-100-most-influentia...

MWG 6.x cannot append the parameters to the URL, but MWG 7 can with a rule like this:

Force old-style thumbnail searches in google
Enabled
Applies to Requests: True / Responses: False / Embedded Objects: False
Always
EnabledRuleActionEventsComments
EnabledFind q= search parameter
1: URL.Host matches *google.*
2: AND (URL.HasParameter("q") equals true
3: OR URL.Path equals "search"
4: OR URL.Path equals "/custom"
5: OR URL.Path equals "/images"
6: OR URL.Path equals "images/search"
7: OR URL.Path equals "/videosearch")
ContinueSet URL =
     URL +
     "&sout=1&surl=1"
2 Replies
eelsasser
Level 15

Re: Ensuring Policy is Correctly Applied to Google & Bing Cached Pages

Jump to solution

Google changed the way the URL for cached content is displayed.

By default, a cached image is now using a format like this:

http://t0.gstatic.com/images?q=tbn:ANd9GcQ6QOvNORz9SsulyZGK_3AfITn8Q2DakVjQ9p2A6BoXI2nNzorHMA

The URL itself is not decodable in this format and the URL filter has no way of distinguishing it.

You can turn on SafeSearch Enforcement, and that should trigger the search engine to return only "safe" results as dictated by Google's methods.

You can also revert the cache results back to the "Old-Syle" cache results by appending "&sout=1&surl=1" to the requested URL. When doing so, the format of the linked images is displayed in this format and the URl can be scanned for the location of the original site:

http://www.google.com/imgres?imgrefurl=http://pointlessbanter.net/2006/11/22/the-100-most-influentia...

MWG 6.x cannot append the parameters to the URL, but MWG 7 can with a rule like this:

Force old-style thumbnail searches in google
Enabled
Applies to Requests: True / Responses: False / Embedded Objects: False
Always
EnabledRuleActionEventsComments
EnabledFind q= search parameter
1: URL.Host matches *google.*
2: AND (URL.HasParameter("q") equals true
3: OR URL.Path equals "search"
4: OR URL.Path equals "/custom"
5: OR URL.Path equals "/images"
6: OR URL.Path equals "images/search"
7: OR URL.Path equals "/videosearch")
ContinueSet URL =
     URL +
     "&sout=1&surl=1"
peter.loader
Level 7

Re: Ensuring Policy is Correctly Applied to Google & Bing Cached Pages

Jump to solution

Many thanks for the swift answer Sir.  It looks like a good reason to upgrade to 7 to me.

Pete

0 Kudos