Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

ProcedureTo filter out HTML tags

Steps
  1. Access the Server Manager, and click the Filters tab.

  2. Click the Set HTML Tag Filters link.

    The Set HTML Tag Filters page displays.

  3. Choose the template you want to modify.

    You might choose HTTP, or you might choose a template that specifies only certain URLs such as those from hosts in the .edu domain.

  4. Check the filter box for any of the default HTML tags you want to filter.

    The default tags include the following:

    • APPLET usually surrounds Java applets.

    • SCRIPT indicates the start of JavaScript code.

    • IMG specifies an inline image file.

  5. You can enter any HTML tags you want to filter.

    Type the beginning and ending HTML tags.

    For example, to filter out forms, you could type FORM in the Start Tag box (the HTML tags are not case-sensitive) and /FORM in the End Tag box. If the tag you want to filter does not have an end tag, such as OBJECT and IMG, you can leave the End Tag box empty.

  6. Click OK.

  7. Click Restart Required.

    The Apply Changes page displays.

  8. Click the Restart Proxy Server button to apply the changes.