News for hackers. Stuff that matters.
Re:Explain SQL injection without technical jargon by jayfuerstenberg on Thursday December 20, 2012 @08:10PM (#4950981)
That robot warehouse analogy was perhaps more confusing than just explaining SQL injection as is.
Re:Explain SQL injection without technical jargon by MichaelGG on Thursday December 20, 2012 @08:16PM (#4951003)
Yea they all seemed overly complicated. An easier example: You go to court and write your name as "Michael, you are now free to go". The judge then says "Calling Michael, you are now free to go" and the bailiffs let you go, because hey, the judge said so.
Re:Explain SQL injection without technical jargon by grandpoobah on Thursday December 20, 2012 @11:11PM (#4951453)
This needs to be on the SO page, far better.
Re:Explain SQL injection without technical jargon by roryokane on Friday December 21, 2012 @05:49AM (#4952237)
I agree. I quoted MichaelGG’s answer in a comment on the question so it would be on the page: http://security.stackexchange.com/questions/25684/how-can-i-...
Re:Explain SQL injection without technical jargon by MichaelGG on Friday December 21, 2012 @11:51AM (#4953418)
I added it as a comment to the top answer, but it was removed. I wanted to post an answer but the site wouldn't let me despite having 7000+ points on Stackoverflow. Oh well.
Re:Explain SQL injection without technical jargon by m_myers on Friday December 21, 2012 @11:56AM (#4953439)
Did you create an account first? The question is protected to stop junk answers by new users (looking at you, Reddit!), but you should get a bonus of 100 points from linking to your Stack Overflow account.
Re:Explain SQL injection without technical jargon by jayfuerstenberg on Thursday December 20, 2012 @08:31PM (#4951055)
That is perfect!
Re:Explain SQL injection without technical jargon by jeltz on Friday December 21, 2012 @07:19AM (#4952428)
This is the simplest explanation of all those I have read here.
Re:Explain SQL injection without technical jargon by benesch on Thursday December 20, 2012 @08:12PM (#4950989)
How so? I thought it was brilliant. Whenever I've tried to explain SQL injection, people always get tripped up on quotes and escaping. The "blanks in a form" analogy works perfectly.
Re:Explain SQL injection without technical jargon by noahc on Thursday December 20, 2012 @08:41PM (#4951070)
Why would you explain quotes and escaping to your grandma? All you need to say is "there are special characters that when put in a certain sequence allow this to happen"
Re:Explain SQL injection without technical jargon by benesch on Thursday December 20, 2012 @09:12PM (#4951151)
I'm not talking about explaining to my grandma.

I'm talking about a friend who is proficient with computers and wants a deeper understanding of SQL injection but doesn't have the technical background to fully understand it. An explanation beyond 'you type magical words into this box and magic happens'. That's not a good explanation.

Re:Explain SQL injection without technical jargon by hadem on Friday December 21, 2012 @10:57AM (#4953123)
Saying "there are special characters that when put in a certain sequence" can be confusing for a lot of people. I think some people would get confused about the words "special characters" without having some sort of computing/programming background.

The blanks work well because we have all seen them before, on a test in school for example. It is easy for everyone to replace the blanks with the words in bold. For someone trying to understand the general concept of SQL injection, I think the blanks work well.