Click here to Skip to main content
15,898,538 members
Home / Discussions / C#
   

C#

 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk315-Jul-11 4:59
turbosupramk315-Jul-11 4:59 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
Mark Salsbery15-Jul-11 6:03
Mark Salsbery15-Jul-11 6:03 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk320-Jul-11 7:29
turbosupramk320-Jul-11 7:29 
GeneralRe: Looking for help in converting REG_BINARY to readable values Pin
turbosupramk321-Jul-11 5:12
turbosupramk321-Jul-11 5:12 
QuestionRegular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 1:21
Member 297299215-Jul-11 1:21 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 2:26
BobJanova15-Jul-11 2:26 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 2:45
Member 297299215-Jul-11 2:45 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
BobJanova15-Jul-11 3:56
BobJanova15-Jul-11 3:56 
But what if the user's name includes a banned character (e.g. O'Donnell)? I'm sure there are a few people with surnames that are database reserved words, too. This is why you should escape whatever is passed to you so it isn't an injection string, not 'validate' in such a way that legitimate user input is excluded.

Producing a safe SQL string is relatively easy if what you're escaping is always going to be a quoted parameter, you need to escape quotes, and a good idea to do semicolons for paranoia too.
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut15-Jul-11 2:50
professionalGuyThiebaut15-Jul-11 2:50 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 2:57
Member 297299215-Jul-11 2:57 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut15-Jul-11 3:33
professionalGuyThiebaut15-Jul-11 3:33 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
Member 297299215-Jul-11 4:16
Member 297299215-Jul-11 4:16 
GeneralRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
GuyThiebaut18-Jul-11 2:45
professionalGuyThiebaut18-Jul-11 2:45 
AnswerRe: Regular Expression to check for Oracle reserved words and special characters & sql injection attacks Pin
PIEBALDconsult15-Jul-11 3:21
mvePIEBALDconsult15-Jul-11 3:21 
QuestionProblem with messagequeue Pin
prasadbuddhika15-Jul-11 1:19
prasadbuddhika15-Jul-11 1:19 
QuestionGetting Rows That Was Changed Pin
AmbiguousName15-Jul-11 1:00
AmbiguousName15-Jul-11 1:00 
QuestionRe: Getting Rows That Was Changed Pin
DaveAuld15-Jul-11 1:16
professionalDaveAuld15-Jul-11 1:16 
AnswerRe: Getting Rows That Was Changed [modified] Pin
AmbiguousName15-Jul-11 1:29
AmbiguousName15-Jul-11 1:29 
GeneralRe: Getting Rows That Was Changed [modified] Pin
DaveAuld15-Jul-11 1:41
professionalDaveAuld15-Jul-11 1:41 
GeneralRe: Getting Rows That Was Changed Pin
GuyThiebaut15-Jul-11 2:07
professionalGuyThiebaut15-Jul-11 2:07 
QuestionOnly show decimals if there are any Pin
Etienne_12314-Jul-11 22:09
Etienne_12314-Jul-11 22:09 
AnswerRe: Only show decimals if there are any Pin
Etienne_12314-Jul-11 22:24
Etienne_12314-Jul-11 22:24 
GeneralRe: Only show decimals if there are any Pin
Shameel15-Jul-11 2:00
professionalShameel15-Jul-11 2:00 
AnswerRe: Only show decimals if there are any Pin
Wayne Gaylard14-Jul-11 22:32
professionalWayne Gaylard14-Jul-11 22:32 
SuggestionRe: Only show decimals if there are any PinPopular
GuyThiebaut14-Jul-11 22:55
professionalGuyThiebaut14-Jul-11 22:55 

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.