what is sql Injection?

Answer Posted / kerem kusmezer

Sql Injection is one of the input manipulation attacks,
which in case the sql statement is directly buildup from an
string concatanation, in which the user can change through
entry the result sql statement.

For Example:

select top 1 username from users where username
= '&txtusername.Text&'.
If the user enters the text with ' or -- he can add more
command to the outcoming sql statement and change the query
set.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you update database through dataset?

707


What is ado code?

680


How to check if a datareader is closed or opened? IsClosed()

754


What is sqldatareader?

661


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

658






What is a serialized object?

703


What is the use of connection object in ado.net?

747


What is data access pattern?

653


What is data control techniques?

673


What are the parameters that control most of connection pooling behaviors?

729


What are the differences between OLEDB and SQLClient Providers?

739


What is microsoft ado.net?

753


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

836


How do you connect to sql server database without using sqlclient?

747


What are good ado.net object to replace to ado recordset object.

746