Antivirus Scan for every file upload
Unanswered
Black Caiman posted this in #help-forum
Black CaimanOP
Hello, been crowd sourcing about this. Has anyone implemented an antivirus scan in every file upload using Next? I badly needed some help about this. If anyone knows, please share your implementation and insights on how you did it.
15 Replies
Black CaimanOP
up
Black CaimanOP
up
Black CaimanOP
up
Swedish Lapphund
@Black Caiman In frontend only allow specific file extensions like(.pdf,.png etc.) with limitations like size.
not sure why you'd want to virus scan on your frontend though.
Black CaimanOP
yeah already did that as well in Supabase
Swedish Lapphund
you typically do these checks in the backend
Black CaimanOP
however this google security flag is becoming a nightmare
I got this in google
and they ask to scan our code using Fortify ScanCentral and unfortunately failed after two scans so we got to answer a lot of survey questions
we responded and still got more follow up questions
and they explicitly asking that for file upload it should have Antivirus scan performed
(Note: As per the acceptance criteria Antivirus scans should be performed prior to upload or serving of content.)so yeah Idk what I am gonna do now
I'm tired with this and stressed