Previous: Dealing with Live Untrusted Data, Up: Security [Contents][Index]
This section briefly summarizes rules of thumb for avoiding security pitfalls.
$ chmod go-rwx . $ mkdir -m go-rwx dir $ cd dir $ tar -xvf /archives/got-it-off-the-net.tar.gz
As a corollary, do not do an incremental restore from an untrusted archive.
tar
. For example, while you are
executing ‘tar -cf /archive/u-home.tar /u/home’, do not let an
untrusted user modify /, /archive, or /u.
tar
.
tar
to detect denial-of-service attacks.