Production Checklist for Unix Applications


This is a continuation of the Production Checklist for Unix Hosts.

This Application checklist is not at all mature; use it for general reference only until it is ready...

Mail

local mail   If you don't need to receive local mail on the machine, then set sendmail to refuse local mail. This gets rid of insecurities with the local mail delivery program.
aliases   Alias all "system" accounts.
aliases   Alias "software" accounts properly.
aliases   Remove any inappropriate aliases entries, such as "uudecode"; there should be no program aliases except the ones you explicitly put there.
antispam   Modern versions of sendmail come configured correctly by default to reject attempts to use your system to relay spam. Do not turn these measures off.
tcp_wrappers   If you don't need to receive mail from the outside, use tcp_wrappers to restrict access to your sendmail daemon.
run as non-daemon   For safety's sake, configure sendmail to run as "nul-mail", not as daemon, when not running as root or as a local user. In your .mc file:
define(`confDEF_USER_ID', `342:342')
         

Web servers

chroot   Always run web servers in a chroot(8) environment.
cgi   Limit CGI programs to a trusted directory where possible, and use cgiwrap when you can't.
cgi   CGI scripts that run with the web server's privileges should be audited carefully; in particular, do not install the sample CGI programs that come with the web server.
default pages   "Default" pages reduce the chances of sensitive data leaks (configuration errors, for example). There should always be a default page (usually named "index.html").

FTP servers

access   Limit access as much as possible.
anonymous   Avoid anonymous FTP unless absolutely required. "guest" and anonymous FTP should very carefully be chrooted.
logging   Log all transfers. We should indicate that we're doing so in our FTP banner.

The rest of our notes...

Add notes on these:


Copyright, © 2004, Concordia University,
Instructional and Information Technology Services (IITS).


Author: Anne Bennett
Credits: Sylvain Robitaille
Maintained by: webdoc@alcor.concordia.ca
Last update: 2000/02/11 -- Anne Bennett

  [IITS Home]
  [Concordia Home]