378
Configuring Java blocking
To do...
Command...
Remarks
1.
Enter system view.
system-view
—
2.
Enable the Java blocking
function.
firewall http java-blocking enable
Required.
Disabled by default.
3.
Add a Java blocking suffix
keyword.
firewall http java-blocking suffix
keywords
Optional.
4.
Specify an ACL for Java
blocking.
firewall http java-blocking acl
acl-
number
Optional.
By default, no ACL is specified for
Java blocking.
5.
Display information about
Java blocking.
display firewall http java-blocking
[
all
|
item
keywords
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
NOTE:
In the ACL for Java blocking, you must configure the source IP addresses as the IP addresses of the
HTTP servers allowed to be accessed and set the action to
permit
.
Configuring ActiveX blocking
To do...
Command...
Remarks
1.
Enter system view.
system-view
—
2.
Enable the ActiveX blocking
function.
firewall http activex-blocking
enable
Required.
Disabled by default.
3.
Add an ActiveX blocking
suffix keyword.
firewall http activex-blocking
suffix
keywords
Optional.
4.
Specify an ACL for ActiveX
blocking.
firewall http activex-blocking acl
acl-number
Optional.
By default, no ACL is specified for
ActiveX blocking.
5.
Display information about
ActiveX blocking.
display firewall http activex-
blocking
[
all
|
item
keywords
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
NOTE:
In the ACL for ActiveX blocking, configure the source IP addresses as the IP addresses of the HTTP
servers allowed to be accessed and set the action to
permit
.