Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by Jenda (Abbot)
on Jun 25, 2002 at 20:14 UTC ( [id://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

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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 06:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found