Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Security techniques every programmer should know

by Jaap (Curate)
on Dec 27, 2004 at 09:47 UTC ( #417523=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $string =~ tr/\x00-\x09\x0b\x0c\x0e-\x1f//d;
    
  2. or download this
    if ($string =~ m/^([a-zA-Z0-9_])$/)
    {
      my $safeString = $1; ### also untainted now
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-10-20 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (88 votes), past polls