Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to parse a QUERY_STRING and construct an sql query out of that ?

by mjscott2702 (Pilgrim)
on Jul 26, 2012 at 09:55 UTC ( #983815=note: print w/replies, xml ) Need Help??


in reply to How to parse a QUERY_STRING and construct an sql query out of that ?

Once you do write some parsing code, you probably want to do some checking, and not just execute arbitrary SQL. I would think that UPDATE, DELETE, DROP, TRUNCATE etc should probably all be prohibited.

It may be that this is all on a closed network, and you trust the callers, but you can never be too careful...
  • Comment on Re: How to parse a QUERY_STRING and construct an sql query out of that ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983815]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-04-29 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (534 votes). Check out past polls.