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 what does mvc represent in asp.net? : asp.net mvc

1137


Explain how to prepare culture-specific formatting in .net.

1016


What is the maximum timeout we can set for Cookies?

1033


What are the Difference between asp.net and asp ?

1225


Explain method to handle error using HttpError in Web API?

1109


How can we prevent browser from caching an aspx page?

938


What is the difference between application state and caching?

1142


What is use of Master Page in ASP.NET web pages?

1098


What do you mean by query string?

982


What is a uri query?

1048


How can we identify that the Page is Post Back?

1052


What is simple data binding?

1003


What is IPostBack? How to use it?

1146


a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

2119


What is the importance of Global.asax in ASP.NET?

1213