You have to protect yourself against SQL injections what should you do:

Correct Answer for the following Question is given below

You have to protect yourself against SQL injections what should you do:When you can, reject input that contains the following characters.• Query delimiter (;)• Character data string delimiter (‘)• Comment delimiter (–)• Comment delimiters.(/* … */) Text between /* and */ is not evaluated by the server.• xp_ Used at the start of the name of catalog-extended stored procedures, such as xp_cmdshell.Read more: http://msdn.microsoft.com/en-us/library/ms161953.aspx

Question:

You have to protect yourself against SQL injections what should you do:

Options:

Parse all input for: — /* */ ; ‘

Concatenate user input that is not validated.

Accept the following strings in fields from which file names can be constructed: AUX, CLOCK$, COM1 through COM8, CON, CONFIG$, LPT1 through LPT8, NUL, and PRN.

Use stored procedures with unfiltered input.

Correct Answer

The Correct Answer for this Question is

Parse all input for: — /* */ ; ‘

Explanation

The Question – You have to protect yourself against SQL injections what should you do: has been answered correctly and answers for the question is Parse all input for: — /* */ ; ‘

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *