A Few Apache Hardening Basics

By Daniel Miessler on December 7th, 2009: Tagged as Information Security
  • Pingback: uberVU - social comments

  • 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;

  • 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;


Top

Popular

Information Security / Technology

Politics

Philosophy & Religion

Technology & Science

Culture & Society

Miscellaneous

Arguments

Projects

Collections

Twitter

What I'm Reading

Favorite Books and Essays

Top Blog Categories

Inputs