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 server-side scripting and client-side scripting.

926


Explain a program using razor view engine to create a simple application? : asp.net mvc

1014


Where viewstate value is stored in asp.net?

1086


Define the term Web Garden?

954


How many types of file extensions for razor views in ASP.Net MVC?

1237


What is true about application service provider?

918


COM+ Used ________________ Isolation Level

1957


Is asp.net mvc still used? : Asp.Net MVC

979


Explain the function of new view engine in asp.net? : asp.net mvc

1025


Why mvc is faster than asp.net? : Asp.Net MVC

1061


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

1018


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

2166


Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc

1033


What is query string in asp.net?

1071


What are web beacons used for?

1021