Defining Virus Scan Profiles
Application programs use virus scan profiles to check data for viruses. A virus scan profile contains a list of scanner groups that check a document. You can also use a virus scan profile to assign configuration parameters for the virus scanner. If you scan for viruses with this virus scan profile, the virus scanner receives the parameters.
A virus scan profile specifies steps that are to be run during a virus scan. A step is either a virus scanner, which is found using the scanner group, or a step specifies, in turn, a virus scan profile, which is then performed as part of the enclosing virus scan profile.
A virus scan is performed under the name of a virus scan profile. The system administrator can use the profile to activate or deactivate the virus scan for each component.
By default, each SAP application that integrates a virus scan provides a virus scan profile. The names of these virus scan profiles is constructed as follows /<Name of the package of the application>/<Name of the function>. Check the virus scan profiles delivered by SAP (for example, using Delivered Virus Scan Profiles), and determine for which components you are activating or deactivating the virus scan.
If you want to create your own virus scan profiles, you can use the namespaces Y* and Z*.
● You have created scanner groups.
...
1. In the Implementation Guide, choose SAP NetWeaver →Application Server → System Administration → Virus Scan Interface (transaction VSCANPROFILE), and, if necessary, switch to change mode.
The screen View: Change "Virus Scan Profile": Overview appears.
2. Choose New Entries.
The screen New Entries: Overview of Added Entries appears.
3. Specify the data for the scanner profile.
Data for the Virus Scan Profile Definition
Field |
Possible Values |
Notes |
Scan Profile |
|
Specifies the name of a virus scan profile. |
Profile Text |
|
Explanatory text for a virus scan profile. |
Active |
|
Specifies that this virus scan profile is active. The virus scan profile can only be used if this indicator is set. SAP applications can used fixed profile names that are delivered. By default, these profiles are not active, meaning that the application program works without a virus scan. You can activate the virus scan for each application by setting this indicator. |
Default Profile |
|
Indicator that this virus scan profile is the default profile. You can set this indicator for a maximum of one virus scan profile. This virus scan profile is used in the following cases: ● If an application requests a virus scanner without specifying a virus scan profile ● If a virus scan profile is requested for which the Use Reference Profile indicator is set, and the Reference Profile is empty |
Use Reference |
|
To operate multiple applications using the same virus scan profile, set the Use Reference indicator and specify the reference profile. |
Reference Profile |
The input help provides a list of all of the profiles that have already been defined. If you leave the field empty, the system uses the default profile. |
Specifies the name of the reference profile. Since a virus scan profile can use another virus scan profile as a reference profile, you can operate multiple applications using the same virus scan profile. If the Use Reference Profile indicator is set in the virus scan profile, this field specifies the name of the reference profile to be used. Instead of the settings of the current virus scan profile, the settings of the reference profile are then used. This means that several virus scan profiles can use the settings of a shared reference profile, such as the scanner groups to be used. |
Linkage |
All steps successful: The virus scan must have performed all steps without errors. At least one step successful: It is sufficient if one step of the virus scan was successfully performed. |
Specifies the type of logical linkage for the steps in the virus scan profile. If multiple steps that are to be performed during the virus scan with a virus scan profile are defined for a profile, you can use this field to control how the overall result of the virus scan is to be evaluated. Using multiple steps allows you to scan documents with scan engines from different vendors at the same time. The program interprets a virus scan as error-free only if the scan engine returns the return value Check performed successfully or (in the case of cleanups) Cleanup performed successfully. All other return values are regarded as unsuccessful virus scans. This also includes situations such as: ● The program did not check the document because the file name extension is categorized as non-critical. ● The program could not check the document, because the document is a password-protected archive. ● The scan engine is obsolete. |
4. Save your entries.
5. To define steps for the profile, select the Steps node in the Dialog Structure by double-clicking it.
6. Choose New Entries.
7. Enter the following data for the definition of the step:
Data for the Definition of a Step of the Virus Scan Profile
Field |
Possible Values |
Notes |
Position |
<integer value> |
Specifies the position of the scanner group in the virus scan profile. If a virus scan profile uses multiple scanner groups, place these in the desired sequence by assigning a position number. |
Type |
Group or Profile |
Specifies whether a step in the virus scan profile refers to a scanner group or another virus scan profile. If you choose Group, the system uses a virus scan provider from this group (or a BAdI implementation) for the virus scan. If you choose Profile, the program processes the specified virus scan profile instead of this step. You can define any conditions by combining the steps of the virus scan profile with the linkage type of the steps (AND/OR). |
Scanner Group |
The input help provides a list of all existing scanner groups. |
Combines multiple virus scan providers or allows the use of a BAdI implementation. All of the Virus Scan Providers in a scanner group have the same set of configuration parameters and will therefore use the same scan engine. |
Virus Scan Profile |
The input help provides a list of all existing profiles. |
Specifies the name of a virus scan profile that you can include as a step in the profile that you are currently processing. |
8. Save your entries.
9. To create configuration parameters for a step, double-click the Configuration Parameters node.
10. Choose New Entries.
11. Enter the following data for the definition of the configuration parameters:
Data for the Definition of Configuration Parameters
Field |
Possible Values |
Notes |
Parameter |
The input help provides a list of all existing constants. |
Specifies the key of a configuration parameter. A virus scanner requires configuration data. The set of possible configuration parameters is defined by SAP as a predetermined set of symbolic constants. |
Value |
<Value>
|
Specifies the value specified by the vendor for a configuration parameter. |
12. Save your entries.
You have defined a virus scan profile and therefore performed the last configuration step for the virus scan provider. You can, finally, check the configuration.