Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai all,

How to prevent sql injection in asp.net & C# web site. We have problem for script injection. Please help me,

Regards,
Manu.
Posted
Comments
Bernhard Hiller 4-Sep-12 7:40am    
Not a solution, but worth a look:
http://www.codeproject.com/Feature/WeirdAndWonderful.aspx?msg=4335687#xx4335687xx
and resources mentioned therein.

 
Share this answer
 
Comments
Mohamed Mitwalli 4-Sep-12 8:15am    
5+
Anuja Pawar Indore 4-Sep-12 8:17am    
Thanks Mohamed :)
 
Share this answer
 
Comments
Mohamed Mitwalli 4-Sep-12 8:15am    
5+
Prasad_Kulkarni 4-Sep-12 8:26am    
Thank you Mohamed!
Manas Bhardwaj 4-Sep-12 16:14pm    
Good 5+
Prasad_Kulkarni 5-Sep-12 0:01am    
Thank you Manas!
see the below link you will get your answer from it..

http://msdn.microsoft.com/en-us/library/ff648339.aspx[^]
 
Share this answer
 
Sanitize the input, Escape/Quote safe the input, bound parameters, Limit database permissions and segregate users, Use stored procedures for database access, Isolate the webserver, Configure error reporting.
 
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