I've just started lookin at using SQL for my windows application and I've started to consider how I should sanitize my string input. I would appreciate seeing both a quick and dirty way and the more secure, and probably more complex way (even if it's an API call).
The reason I want to see both methods is because I'm less worried that some one will try to wreck the DB on purpose (inner facing corp. app), but more worried that someone will do it accidentally. With this in mind, I care about performance slightly more than ensuring no attack could be successful, but if the quick/dirty method is just as fast as the more secure method, then I'll stick with security.
The reason I want to see both methods is because I'm less worried that some one will try to wreck the DB on purpose (inner facing corp. app), but more worried that someone will do it accidentally. With this in mind, I care about performance slightly more than ensuring no attack could be successful, but if the quick/dirty method is just as fast as the more secure method, then I'll stick with security.
