Solved

Antivirus on Linux web server

Posted on 2011-03-22
4
778 Views
Last Modified: 2013-11-22
How do scan for viruses on the files being uploaded to a Linux web server?

We would like to scan the files even before they are received by the server.

How is everyone doing it?

Thanks.
0
Comment
Question by:Infamus
4 Comments
 
LVL 9

Accepted Solution

by:
AriMc earned 200 total points
ID: 35194833
Personally I'm not running anti-virus software on my Linux-servers as the already built Linux executables come from a trusted source or are compiled from trusted source-code. For files being stored on Samba-shares and accessed by Windows-clients, I leave the responsibility to clients that need heavy protection anyways due to the vulnerabilities of Windows.

However, if you want to scan files on Linux too, there are plenty of alternatives like:

- Avast! (http://www.avast.com/linux-unix-edition)
- Kaspersky (http://www.kaspersky.com/linux)
- Avira (http://www.brothersoft.com/avira-antivir-for-linux-file-server-52022.html)
etc.

Googling "linux server antivirus" will provide other options.

0
 
LVL 12

Assisted Solution

by:upanwar
upanwar earned 150 total points
ID: 35195591
0
 
LVL 12

Author Comment

by:Infamus
ID: 35200485
Hi, all.

Thanks for your replies and you all make sense.

However, I was more concerned on the files peple upload to server and those files will be used internally by Windows users.

I wanted to scan those files even before it gets to the users or even to the server.

I know some people use third pary vendors to scan the files then redirect to our web server but I don't know who offers those services.

And I'm sure Linux has some sort of add on for Apache so that it scans the files being uploaded in real time.

Has any of you have experience setting up webservers whith such security in place?

Thanks.
0
 
LVL 5

Assisted Solution

by:tsmgeek
tsmgeek earned 150 total points
ID: 35203809
upload file to temp directory
scan with clamav which can be commandline driven or possably use the php api
if ok then move file from temp directory to correct dir, else if has virus you can store elsewhere or delete


clam av php api
http://www.clamav.net/lang/en/download/third-party-tools/3rdparty-library/
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently had to create a utility which aim is to update McAfee's Virusscan and that had to be launched from a command line. I thought I’d share my experience with you. Why is it useful to be able to update an Antivirus from the command line?…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question