Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

Table of Contents

Background

...

The Attachment Checker allows all attachments to be checked with an external anti-virus scanner when they are uploaded.

...

FeatureEnabledDisabled (Default setting)
Handling of the
infected file
  • The infected version is deleted and replaced with a placeholder
  • The placeholder is commented so that users can identify the version easily

Tip

User may delete the placeholder version of the file.


Info
titleRationale on why we use a placeholder

While we can delete the infected attachment, we are unable to determine where the attachment is being used. It could be a macro or rendered image on another page in another space. Thus, we decided to place a placeholder so that people can identify it easily. When the newer uninfected version is being uploaded, it will be able to render the content without requiring the users to update the Confluence page content.


The infected file would not be removed automatically.


Notification
by 
Comment


Info

By default, Anonymous user would create a comment. Thus you would not need to create an account for the comment to be create.


A comment to inform user that an infected file has been detected and replaced with a placeholder

A comment to inform the user to delete the infected file

Page Content

When the user tries to open the infected file, it would be replaced with placeholder looking like this,





How to set up the virus scanner

...

Please refer to list of scanner paths needed for configuration

...

If the error level returned is not 0, the attachment will be processed with the configurations set in Delete Virus File option.


Related Information