Solved

Antivirus on Linux web server

Posted on 2011-03-22
4
790 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For those of you actively in the Malware fightling business, we now have available an amazing new tool in the malware wars (first recommended to me by rpggamergirl (http://www.experts-exchange.com/M_3598771.html), the Zone Advisor for the Virus and …
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 …
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…

733 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