r/shittyprogramming • u/knflrpn • Nov 30 '18
Unbeatable protection from SQL injection.
Just don't name your table "users" so when they do the "DROP TABLE users;" it doesn't work.
143
Upvotes
r/shittyprogramming • u/knflrpn • Nov 30 '18
Just don't name your table "users" so when they do the "DROP TABLE users;" it doesn't work.
View all comments
Show parent comment
1
u/republitard Dec 02 '18
Bulletproof security.