![]() |
![]() |
|
January 25, 2004An Introduction To SQL Injection Attacks For Oracle DevelopersKen mentioned that Stephen Kost has published a paper called "An Introduction to SQL Injection Attacks For Oracle Developers". Its a good read, even if it is focused on Oracle developers and aimed to be more Oracle specific. If you are doing any sort of mult-tier SQL database software design and programming, you might find this paper useful. Happy reading! Posted by SilverStr at January 25, 2004 02:00 AM | TrackBackComments
Interesting read. A couple of months ago you had a similiar link. The big difference is that this Oracle article really emphasized the importance of binding values rather then putting them directly into the SQL call. Way more secure, you get better performance because the db can cache the query optimization, and the java/perl/php/etc code calling it is so much easier to read. When people IM me and ask how to quote a string so that it doesn't give SQL syntax errors, my recommendation is to not even try, but skip directly to bind values. Another thing is that even if a native driver doesn't support bind values, the database driver for your programming language might implement it behind the scenes for consistency. DBI does this, anyway. What is really annoying is see data that contains \\\\\\\\\\\\\\\\\... you just know somebody is trying to quote a string to get it to insert, but botching the data in the process. It's guaranteed that they're not going to be escaping or stripping a continuation character like a semicolon. By the way, this popup comment window in MT is way to small for the textarea. Posted by: Wim at January 26, 2004 10:07 AMhttp://dotnetjunkies.com/WebLog/stefandemetz/archive/2004/02/06/6748.aspx Posted by: stefan demetz at February 10, 2004 04:49 AM |
![]() ![]()
My 5 Favorite Books
Writing Secure Code
Secure Programming Cookbook Security Engineering Secure Coding Principles & Practice Inside the Security Mind ![]()
My 5 Favorite Papers
Smashing the Stack
Penetration Studies Covert Channel Analysis of Trusted Systems DoD Trusted Computer System Evaluation Criteria NSA Security Recommendation Guides ![]()
Archives
December 2005
November 2005 October 2005 September 2005 August 2005 July 2005 June 2005 May 2005 April 2005 March 2005 February 2005 January 2005 December 2004 November 2004 October 2004 September 2004 August 2004 July 2004 June 2004 May 2004 April 2004 March 2004 February 2004 January 2004 December 2003 November 2003 October 2003 September 2003 August 2003 July 2003 June 2003 May 2003 April 2003 March 2003 February 2003 January 2003 December 2002 November 2002 October 2002 September 2002 August 2002 July 2002 ![]() |
|