Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Non-web SQL Injection

Tags:

There seems to be some hysteria about SQL Injection attacks. Most recently, here

How to return the value in one field based on lookup value in another field

If I'm creating a macro in Excel that connects to an Access database, do I really have to be concerned about SQL injection? It's not on the web, it's used in my office (you guys remember desktops right?). I'm not concerned that my co-workers are going to sabotage me. If they're smart enough to do a SQL injection, aren't they smart enough to crack my add-in password and just change the code?

like image 619
Dick Kusleika Avatar asked Feb 04 '09 16:02

Dick Kusleika


1 Answers

If you're building SQL in your macro, it's vulnerable to SQL injection. Even if you trust the people who will be using the thing, you should at least watch for the basics, like people trying to put single-quote and semicolon characters into database fields. this isn't so much a security issue in your case as just data validation.

like image 132
mjfgates Avatar answered Oct 22 '22 15:10

mjfgates