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

Explain how can you debug your .net application?

928


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

1191


What are the Types of session management in ASP.NET

1031


Describe the disadvantage of cookies.

1027


What does asp stand for in asp.net?

975


How many types of cookies are there in asp.net?

945


What is xaml? Are xaml file compiled or built on runtime?

972


What's the difference between viewstate and sessionstate?

1057


What is the concept of postback in asp.net?

1035


How many validators do ASP.NET have?

1088


What is route in web api?

1017


What are the validation controls available in ASP.NET?

1000


How to disable disable browser's Back button in asp.net (JavaScript)?

1129


How would you turn off cookies on one page of your website?

941


What is rending process in ASP.NET?

1062