I have a stored procedure EXEC AUHENTICATE_LOGON that has two parameters - USER and PASSHASH.
It sure would look to me like you can't do SQL Injection on something like that??
No dynamic SQL just a simple lookup....
I figure PASSHASH is automatically "sanitized" by the hashing function.
USER - I currently don't sanitize if at all - except escape single quotation marks.
On one hand you hear every guy on the Internet talking about SQL Injection.
On the other hand you have the simplicity of a stored procedure with fixed data types and fields etc....
Thoughts?
It sure would look to me like you can't do SQL Injection on something like that??
No dynamic SQL just a simple lookup....
I figure PASSHASH is automatically "sanitized" by the hashing function.
USER - I currently don't sanitize if at all - except escape single quotation marks.
On one hand you hear every guy on the Internet talking about SQL Injection.
On the other hand you have the simplicity of a stored procedure with fixed data types and fields etc....
Thoughts?
Comment