01.01.2013 Views

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

Web Gateway 7.1.5 Product Guide - McAfee

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

HTML filtering<br />

<strong>Web</strong> filtering<br />

HTML filtering 6<br />

The appliance can filter HTML pages and remove embedded objects from them. This section explains<br />

HTML filtering and describes the rules, lists and module settings involved in the filtering process.<br />

Rules for HTML filtering typically say whether er objects embedded in HTML pages should be removed<br />

or kept. They evaluate object types and use also filter lists. They call an opener module to make<br />

embedded objects accessible for filtering.<br />

The types of objects HTML filtering can remove include the following:<br />

• Java applets — Are embedded in HTML pages (unlike the stand-alone Java applications) and run,<br />

once their certificates are accepted, with all privileges of the current user<br />

• ActiveX controls — Run with all privileges of the user<br />

• Scripts — Include JavaScript, JScript, and Visual Basic Script<br />

• Media types — Include text, audio, image, streaming, and other media types<br />

Rules for HTML filtering<br />

To enable HTML filtering on the appliance, a rule set containing appropriate rules must be implemented.<br />

This section describes a sample rule set from the rule set library.<br />

After the initial setup, an HTML filtering rule set is not implemented on the appliance. You can import<br />

the HTML Filtering rule set from the library and modify it according to your requirements or create a<br />

rule set of your own.<br />

For more information, see Import a rule set and HTML Filtering (rule set).<br />

HTML Filtering (rule set)<br />

This section describes the rules of a library rule set for HTML Filtering.<br />

For general information on understanding and handling rules, see Rules and rule sets.<br />

Library rule set — HTML Filtering<br />

Criteria — Always<br />

Cycles — Requests (and IM), responses, embedded objects<br />

The rule set contains a rule and the following two nested rule sets:<br />

• Enable HTML Filtering<br />

• HTML Filtering<br />

The following rule is contained in the rule set in addition to the nested rules sets:<br />

Remove Content-Encoding header<br />

Always –> Continue — Header.RemoveAll (“Accept-Encoding”)<br />

The rule uses an event to remove the content encoding header from a request.<br />

This header is not needed because filtering is only applied to the content, which is eventually sent<br />

in not encoded format to the user who requested it. The name of the header is specified by the<br />

event parameter.<br />

Processing continues with the next rule set.<br />

<strong>McAfee</strong> <strong>Web</strong> <strong>Gateway</strong> <strong>7.1.5</strong> <strong>Product</strong> <strong>Guide</strong> 207

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!