| 1> Setup /etc/hosts.allow & /etc/hosts.deny correctly: see "man hosts -k".
2> Set up your firewall correctly. Read your documentation.
By correctly, I mean to ONLY let those domains your willing to serve have access.
3> Setup sshd.conf to disallow Type 1 connections.
sshd safety is only as good as your users passwords are set. I demand password greater than 10 char long, of mixed upper and lower case including numbers, best is, some phase that is easy for you to remember like "!!2008isMY##??__day"
Best still, is only allow a combined host & user certification/authorisation via ssh-keys.
Configure ssd.conf so that root access/authentation is disallowed. (remembering to restart the sshd to ensure the new config settings take hold).
4> Run apache as nobody, or as a user name that hasn't got a home directory. NEVER, run apache as root.
5> Ensure that NO file has global r/w access || is suid capable.
6> Make sure your root password is complex preferrably a phase with mixed upper and lower case with numeric embedded characters. As pointed out in <3>.
7> Make sure you review your syslog messages daily at a minimum.
That's a start! |