W kontekście wytycznych Microsoftu dot. obsługi file uploadu Upload files in ASP.NET Core, a dokładniej
Run a virus/malware scanner on uploaded content before the file is stored.
Use a third party virus/malware scanning API on uploaded content.
Scanning files is demanding on server resources in high volume scenarios. If request processing performance is diminished due to file scanning, consider offloading the scanning work to a background service, possibly a service running on a server different from the app's server. Typically, uploaded files are held in a quarantined area until the background virus scanner checks them. When a file passes, the file is moved to the normal file storage location. These steps are usually performed in conjunction with a database record that indicates the scanning status of a file. By using such an approach, the app and app server remain focused on responding to requests.
Czy ktoś z was to realizuje? a jeżeli tak, to w jaki sposób?
Jakiś background task, który używa https://virustotal.com
? chociaż to chyba jest problematyczne ze względu na poufne dane, GDPR itd.
A może jakiś dobry AV + do niego libka?
Na Windowsie to chyba może być łatwiejsze, a jak to wygląda na Linuxie?
Z jednej strony interesuje mnie coś, co działa z .NET Corem, ale z drugiej i tak to pewnie będzie jakieś zewnętrzne narzędzie, to raczej nie powinno być problemu, więc chętnie usłyszę czego inni używają.
offtop:
w sumie nawet nie wiem czy to dobry dział, ale kompletnie nie mam pojęcia gdzie by to dać. brakuje mi jakiegoś cross-technologicznego działu.