So, I've found some good articles about securing both Apache and OS X. In addition to the Security Tips in the httpd docs, I've also been looking at the following articles:

http://www.sans.org/reading_room/whitepapers/honors/secure-configuration-apache-mac-os-environment_1676

http://www.symantec.com/connect/articles/securing-apache-step-step

These articles are concerned with OS X 10.4 and Apache 1.3 but many of the concepts still seem to be applicable, namely:

  • Basic Mac security: IPFW, FireVault, auto-updates and patch management, strong passwords, repairing file permissions
  • Basic Apache security: limting modules to only those that are needed, unique user/group, hiding version number, limited access to filesystem

My question is, if I am using Apache just for local development and I'm not going to use it as an internet facing web server than how many of the additional security precautions mentioned in the articles (such as disabling core dumps, using Tripwire and chkrootkit, configuring mod_security, chroot etc..) are actually necessary? If I have IPFW enabled and I don't enable any port forwarding on my router, how likely is it someone could gain access through my server?

link|improve this question
feedback

migrated from stackoverflow.com Aug 28 '11 at 10:03

This question came from our site for professional and enthusiast programmers.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown