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

Large Abstract Art with Fine Details and Textures

coding headlines

Detailed Error Handling In Bash

Tutorial: Create an NFS-like Storage Server with GlusterFS on Ubuntu 12.10

E-book: Perl One-Liners Explained

String matching in regular expressions

Tutorial: Android app build environment with Eclipse, PhoneGap (Ubuntu 11.04)

Python for Kids

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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