Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Untainting safely. (b0iler proofing?)

by Jenda (Abbot)
on Jun 25, 2002 at 20:14 UTC ( #177198=note: print w/replies, xml ) Need Help??


in reply to Re: Untainting safely. (b0iler proofing?)
in thread Untainting safely. (b0iler proofing?)

I think the last paragraph should be highlighted. Do not remove bad things. Permit safe things.

A few weeks ago in a reply to someone in beginners@perl.org on similar topic I wrote:

  1. There is NO single list of dangerous characters. What characters are dangerous depends on the action you do with the data.
  2. If you or someone else creates a list of suspicious characters and test whether the data contain any of them, you are NOT safe. It's for sure you'll forget some character, it's for sure there is something you've never heard of that can go wrong.
  3. Always test whether the data DO CONTAIN ONLY ALLOWED characters. And allow only the characters you must.

  Jenda

  • Comment on Re: Re: Untainting safely. (b0iler proofing?)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-07-30 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?