Click here to Skip to main content
15,912,457 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have a page that contain a htmleditor(aspnetajax control) and user can send comment asynchronously . but my site keep sensitive information in database but saving this information is in other page . can a malicious hacker get sensitive information via sql injection .
please help me it is very important for me .
I wanna a snippet code that prevent of sql injection
Posted
Updated 16-Feb-12 20:19pm
v2

1 solution

At first I want to say it may be important to you but not for the passionate folks who are volunteering in codeproject, it's Ur work, so please don't show commanding behavior.

Secondly, use Stored Procedure rather dynamic query in your application, it will prevent SQL injection
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900