Product Documentation

How to block adult category website

As an enterprise customer, you might want to block websites belonging to Adult category group. This is done by configuring a responder policy that selects requests belonging to an adult category and block access to such blacklisted URLs.

Configure URL categorization to block websites belonging to adult category

To configure a policy and block adult websites by using the CLI:

At the command prompt, type the following command:

add responder policy <name> <rule> <respondwithhtml> [<undefAction>] [-comment <string>] [-logAction <string>] [-appflowAction <string>]

Example:

    add responder policy p1 ‘HTTP.REQ.HOSTNAME.APPEND(HTTP.REQ.URL).URL_CATEGORIZE(0,0). GROUP.EQ(“Adult”)’

Configure URL categorization for blocking adult web sites by using the NetScaler SWG wizard

To block adult categories by using the NetScaler SWG wizard

  1. Log on to NetScaler SWG appliance and navigate to Secure Web Gateway.
  2. In the details pane, click Secured Web Gateway Wizard.
  3. In the Secure Web Gateway Configuration page, specify the SWG proxy server settings.
  4. Click Continue to specify other settings such as SSL interception and identify management.
  5. Click Continue to access the URL Filtering section.
  6. Select Enable URL Categorization checkbox to enable the feature.
  7. Click Bind to access URL Categorization Policies slider.
  8. Select a policy and click Insert to bind the policy.
  9. Select the responder policy to block adult websites.
  10. To add a new policy, click Add to access the URL Categorization Policy page and do one of the following.
    1. To configure a policy using basic categorization, click Add.
      1. In the URL Categorization Policy page, specify the following parameters.
        1. URL Categorization Policy. Name of the responder policy.
        2. Basic. Configure policy using the basic configuration method.
        3. Action. An action to control access to the URL.
        4. URL Categories. Select Adult category from the predefined list.
  11. Click Create and Close.
    1. To configure a new URL Categorization policy using advanced categorization, click Add.
      1. In the URL Categorization Policy page, specify the following parameters.
        1. URL Categorization Policy. Name of the responder policy.
        2. Advanced. Configure policy to block requests of Adult category group.
  12. Click Create and Close.

localized image

How to block adult category website