Click here to Skip to main content
15,921,622 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hi ! i want an exaple like this :

http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx[^]


but i need this code for asp.net C#
its not for new vesion ...
can U help me ? or on Exam ??
Posted
Comments
Bernhard Hiller 11-Aug-14 3:04am    
Are you crazy? That blog is a pure WTF. Do not use that crap, any hacker will not have any problems to hack your site.

Command parameters are the safest way to avoid SQL Injection.
 
Share this answer
 
Comments
‫محم د‬‎ 10-Aug-14 2:06am    
I need A class
in class filter the character like : join , delete , ...
and include that class in all page ! example this link
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
 
Share this answer
 
Comments
Thanks7872 10-Aug-14 0:44am    
Clear enough. +5
Sergey Alexandrovich Kryukov 10-Aug-14 1:49am    
Thank you, Rohan.
—SA
‫محم د‬‎ 10-Aug-14 1:31am    
no ! in there Use store proc on parameter ...
i want use filter like that link ! but that in asp calssic
Sergey Alexandrovich Kryukov 10-Aug-14 1:50am    
Not clear what you are talking about. Didn't I answer your question? What's "no"?
—SA
Abhinav S 10-Aug-14 1:54am    
5 for the XKCD.

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