What is SQL injection?

Answers were Sorted based on User's Feedback



What is SQL injection?..

Answer / 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

What is SQL injection?..

Answer / sathya s.d.

using sql query in a login id and password and automaticaly
login by verifying raw query with database..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

In which interface the template of any control like Gridview would Initiate?

2 Answers  


How will you maintain versioning in asp.net 2.0?

0 Answers   MCN Solutions,


Difference Between GridView And DataList

2 Answers  


What is enableviewstatemac in asp net?

0 Answers  


what is asp dotnet

2 Answers  






Which institute provide good Project training on .Net technologies in hyd?

5 Answers  


Why is the standalone environment only useful during the development process?

0 Answers  


When maintaining session through sql server, what is the impact of read and write operation on session objects?

0 Answers  


What are app services?

0 Answers  


What does a switch do?

0 Answers  


How to comment out asp.net tags?

0 Answers  


What is the use Membership in asp.net? and What is the use profiler in asp.net?

1 Answers  


Categories