R3303-HP HSR6800 Routers Security Command Reference

428
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
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