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

Security Issues in Perl Scripts

Up
vote
Down

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

Abstract Art on stretched canvas

coding headlines

Develop your own Raspberry Pi OS

Introduction to Perl one-liners

Using Git for Source Control

Tutorial: Install SVN, Configure multi-protocol access (Ubuntu 11.10)

Perl One-Liners Explained: Handy Regular Expressions

e-book: Sed One-Liners Explained

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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