Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: To taint or not to taint?

by SFLEX (Chaplain)
on Mar 21, 2009 at 11:48 UTC ( [id://752221]=note: print w/replies, xml ) Need Help??


in reply to To taint or not to taint?

I guess the answer is use Taint if you don't know why and don't use Taint if you know.

Taint inst only for Perl, you can turn on taint for back-ends also.

I find that most the time taint wants to error on root paths or things the user can never touch.
This code can save you a few lines, it untaint's Environment paths.
# Clean up the environment. delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};

Spiel auf Hündinnen.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-06-22 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.