10
View
System view
Default level
2: System level
Parameters
acl-number
: ACL number, in the range 2000 to 3999.
Description
Use the
firewall http java-blocking acl
command to specify an ACL for Java blocking.
Use the
undo firewall http java-blocking acl
command to cancel the configuration.
By default, no ACL is specified for Java blocking.
After the command takes effect, all Web requests containing any suffix keywords in the Java blocking
suffix list will be processed according to the specified ACL.
You can specify multiple ACLs for Java blocking, but only the last one takes effect.
You can specify a non-existing ACL, but Java blocking based on the ACL takes effect only after you create
and configure the ACL correctly.
Related commands:
display firewall http java-blocking
.
Examples
# Specify the ACL for Java blocking as ACL 2002.
<Sysname> system-view
[Sysname] firewall http java-blocking acl 2002
firewall http java-blocking enable
Syntax
firewall http java-blocking enable
undo firewall http java-blocking enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the
firewall http java-blocking enable
command to enable the Java blocking function and add the
default blocking keywords
.class
and
.jar
to the Java blocking suffix list.
Use the
undo firewall http java-blocking enable
command to disable the Java blocking function.
By default, the Java blocking function is disabled.
Related commands:
display firewall http java-blocking
.