Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 4-Sep-12 1:32am
Comments
Bernhard Hiller at 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.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
Mohamed Mitwalli at 4-Sep-12 8:15am
   
5+
Anuja Pawar Indore at 4-Sep-12 8:17am
   
Thanks Mohamed :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
Mohamed Mitwalli at 4-Sep-12 8:15am
   
5+
Prasad_Kulkarni at 4-Sep-12 8:26am
   
Thank you Mohamed!
Manas Bhardwaj at 4-Sep-12 16:14pm
   
Good 5+
Prasad_Kulkarni at 5-Sep-12 0:01am
   
Thank you Manas!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

see the below link you will get your answer from it..
 
http://msdn.microsoft.com/en-us/library/ff648339.aspx[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

  Permalink  
v2

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



Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 4 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100