405
firewall http activex-blocking enable
Use
firewall http activex-blocking enable
to enable the ActiveX blocking function and add the
default blocking keyword .ocx to the ActiveX blocking suffix list.
Use
undo firewall http activex-blocking enable
to disable the ActiveX blocking function.
Syntax
firewall http activex-blocking enable
undo firewall http activex-blocking enable
Default
The ActiveX blocking function is disabled.
Views
System view
Default command level
2: System level
Examples
# Enable the ActiveX blocking function.
<Sysname> system-view
[Sysname] firewall http activex-blocking enable
Related commands
display firewall http activex-blocking
firewall http activex-blocking suffix
Use
firewall http activex-blocking suffix
to add an ActiveX blocking suffix keyword to the ActiveX
blocking suffix list.
Use
undo firewall http activex-blocking suffix
to remove an ActiveX blocking suffix keyword from
the ActiveX blocking suffix list.
Syntax
firewall http activex-blocking suffix
keywords
undo firewall http activex-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 5 ActiveX blocking suffix keywords.
You cannot add or remove the default suffix keyword ".ocx" by these commands.