Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: What's your favourite method of untainting?

by rob_au (Abbot)
on Dec 14, 2005 at 12:11 UTC ( #516592=note: print w/replies, xml ) Need Help??

in reply to What's your favourite method of untainting?

For those who are unaware, the untainting method described in the third option refers specifically to tainting behaviour for hash keys - That is, hash keys are not tainted, ever. From perlsec - Because taintedness is associated with each scalar value, some elements of an array or hash can be tainted and others not. The keys of a hash are never tainted.


perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"

  • Comment on Re: What's your favourite method of untainting?

Replies are listed 'Best First'.
Re^2: What's your favourite method of untainting?
by sanPerl (Friar) on Dec 15, 2005 at 11:58 UTC
    As per WikiPedia Taint means
    in computer science, in particular in the Perl programming language, "tainted" data are considered untrusted and are treated with caution
    Some Guru may want to add some more information to it, since it is described in a short manner.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516592]
[marto]: hey Corion, how's tricks?
[Corion]: marto: Currently all well - work is even OK currently ;) I should start translating my WWW::Mechanize:: Chrome talk to English and recheck that my demos all work, but I have two weeks for that still :)
[Corion]: So, most things are looking good :-D
[Corion]: I should write some more code for my Jekyll clone, but I don't feel like it, so maybe I should just let that linger instead ;)
[karlgoethebier]: "...mein enemy..."

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-07-26 10:46 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (390 votes). Check out past polls.