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

Re^5: Preventing malicious T-SQL injection attacks

by davorg (Chancellor)
on Mar 05, 2007 at 16:05 UTC ( [id://603239]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Preventing malicious T-SQL injection attacks
in thread Preventing malicious T-SQL injection attacks

You can question whatever you want. It's your code, after all.

But you need to know the number of parameters in order to create an SQL string with the correct number of placeholders. So DBI checks the number of parameters for you for free.

You get an extra layer of defensive programming for no cost. I can't see any reason why you wouldn't want to make use of it.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found