Click here to Skip to main content
15,902,492 members
Home / Discussions / Database
   

Database

 
QuestionRe: No SQL Server Management Tools Pin
Brendan Vogt15-Feb-06 1:02
Brendan Vogt15-Feb-06 1:02 
AnswerRe: No SQL Server Management Tools Pin
Colin Angus Mackay15-Feb-06 1:07
Colin Angus Mackay15-Feb-06 1:07 
QuestionUrjent SQL Exception Problem Pin
cbhkenshin14-Feb-06 21:20
cbhkenshin14-Feb-06 21:20 
AnswerRe: Urjent SQL Exception Problem Pin
cbhkenshin14-Feb-06 21:59
cbhkenshin14-Feb-06 21:59 
AnswerRe: Urjent SQL Exception Problem Pin
George L. Jackson15-Feb-06 13:34
George L. Jackson15-Feb-06 13:34 
AnswerRe: Urjent SQL Exception Problem Pin
Colin Angus Mackay15-Feb-06 21:54
Colin Angus Mackay15-Feb-06 21:54 
GeneralRe: Urjent SQL Exception Problem Pin
cbhkenshin17-Feb-06 19:26
cbhkenshin17-Feb-06 19:26 
GeneralRe: Urjent SQL Exception Problem Pin
Colin Angus Mackay17-Feb-06 23:44
Colin Angus Mackay17-Feb-06 23:44 
cbhkenshin wrote:
I'm already validataing input via TextBox_TextChanged.


It doesn't matter, you should use parameters as a matter of course. Your validation may have an unexpected flaw it in that you are not aware of. If you have available a tool to improve the security of your application that isn't going to take any longer to implement that they way you were doing before (and using parameters instead of injecting values has other advantages as well) then it should be used.

I occasionally have to do security audits of code. If you inject a value into a SQL string where it was possible to use a parameter I'd fail the code. Its as simple as that. It wouldn't matter that I see you validating the input (which is a very commendable thing to do, and you should continue to do that). I don't know every possible attack vector, so I use parameters as an extra safe guard in case I've forgotten about something.

ColinMackay.net
Scottish Developers are looking for speakers for user group sessions over the next few months. Do you want to know more?

QuestionJoin 3 Fields - Show all records From Table 1 Pin
RichardBerry14-Feb-06 21:10
RichardBerry14-Feb-06 21:10 
AnswerRe: Join 3 Fields - Show all records From Table 1 Pin
CWIZO14-Feb-06 21:24
CWIZO14-Feb-06 21:24 
GeneralRe: Join 3 Fields - Show all records From Table 1 Pin
RichardBerry14-Feb-06 23:32
RichardBerry14-Feb-06 23:32 
AnswerRe: Join 3 Fields - Show all records From Table 1 Pin
cbhkenshin14-Feb-06 21:42
cbhkenshin14-Feb-06 21:42 
GeneralRe: Join 3 Fields - Show all records From Table 1 Pin
Colin Angus Mackay14-Feb-06 22:34
Colin Angus Mackay14-Feb-06 22:34 
GeneralRe: Join 3 Fields - Show all records From Table 1 Pin
RichardBerry15-Feb-06 0:39
RichardBerry15-Feb-06 0:39 
QuestionRunning DTS against 2005 Pin
Tad McClellan14-Feb-06 16:50
professionalTad McClellan14-Feb-06 16:50 
QuestionThird Party Control Pin
welbert14-Feb-06 15:18
welbert14-Feb-06 15:18 
AnswerRe: Third Party Control Pin
Dave Kreskowiak15-Feb-06 4:31
mveDave Kreskowiak15-Feb-06 4:31 
Questionif condition error in Sp Pin
Vipin.d14-Feb-06 7:39
Vipin.d14-Feb-06 7:39 
AnswerRe: if condition error in Sp Pin
Colin Angus Mackay14-Feb-06 10:49
Colin Angus Mackay14-Feb-06 10:49 
QuestionCast Pin
dev dhoundiyal14-Feb-06 5:12
dev dhoundiyal14-Feb-06 5:12 
AnswerRe: Cast Pin
Paul Conrad14-Feb-06 5:33
professionalPaul Conrad14-Feb-06 5:33 
AnswerRe: Cast Pin
Scott Serl14-Feb-06 7:05
Scott Serl14-Feb-06 7:05 
QuestionSQL Server 2005 Pin
Brendan Vogt14-Feb-06 1:49
Brendan Vogt14-Feb-06 1:49 
AnswerRe: SQL Server 2005 Pin
Slow Learner14-Feb-06 2:26
Slow Learner14-Feb-06 2:26 
QuestionRe: SQL Server 2005 Pin
Brendan Vogt14-Feb-06 19:26
Brendan Vogt14-Feb-06 19:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.