SAP Knowledge Base Article - Public

2640905 - LMS: Q2 2018 - Virus Scan on File Upload

Symptom

When an administrator try to import a content, System displays a validation message: Harmful content detected on the file

Environment

Successfactors Learning Management System (LMS) - B1805 version and higher

Reproducing the Issue

  1. Login as an Administrator
  2. Go to Content > Tools > Import Content
  3. In Step 1: Select Action, choose either Add New Content, Add Content for an Existing Item or Replace Content for an Existing Item
  4. Click Next
  5. In Step 2: Select Files, click Browse and choose a file to upload
  6. Click Next
  7. In Step 3: Configure Content and Item Settings, click Import Files
  8. System displays validation message below

    Import Content.JPG

In Q3 2018, Virus scan feature has been added for Learning Event Editor attachment from both user and Admin side.

  1. Login as an Administrator
  2. Go to LMS Admin> Users> Tools> Learning event editor search and open
  3. Go to file attachments and upload a virus file
  4. Verify validation message is displayed

From User side, use below replication steps.

  1. Login as user
  2. Click on Record Learning
  3. Upload file attachment containing virus
  4. Validation message is displayed
  5. Follow step 1 to 4 while logged in as Supervisor and try to upload file for learning event of subordinate

Cause

System detected a virus on the file.

Resolution

  • This is a new feature that can be turned on to enable virus scan for file upload by going to System Admin > Configuration > System Configuration > WEB_SECURITY then set enableVirusScan to true.

See Also

JIRA: https://jira.successfactors.com/browse/LRN-26829
WIKI Page: http://devcom.plateau.internal/mediawiki/index.php/Virus_Scan_for_File_Upload

Keywords

Harmful content detected on the file, virus, scan, import content, learning event editor, attachment , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem

Product

SAP SuccessFactors Learning 1805 ; SAP SuccessFactors Learning 1808 ; SAP SuccessFactors Learning 1811