What are some of the characteristics of Perl's taint mode?

What will be an ideal response?


The following is a list of taint mode characteristics:
* Perl will verify that path directories are not writable by others.
* A tainted Perl program cannot use data derived from outside of the program to affect something else outside the program.
* All command line arguments, file input, environment variables, locale information, results of sensitive system calls-such as readdir(), readlink(), the variable of shmread(), the messages returned by msgrcv(), the password, gcos, and shell fields returned by the getpwxxx() calls-are marked as "tainted" when Perl is in taint mode.
* Tainted data cannot be used directly or indirectly in any command that invokes a subshell or in any command that will modify files, directories, or processes.
* If a Perl expression contains tainted data, any subexpression is considered tainted, even if the value of the subexpression is not itself affected by the tainted data. In other words, one tainted value taints the whole expression.

Computer Science & Information Technology

You might also like to view...

Which of the following statements is true?

a. A VBox’s Spacing property specifies vertical spacing between its controls. b. Setting a control’s Max Width property to MAX_VALUE enables the control to fill its parent node’s width. c. A control’s On Mouse Dragged event handler (located under the Mouse heading in the Code section) specifies what to do when the user drags the mouse on the control. d. Each of these statements is true.

Computer Science & Information Technology

How must the recipient of a notification be configured in SQL Server Agent?

A. as a mail recipient B. as an alert administrator C. as an operator D. as an Agent manager

Computer Science & Information Technology

Embedded macros are displayed in the Navigation Pane

Indicate whether the statement is true or false

Computer Science & Information Technology

The best way to get your Web site to attract first-time and repeat visitors is to make the Web site visually stimulating, give it good content, and structure that content well.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology