Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Confused about Taint

by Maclir (Curate)
on Jul 13, 2000 at 02:16 UTC ( #22294=note: print w/ replies, xml ) Need Help??


in reply to Confused about Taint

It sounds like you are running under mod_perl. From the mod_perl manual:

Since the -T switch doesn't have an equivalent perl variable, mod_perl provides the PerlTaintCheck directive to turn on taint checks. In httpd.conf, enable this mode with:

PerlTaintCheck On
Now any code compiled inside httpd will be taint checked.

If you use the -T switch, Perl will warn you that you should use the PerlTaintCheck configuration directive and will otherwise ignore it.

Now that means you have to have the authority to change your apache config files, and restart the server. I also imagine that all perl cgi programs that run under mod_perl then (check your scriptalias setting) will be taint checked - which may cause other programs to break.

Ken


Comment on Re: Confused about Taint
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://22294]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2014-12-27 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls