Getting started with Kaspersky Scan Engine in HTTP mode

This section explains how to start using Kaspersky Scan Engine in HTTP mode.

Before you start using Kaspersky Scan Engine, we strongly recommend that you restrict access to Kaspersky Scan Engine files, including logs, with built-in tools provided by your operating system. This measure will help make your information more secure.

To start using Kaspersky Scan Engine in HTTP mode:

  1. Install Kaspersky Scan Engine.

    Kaspersky Scan Engine starts automatically after installation is complete.

  2. Optionally, configure Kaspersky Scan Engine for use in HTTP mode.

    For example, you can configure Format Recognizer to increase the processing speed of Kaspersky Scan Engine in HTTP mode.

  3. If you configure HTTP mode manually (without using the install installation script), and you are using offline licensing mode, you have to put the license file in the directory that is specified in the LicensePath element of the configuration file. If you are using online licensing mode, you have to specify the activation code. For more information about online and offline licensing modes, see sections "Activating Kaspersky Scan Engine in offline licensing mode", "Activating Kaspersky Scan Engine in online licensing mode".
  4. Optionally, configure the init script or systemd unit file to manage Kaspersky Scan Engine in HTTP mode.

    For Linux systems only.

  5. Optionally, configure logging.

    Notice that logging decreases performance of Kaspersky Scan Engine. Usually you need to enable logging only during the integration or for debugging.

  6. Update the anti-virus database or configure the update frequency.

    To keep track of the update process and make sure that you get the latest updates, send an HTTP request to the /api/v3.0/update/status address. For more information, see section "Updating the database in HTTP mode", subsection "Getting the database update status".

  7. Verify the detection capabilities of Kaspersky Scan Engine.
  8. Make requests to Kaspersky Scan Engine:
    • Run the sample HTTP client from the command line to scan files.

      For more information about using the sample HTTP client, see section "Using the HTTP client".

    • Use a REST-like protocol for making HTTP requests.
    • Use the source code of the sample HTTP client as an example for creating your own client.

Page top