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 option 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:

Prerequisite:

Add a file upload element to the Web project.

In this example, we have an upload file element and buttons for uploading the file to Titan Web or Titan Flow.

Note:

Prerequisites:

    1. Click the icon to open the list of elements.
    2. Select the Input option from the list and drag the File Upload element to the canvas.
    3. Select the Button option and drag a Button element to the canvas.

Upload file element and buttons - example
Upload file element and buttons – example
  1. Click the On Click Action icon on the button element. The On Click Action screen opens.
On Click Action icon
On Click Action icon
  1. Click the + icon to add a node. The Add Node screen opens.
On Click Action screen
On Click Action screen
  1. Under User Interaction, 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 Files drop-down list to select the files variable(s).
  2. If necessary, use the toggle switch to enable Run in Background.
  3. Click the Next button.
  4. If necessary, add a tag and click the Insert button. The node is added to the On Click Action screen.
Add Node/Virus Scan screen
Add Node/Virus Scan screen
  1. Add an action On Success, for instance, push to Salesforce or Google Drive.
  2. Add action(s) On Partial Success, for instance, pushing the clean files to Salesforce or Google Drive, and configuring an email message warning the user that some file(s) contain a virus.
  3. Add an action On Fail, for instance, an email message warning the user that the file contains a virus.
Node added to On Click Action screen
Node added to On Click Action screen

Create a Virus Scan in Titan Flow.

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.