(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:6476 | -Ray, February 19, 2001 (Updated: January 17, 2003)
More Programming articles...

Fine Art Online Gallery

coding headlines

No Starch Press has published my Perl One-Liners book!


Firefox sidebar

Site map

Site info

News feed


(to post)


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