Solved

Antivirus on Linux web server

Posted on 2011-03-22
4
757 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
Comment Utility
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
Comment Utility
0
 
LVL 12

Author Comment

by:Infamus
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

HOW TO REMOTELY CLEAN MEROND.O WITH ESET SILENTLY PROBLEM       If you have the fortunate luck to contract the Merond.O virus on your network, it can be quite troublesome to remove as it propagates to network shares on your network. In my case, the …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now