Re: Re: IMAP and Anti Virus Scanning For File Attachments

From: Date: Tue, 04 Feb 2014 11:08:33 +0000
Subject: Re: Re: IMAP and Anti Virus Scanning For File Attachments
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-322790@lists.php.net to get a copy of this message
On 4-2-2014 12:00, Sebastian Krebs wrote:
2014-02-04 Maciek Sokolewicz <maciek.sokolewicz@gmail.com>:
On 4-2-2014 6:38, Ron Piggott wrote:
I am wondering what (or how) to protect from viruses when processing IMAP file attachments. I am using PHP 5.5.7 and Arch Linux. Ron Piggott www.TheVerseOfTheDay.info
That depends on what you want to do with the attachments. How do you process them? Simple text files for example are unable to contain virusses and are thus harmless.
Thats wrong. For example HTML is a simple text-file too, but still can contain javascript-code and whatever flaws it may have.
It seems I oversimplified in my explenation; the point I was trying to make was that you still need to execute it before a virus can infect anything. Javascript needs to be executed. If you don't execute it, nothing can happen.

« previous php.general (#322790) next »