|
In the current implementation any file upload using the storage provider will directly upload to the Minio instance. While this is fine if we trust everything uploaded that is usually not the case in a production application. In past companies we have used a ClavAV server to scan before allowing items to be uploaded. Another approach I have seen is allowing all items to be uploaded but using ClamAV to scan the directories and quarantining the items. Is there any merit in stating in the project that you should probably look into using an AV scanner? Anyone have a suggested flow to do this in the current stack? |
Replies: 1 comment 1 reply
|
Yeah i've done this before, but its kinda situational imho. I believe IF you felt the need for an AV scanner, like for corporate compliance or whatever, then its best to have this on some separate process and run on a cron or trigger. AV scanners like Clav take up metric tons of resources and will bottleneck you rather hard. It also will spike usage like crazy when doing its daily update or whatever; its unpredictable 😆. Idk the best way but I can describe how we've done in the past,
|
Yeah i've done this before, but its kinda situational imho. I believe IF you felt the need for an AV scanner, like for corporate compliance or whatever, then its best to have this on some separate process and run on a cron or trigger.
AV scanners like Clav take up metric tons of resources and will bottleneck you rather hard. It also will spike usage like crazy when doing its daily update or whatever; its unpredictable 😆.
Idk the best way but I can describe how we've done in the past,
pre-scanbucket.