Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
ASP.NET - SQL injection and HTML injection
September 18, 2009
Would you please let me know how to prevent SQL injection and HTML injection on an ASP.NET website?
Would you please also provide a reference document or web references (If needed).
Thanks and Regards..
Posted Date: September 18, 2009 Points: 5
SQL injection is all about how you are building you sqlquery and querying the data from database.
SQL injection is a trick to inject SQL query/command as an input possibly via web pages. 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. With SQL Injection, it is possible for us to send crafted user name and/or password field that will change the SQL query and thus grant us something else.
Check out this articles about SQL injection and help you to build you SQL query and also how to handle SQL Injection.
To post reply
Related Questions Related Questions
how to set html attributes to asp.net controls
HTML Line Break tag is not working in Chrome browser
ASP and HTML Form code to store User name and Password in the Access database and Retriew it
ASP and HTML Form code to Insert User name and Password in the Access database
how to get a image button in html
How to Create HTML Report in C#
Get HTML form control value in server side
HTML Encode SSIS Package
Read data between html tags.
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend