Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is SQL injection?

Answer Posted / p.ramakrishna

An SQL injection attack "injects" or manipulates SQL code
by adding unexpected SQL to a query.
Many web pages take parameters from web user, and make SQL
query to the database. Take for instance when a user login,
web page that user name and password and make SQL query to
the database to check if a user has valid name and password.
Username: ' or 1=1 ---
Password: [Empty]
This would execute the following query against the users
table:
select count(*) from users where userName='' or 1=1 --' and
userPass=''

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between abstract class and an interface?

910


Explain the difference between debug.write and trace.write?

934


What is an imagemap in asp.net?

1069


Explain managed code an un-managed code.

976


What is the difference between session object and application object?

1018


What are the different types of sessions in asp.net? Name them?

1157


What do you mean by View State and what is its role?

1008


Explain what is an abstract class?

974


Describe the differences between the lifecycles of Windows services and Standard EXE?

1124


What is skin in asp.net?

909


Is it possible to migrate visual interdev design-time controls to asp.net?

1006


Diff between web user control and web custom control?

926


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

840


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

5513


What is the asp.net control toolkit?

1035