Upload the virus using the web form

Can a virus be downloaded to a remote computer using a web form? If so, how can we prevent this by assuming that we limit file types to images only?

+3
source share
9 answers

The best way to avoid problems with user-downloaded files of any type is to have a command line virus scanner on the server that you use to scan files after downloading. If the result of the scanner is positive, delete the file, write down its IP address and inform the user.

This is a pain to install for the first time, but it is a life-saving.

+5
source

, - ASP.NET, -, . , - ?

, - , . .

, - (, ), , , , , .

:

  • ;
  • (/ ?) ( ), ;
  • .
  • .NET/GDI/GDI + ( ), ( ), ( , ) .

, , , , .

+3

-, , , , "" ( - ). , , .

- (, , ), , . , .

+3

ClamAV , . , .

0

, . () . , , .

, - HTTP POST - HTTP- , .

0

, , ?

0

....

coz virus these days can infect any files .. doc to psd nothing ..

Maybe I thought about using AV for the server. One such product can be found here.

http://www.f-secure.com/en_EMEA/products/business/servers/anti-virus-for-servers/index.html

0
source

Just a thought. If possible, will there be recompression / rescaling, etc. Is the image damaged by the virus and makes it unusable?

0
source

Source: https://habr.com/ru/post/1717056/


All Articles