(Show all Perl articles . . .
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Security Issues in Perl Scripts


Complete with function call information and example code.
How can Perl stop you from doing the mistakes that we discussed in our previous article? It would be nice if potentially risky behaviors were forbidden, but that would limit the power of Perl. It would also be nice if it weren't easy to accidentally introduce a problem. Nonetheless, Perl is unlikely to change.

Perl does has a special security mode called taint mode which can be entered by giving Perl the --T command-line option. While in taint mode, Perl carefully monitors all information that comes from outside your program and issues warnings when you attempt to do something potentially dangerous with this information. The things that taint Perl monitors include user input, environmental variables, and program arguments.
 read more | mail this link | score:6324 | -Ray, February 19, 2001 (Updated: January 17, 2003)
More Programming articles...

Large Framed Abstract Art

coding headlines

Detailed Error Handling In Bash

Unix: Shell Script Wrapper Examples

Using Git for Source Control

E-book: Perl One-Liners Explained

Bash: Use the Test Command for multiple aspects

Debugging Shell Scripts


Firefox sidebar

Site map

Site info

News feed


(to post)


Articles are owned by their authors.   © 2000-2012 Ray Yeargin