[Good read] SQL injection is still a thing today?

fredo

Well-Known Member
Licensed User
Longtime User
If you are unsure if you should use ".ExecNonQuery2(..., ...)" you will find important hints here:

http://codecurmudgeon.com/wp/sql-injection-hall-of-shame/?_utm_source=1-2-2

31-10-_2017_08-54-18.png
 

OliverA

Expert
Licensed User
Longtime User
Another good read (http://www.sommarskog.se/dynamic_sql.html). The title is: The Curse and Blessings of Dynamic SQL. If you think you need to use dynamic SQL, think really, really hard about why (and 99.99999% of the time you should not). Technically, dynamic SQL should only be used by administrators/for administrators. User's and front end applications should never be exposed to nor be given access to dynamic SQL. Obligatory xkcd link (https://xkcd.com/327/).
 
Top