Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sirsar
· 13y ago · 0 comments
Sanitizing your inputs is apparently even harder than salting and hashing your passwords, something even the big-name companies tend to mess up.
Sigh.
Comments
[–]
PlaneSploit
13y ago
Little Bobby Tables, we call him.
[–]
dpatru
13y ago
http://xkcd.com/327/
[–]
k_bx
13y ago
You don't even need to sanitize them, actually.
[–]
sirsar
OP
13y ago
That's true. For example in Python, you declare the query as "Select * from a where b=? and c=d" and then put a tuple (z,) to specify b.
It's something the NYSE should get "hip" to.