F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Attack Protection Command Reference-6PW100
99
[Sysname] content-filtering filename-entry ExeFile
[Sysname-contflt-filename-ExeFile] filename exe
[Sysname-contflt-filename-ExeFile] quit
# Apply the filename filtering entry ExeFile for upload filename filtering in the FTP filtering policy
FTPBanned.
[Sysname] content-filtering ftp-policy FTPBanned
[Sysname-contflt-ftp-policy-FTPBanned] upload-filename-filtering filename-entry ExeFile
Related commands
content-filtering filename-entry
url-filtering url-hostname-entry
Use url-filtering url-hostname-entry to specify a URL hostname filtering entry for URL filtering.
Use undo url-filtering url-hostname-entry to remove a URL hostname filtering entry for URL filtering.
Syntax
url-filtering url-hostname-entry url-hostname-entry-name
undo url-filtering url-hostname-entry url-hostname-entry-name
Default
No URL hostname filtering entry is specified for URL filtering.
Views
HTTP filtering policy view
Default command level
2: System level
Parameters
url-hostname-entry-name: Specifies the name of the URL hostname filtering entry, a case-sensitive string of
1 to 32 characters. The URL hostname filtering entry must already exist.
Usage guidelines
You can specify multiple URL hostname filtering entries for URL filtering.
Examples
# Create a URL hostname filtering entry HostofGame and add a hostname www.CounterStrike.com to
the entry.
<Sysname> system-view
[Sysname] content-filtering url-hostname-entry HostofGame
[Sysname-contflt-url-hostname-HostofGame] urlhost fix-string www.CounterStrike.com
[Sysname-contflt-url-hostname-HostofGame] quit
# Apply the URL hostname filtering entry HostofGame for URL filtering in the HTTP filtering policy
HTTPBanned.
[Sysname] content-filtering http-policy HTTPBanned
[Sysname-contflt-http-policy-HTTPBanned] url-filtering url-hostname-entry HostofGame
Related commands
content-filtering url-hostname-entry