Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

using Taint in apache modules

by halfcountplus (Hermit)
on Sep 29, 2010 at 20:56 UTC ( #862701=perlquestion: print w/replies, xml ) Need Help??

halfcountplus has asked for the wisdom of the Perl Monks concerning the following question:

I'm working on a mod_perl based application which uses html forms for input. Since the whole thing is a module called by apache, there is no script in which to use the -T switch. I have found Taint::Runtime, which seems to work, but was wondering if there is a way to enable the native taint check within a .pm file.

Replies are listed 'Best First'.
Re: using Taint in apache modules
by Anonymous Monk on Sep 29, 2010 at 21:32 UTC
      gosh, looks like search for "mod_perl" better than search for "apache perl module" thanx
Re: using Taint in apache modules
by rowdog (Curate) on Sep 29, 2010 at 21:32 UTC

    The usual way to turn on tainting for mod_perl is PerlSwitches. That may or may not help you since PerlSwitches -T will turn on tainting for all modules.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://862701]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2020-10-23 06:26 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (235 votes). Check out past polls.