How to prevent from uploading shell

alysa asked:

What is the best way to prevent from uploading c99shell,r57shell and another php sheller? i want when an attacker upload a shell the sheller don’t show for him.
I use mod_security ver 1.x
Thanks in advance

My answer:

Install a tool such as maldet to scan uploaded files, and the entire system on a regular basis. It’s designed specifically to catch malicious software in shared web hosting environments.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.