in reply to Preventing injection attacks
Attempting to catch malicious input is misguided in most cases. You should either only allow known good - verifiable - input or make sure the content of the input doesn't matter.
update:
I think there is room for a Perl module that can screen against all attacks through stored procedures of any database app.And the problem with that is that you won't know about all potential attacks. Besides that I suspect the code to detect all known attacks would soon be orders of magnitudes larger than the code it's supposed to protect - with all the potential for bugs in and/or security holes caused by the scanning code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Preventing injection attacks
by Ionitor (Scribe) on Apr 02, 2007 at 14:12 UTC | |
|