How to display the exact category for the URL being blocked in the policy


<< Back to Knowledge Search

Solution

Overview

By default, the exception page only displays the category or categories associated with the URL on the exception page if policy contains the following:

$(category) - ONE category

$(cs-categories) - All the categories the URL belongs to

For example, http://mashable.com/2009/07/11/funny-viral-videos/ is categorized as Humor/Jokes and Audio/Video Clips.

When a policy rule blocks audio/video clips and a user requests access to http://mashable.com/2009/07/11/funny-viral-videos/, the following occur:

  • If $(category) is used in the exception page, the category displayed is Humor/Jokes.
  • If $(cs-categories) is used in exception page, the categories displayed is Humor/Jokes and Audio/Video Clips.
Cause
Resolution

To display the specific category being used in the policy, change the previius code in the exception page to the following:

$(x-exception-category)

For the previous example, if $(x-exception-category) is used in exception page, the category is Audio/Video Clips, which is the blacklisted category in policy.

Note: One exception is that if the default policy is DENY, "Default secure policy mode" may be observed when not matching a category.

Workaround
Additional Information
Bug Number
InQuira Doc IdKB3901
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Software      SGOS 5.4, SGOS 5.5, SGOS 6
Article Number      000011116
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat