11
Examples
# Enable the Java blocking function.
<Sysname> system-view
[Sysname] firewall http java-blocking enable
firewall http java-blocking suffix
Syntax
firewall http java-blocking suffix
keywords
undo firewall http java-blocking suffix
keywords
View
System view
Default level
2: System level
Parameters
keywords
: Blocking suffix keyword, a case-insensitive string of 1 to 9 characters. It must start with a dot
“.” and consists of characters 0 to 9, a to z, and A to Z.
Description
Use the
firewall http java-blocking suffix
command to add a Java blocking suffix keyword to the Java
blocking suffix list.
Use the
undo firewall http java-blocking suffix
command to remove a Java blocking suffix keyword from
the Java blocking suffix list.
You can add a maximum of five Java blocking suffix keywords.
You cannot remove the default block suffix keywords
.class
and
.jar
.
Related commands:
display firewall http java-blocking
.
Examples
# Add
.js
to the Java blocking suffix list.
<Sysname> system-view
[Sysname] firewall http java-blocking suffix .js
firewall http url-filter host acl
Syntax
firewall http url-filter host acl
acl-number
undo firewall http url-filter host acl
View
System view
Default level
2: System level