The stupid question is the question not asked | |
PerlMonks |
Re: perl SQL injection prevent moduleby tantarbobus (Hermit) |
on Feb 04, 2006 at 06:15 UTC ( [id://527896]=note: print w/replies, xml ) | Need Help?? |
DBI comes with something to helps you with making sure that you code is clean wrt sql injection attacks. When you connect to the database you can add a TaintIN => 1 to the dbi connection attribute hash. Then if you run your code in taint mode, DBI will barf when you try to use a tainted value.
In Section
Seekers of Perl Wisdom
|
|