|
|
||
|
|
Off
the O'Reilly Bookshelf
5 Specific Rules for Programming in Perl
Perl's tainting features make it more suited than C to CGI programming. When enabled, tainting marks all variables that are supplied by users as "tainted." Variables whose values are dependent on tainted variables are themselves tainted as well. Tainted values cannot be used to open files or for system calls. Untainted information can only be extracted from a tainted variable by the use of Perl's string match operations. The tainting feature also requires that you set the PATH environment variable to a known "safe value" before allowing your program to invoke the system( ) call.
|
|
Web Techniques and Web Design and Development copyright © 1995-99 Miller Freeman, Inc. ALL RIGHTS RESERVED |
|