406
Examples
# Add
.vbs
to the ActiveX blocking suffix list.
<Sysname> system-view
[Sysname] firewall http activex-blocking suffix .vbs
Related commands
display firewall http activex-blocking
firewall http java-blocking acl
Use
firewall http java-blocking acl
to specify an ACL for Java blocking.
Use
undo firewall http java-blocking acl
to cancel the configuration.
Syntax
firewall http java-blocking acl
acl-number
undo firewall http java-blocking acl
Default
No ACL is specified for Java blocking.
Views
System view
Default command level
2: System level
Parameters
acl-number
: ACL number in the range of 2000 to 3999.
Usage guidelines
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.
Examples
# Specify the ACL for Java blocking as ACL 2002.
<Sysname> system-view
[Sysname] firewall http java-blocking acl 2002
Related commands
display firewall http java-blocking
firewall http java-blocking enable
Use
firewall http java-blocking enable
to enable the Java blocking function and add the default
blocking keywords
.class
and
.jar
to the Java blocking suffix list.
Use
undo firewall http java-blocking enable
to disable the Java blocking function.
Syntax
firewall http java-blocking enable