• caglararli@hotmail.com
  • 05386281520

The safest and fastest way to upload files in Docker Container

Çağlar Arlı      -    14 Views

The safest and fastest way to upload files in Docker Container

In a docker project of Asp.net Core MVC 6.0, users must upload files to wwwroot of the project but nothing checks to see if the file is safe or not.

I check file extensions with my file header library but is this enough?

When I searched the internet, I saw that antiviruses must not access the container. If scanned, the container may hang.

I am running a multi-vendor system and users upload images and their files come to the front-end

Before, in my friend project a hacker upload virus file with png extension but after some time host antivirus find it.

My problem is how prevent this harmful files to upload in my container when container is isolated ?

Check the file header is enough or not?

How can i access antivirus to file upload folder?

What is the best way?