Application Examples
R&S
®
GP-E/GP-S
202User Manual v16.2.1 ─ 01
For more information on configuring protocol decoders in firewall rules, see Chap-
ter 3.3, "Firewall Rule Settings", on page 22.
4.13.1 Blocking PDF Files
An HTTP protocol decoder can be used to prevent the transmission of PDF files.
Create a firewall rule with the Reject action. Open the "Decoders" tab to add a new
decoder with the following settings to block PDF files.
Table 4-1: Sample decoder settings to block PDF files.
Field Setting
"Protocol"
http
"Option"
responseContentType
"Type"
string
"Left Anchor"
any
"Right Anchor"
any
"Expression"
application/pdf
4.13.2 Blocking Microsoft Office Files
An HTTP protocol decoder can be used to block Microsoft Office files such as Excel,
Word or PowerPoint.
Create a firewall rule with the Reject action. Open the "Decoders" tab to add a new
decoder with the following settings to block certain Microsoft Office file types.
Table 4-2: Sample decoder settings to block Microsoft Office files.
Field Setting
"Protocol"
http
"Option"
responseContentType
"Type"
regex
RegEx option "anchored" selected
"Expression"
application/.*(excel|msword|powerpoint)
4.13.3 Blocking Web Hosts
An HTTP protocol decoder can be used to prevent connections to specified web hosts.
Applications are only available for a limited number of widely used websites. Therefore,
use decoders or web filters to block other websites.
Decoder Examples