Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2014-08-30 02:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls