A Few Apache Hardening Basics

By Daniel Miessler on December 7th, 2009: Tagged as Information Security
  • foo
    depending on what's you are trying to do, it might be shorter to do...

    chmod -R og-w+X (others or mere group members can't write, but may search all dirs)

    ...instead of...

    find /var/www/localhost/htdocs/ -type d -print0 | xargs -0 chmod 755;
    find /var/www/localhost/htdocs/ -type f -print0 | xargs -0 chmod 644;
blog comments powered by Disqus

 

twitter_icon

Sample Original Content


Information Security

Tutorials and Primers

Culture & Society

Technology & Science

Politics

Philosophy & Religion

Miscellaneous

Tools & Projects


Blog Archives