in reply to How do I test for potential security problems?
Your friend here is the -T switch. You should put it at the beginning of your shebang line switches:
#!/usr/bin/perl -Tw
(the w is the warning switch, which you probably want enabled, as well as the <kbd>use strict;</kbd>)
It will taint the incoming parameters, reducing drastically the potential security issues. You may also want to read perlsec for more detailed advices on perl security.
<kbd>--
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I test for potential security problems?
by Gryphaan (Beadle) on Jan 16, 2001 at 17:15 UTC | |
by OeufMayo (Curate) on Jan 16, 2001 at 17:37 UTC |