xwikisas / application-antivirus

Keeps your XWiki instance safe by scanning file attachments for viruses or malware.
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Ability to exclude references from being scanned #4

Open Enygma2002 opened 6 years ago

Enygma2002 commented 6 years ago

Excludes could be needed in some situations, like false positives that would cause a clean file to be wrongly identified as infected by the AV engine.

Excludes could be done by:

Enygma2002 commented 3 years ago

Another interesting feature would have been to be able to define a blacklist for file extensions to ignore from scanning (e.g. mp3, mp4, avi). This should be doable also with the regular expression on the reference, but it might be simpler from a user's POV to present it in the UI as focused on file extensions.

Another option would be a whitelist on the same targets as above (file name, extension, reference, wiki, etc.), in order to limit the work done by the scanning and focus it only on real potential problems, avoiding to uselessly scan media files.