Text-only | Table of Contents (frame/ no frame) |
(29) Security |
![]() ![]() ![]() |
$PATH
at the start of a script, so that you know exactly
which external programs will be used.
$TMPDIR
,
and create files safely (e.g. mktemp
).
ls
or find
Example:
Consider the effects of a file named "myfile;cd /;rm *
" if processed,
unquoted, by your script.
security.src last modified Mar 11, 2005 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |