407
undo firewall http java-blocking enable
Default
The Java blocking function is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable the Java blocking function.
<Sysname> system-view
[Sysname] firewall http java-blocking enable
Related commands
display firewall http java-blocking
firewall http java-blocking suffix
Use
firewall http java-blocking suffix
to add a Java blocking suffix keyword to the Java blocking
suffix list.
Use
undo firewall http java-blocking suffix
to remove a Java blocking suffix keyword from the
Java blocking suffix list.
Syntax
firewall http java-blocking suffix
keywords
undo firewall http java-blocking suffix
keywords
Views
System view
Default command level
2: System level
Parameters
keywords
: Blocking suffix keyword, a case-insensitive string of 1 to 9 characters. Its starting
character must be a dot (.) and the subsequent characters must be digits or English letters.
Usage guidelines
You can add a maximum of five Java blocking suffix keywords.
You cannot remove the default block suffix keywords
.class
and
.jar
.
Examples
# Add
.js
to the Java blocking suffix list.
<Sysname> system-view
[Sysname] firewall http java-blocking suffix .js
Related commands
display firewall http java-blocking