in reply to Re^4: Insecure dependency in open
in thread Insecure dependency in open
Taint should be used when the caller of the script is different than the person who owns the script. setuid scripts, CGI scripts, etc. should use it. The environment, files, STDIN, command line arguments, etc are controlled by the caller and cannot be trusted. To allow the user to specify a file name (for example) could allow him to read and/or modify files to which he normally would not have access.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Insecure dependency in open
by argv (Pilgrim) on Jan 22, 2007 at 19:21 UTC | |
by ikegami (Patriarch) on Jan 22, 2007 at 20:17 UTC |