Web Monitor settings

Settings are defined at the time of loading the Web Monitor as a parameter of the kaveLoadMonitor function. The settings can also be changed later by using the kaveSetMonitorSettings function.

The settings can be defined by one of the following data structures:

Structures KAV_WEB_MONITOR_SETTINGS and KAV_WEB_MONITOR_SETTINGS2 are obsolete and are left only for backwards compatibility.

You can use placeholders when writing text messages in the template file for the web page. These placeholders will substitute for their values returned by the KAV Engine when the web page is displayed on the end-user computer.

The placeholders that can used in the template are described in the following table.

Placeholders for denial template

Placeholder

Description

%VIRUSNAME%

The name of the first malicious object detected on the blocked web page.

%URLTOREPORT%

The URL address of the malicious object that has been blocked.

%URLTOREPORTDIGEST%

A short representation of a long web address.

For example, a short representation for a long URL such as:

http://example.com/dir1/dir2/

may look as:

http://example.com<...>

%DATE%|$MessageGeneratedTimestamp

The time of the page access attempt.

The time will be displayed in the current system settings format.

Each template for the custom replacement web page requires specific template be used. Please make sure to use correct date placeholder.

  • %DATE%

    Used in templ.html and pup.html templates.

  • $MessageGeneratedTimestamp

    Used in wmuf.html replacement templates.

If the Web Monitor settings are defined by means of the KAV_WEB_MONITOR_SETTINGS3 structure, the standard access denial page will be displayed.

For more information about the structures storing Web Monitor settings, see KAV_WEB_MONITOR_SETTINGS, KAV_WEB_MONITOR_SETTINGS2, and KAV_WEB_MONITOR_SETTINGS3.

Page top