Apache Security

This is a discussion on Apache Security within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello, Will someone let me know if I'm on the ball here. I've just reviewed our production system ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-25-2003
Larry McFarlane
 
Posts: n/a
Default Apache Security

Hello,

Will someone let me know if I'm on the ball here. I've just reviewed our
production system and don't like what I see.

Apache starts up as root, creates the pid, and switches to the dodo user
that you specify in the httpd.conf file.

An Admin should make sure that all of Apache's files (including your
document root) is owned and grouped by root.

The attributes of the files in document root should have ReadWrite, Read,
Read attributes. CGI is out of the picture here and isn't relevant.

The reason for this is in case Apache is exploited, Apache won't be able
to go on a rampage because the file system is protected by root. Apache,
now operating as the dodo user will in theory, be denied.

The only reason why I feel you should assign different users/groups to
Apache's directory tree is when the server is a development/staging
server. You wouuld probably want to do this if you want your developers
access to specific directories/files and not overwrite someone else's
work. When migrating to production, only a root user should be able to
migrate the changes to ensure that all files maintain root permissions.

Any input would be greatly appreciated!


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:41 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0