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.

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

HTML filtering 6<br />

Embedded Objects<br />

This nested rule set removes Java applets embedded in HTML pages, as well as other embedded media<br />

types if they are on a blocking list.<br />

It is processed in the embedded object cycle when these objects are sent with requests or responses.<br />

Nested library rule set — Embedded Objects<br />

Criteria — Always<br />

Cycle — Embedded objects<br />

The rule set contains the following rules:<br />

Java applets<br />

HTMLElement.Name equals “APPLET” OR (<br />

HTMLElement.Name equals “OBJECT” AND<br />

HTMLElement..HasAttribute (“codetype”) equals true AND<br />

HTMLElement.Attribute (“codetype”) equals “application/java”) –> Remove<br />

The rule uses several HTMLElement ... properties to remove an element from an HTML page if it is<br />

found that particular values are true for these properties. An element is removed if its name is<br />

APPLET or if its name is OBJECT and has a code type attribute with application/java as its value.<br />

Processing of the embedded object cycle stops then and the HTML page is forwarded without the<br />

removed element to the user who requested it or to the web if a user attempted to upload it.<br />

Stop if element is not interesting<br />

(HTMLElement.Name does not equal “OBJECT” AND<br />

HTMLElement.Name does not equal “embed”) OR<br />

HTMLElement.HasAttribute (“type”) equals false –> Stop Rule Set<br />

The rule uses several HTMLElement ... properties to check whether an element needs not be<br />

removed. An element needs not be removed if its name is neither OBJECT nor embed or has no<br />

type attribute at all.<br />

Processing of the rule set stops then, so the rule that removes elements from HTML pages (and<br />

follows this rule in the rule set) is not processed. Processing continues with the next rule set.<br />

Default action for unlisted media types<br />

HTMLElement.Attribute (“type”) is not in list Media Type Whitelist<br />

HTMLElement.Attribute (“type”) is not in list Media Type Blocklist –> Stop Rule Set<br />

The rule uses the HTMLElement.Attribute property to check whether an element is of a type that is<br />

neither on the relevant whitelist nor the blocking list. In this case, a default action is executed,<br />

which for this rule is Stop Rule Set.<br />

Processing of the rule set stops then, so the whilelisting and blocking rules for media types that<br />

follow in the rule set are not processed. Processing continues with the next rule set.<br />

Handle whitelisted media types<br />

HTMLElement.Attribute (“type”) is in list Mediatype whitelist<br />

The rule uses the HTMLElement.Attribute property to check whether the type of an element is on a<br />

media type whitelist. If it is, the rule applies.<br />

Processing of the rule set stops then, so the removing rule that follows this rule in the rule set is<br />

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

Note: This rule is not enabled by default.<br />

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

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

Saved successfully!

Ooh no, something went wrong!