Virus Scan

Business Background

It is crucial to do a virus scan when files are uploaded to your website. This ensures that any files uploaded by users do not contain viruses or malware that could infect other users’ devices or compromise their security. Virus scans also prevent infected files from being stored on the web server, which could otherwise lead to the entire website being compromised or used to distribute malware.

Titan Solution

Titan Flow offers added protection and lets you scan file uploads to prevent the acceptance of contaminated files. You can add conditions to specify when and where you want files to be scanned.

If you have a Titan Web project that uploads files and wants to push them to Google Drive or Salesforce, you can now run a virus scan on the files in Titan Flow. The virus scan checks that the file extension is correct and that there are no malware or viruses.

When the virus scan runs, one of three things can happen:

  1. No viruses are found, and the file(s) are pushed to Salesforce or the file storage that you configured.
  2. Some viruses are found, and those are removed from the file upload element. You can configure actions for the clean files.
  3. All the files contain viruses. You can configure actions for the file upload failure.

How to Guide

Note:

Prerequisites:

  1. Create a custom file variable for this option that refers to the document.
  2. Create static variables for the safe and infected files.
  1. Click the + icon to add a node. The Add Node screen opens.
+ icon to add a node
+ icon to add a node
  1. Under Action, select the Virus Scan option and click the Next button. The Add Node/Virus Scan screen opens.
Virus Scan option
Virus Scan option
  1. Use the drop-down list to select the file variable(s).
  2. Use the drop-down lists to select the safe and infected static variables.
  3. Click the Next button.
AddNode/Virus Scan screen
AddNode/Virus Scan screen
  1. Add a tag as necessary and click the Insert button. The node is added.
  2. Add an action On Success, for instance, push to Salesforce or Google Drive.
  3. Add action(s) On Partial Success, such as pushing the clean files to Salesforce or Google Drive and configuring an email message warning the user that some file(s) contain a virus.
  4. Add an action On Fail, for instance, an email message warning the user that the file contains a virus.
Example
Example
Note:

An integration log (X out of Y files are infected) is added and the clean files are used for next actions.

The static variables are populated with the list of infected and safe files (separated by comma).

Create a Virus Scan in Titan Web.

Hidden Title

Need more help?

Titan logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.