3 ms·
Well, I can certainly appreciate a separate security based course. However, my point that preventing SQL injections should not be viewed as security. Just like
by IgorPartola 17y ago
Well, I can certainly appreciate a separate security based course. However, my point that preventing SQL injections should not be viewed as security. Just like you shouldn't write code that takes as input other code and blindly runs it on the server; or serves any file on the server without any sort of checks. Using prepared statements, or if you can't, at least manually escaping user data, is part of writing functional code. A program that does not do this is not functional and as much as writing down an example that shows how to do it breeds bad code.