enhance security via private TMP/TMPDIR by default

Matthew Miller mattdm at mattdm.org
Thu May 12 16:04:28 UTC 2005


On Thu, May 12, 2005 at 11:59:28AM -0400, Ignacio Vazquez-Abrams wrote:
> > # For privacy and security, set temporary directories to ~/tmp on local
> > # filesystems -- but for network filesystems, make up one in /tmp.
> > # The trap statement cleans up the temporary directory if it's empty on 
> Why not use /tmp/<username> instead?

Because avoiding using predictable filenames is one of the advantages.

-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 82 degrees Fahrenheit.




More information about the devel mailing list