什么是SQL注入以及从sql注入存储我们的查询的方法请逐步在C#中解决。 [英] What is SQL injection and what are the ways to store our quers from sql injection please solve it in C# step by step .
本文介绍了什么是SQL注入以及从sql注入存储我们的查询的方法请逐步在C#中解决。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何...什么是SOL注入以及从sql注入存储我们的查询的方法请逐步在C#中解决。
那会更好,
谢谢Allot
Ahmad mirwais jalal来自阿富汗
解决方案
这是经常被问到的问题。请参考这个! [ ^ ]。
没有循序渐进的教程。保护站点免受sql注入有很多事情要做。
你可以参考这个,
防止SQL注入攻击 [ ^ ]
在ADO.NET中防止SQL注入 [ ^ ]
http://msdn.microsoft.com/en-us/magazine/cc163917.aspx [ ^ ]
http://webcache.googleusercontent.com/search?q=cache:http://tutorials.csharp-online.net/ASP.NET_Security_Hacks%25E2%2580%2594Avoiding_SQL_Injection [ ^ ]
或者更确切地说,使用模式,
http://www.dofactory.com/topic/1743/prevent-sql-injection-in-c.aspx [ ^ ]
-KR
SQL Injection是众所周知的漏洞:http://xkcd.com/327 [ ^ ]。
欲了解更多详情,请参阅我过去的回答:
在com.ExecuteNonQuery()中重新启动EROR; [ ^ ],>
您的名字未显示名称? [ ^ ]。
使用ADO.NET,您需要使用: http://msdn.microsoft.com/en-us/library/ff648339.aspx [ ^ ]。
-SA
How do I...What is SOL injection and what are the ways to store our quers from sql injection please solve it in C# step by step .
that will be better,
Thanks Allot
Ahmad mirwais jalal From Afghanistan
解决方案
It is quite often asked question. Please refer this![^].
There is no step-by-step tutorial. There is many things to do to protect sites against sql injection.
You may refer this,
Preventing SQL Injection Attacks[^]
Preventing SQL Injection in ADO.NET[^]
http://msdn.microsoft.com/en-us/magazine/cc163917.aspx[^]
http://webcache.googleusercontent.com/search?q=cache:http://tutorials.csharp-online.net/ASP.NET_Security_Hacks%25E2%2580%2594Avoiding_SQL_Injection[^]
or rather, using pattern,
http://www.dofactory.com/topic/1743/prevent-sql-injection-in-c.aspx[^]
-KR
SQL Injection is the well-known exploit: http://xkcd.com/327[^].
For more detail, please see my past answers:
EROR IN UPATE in com.ExecuteNonQuery();[^],
hi name is not displaying in name?[^].
With ADO.NET, this is what you need to use: http://msdn.microsoft.com/en-us/library/ff648339.aspx[^].
—SA
这篇关于什么是SQL注入以及从sql注入存储我们的查询的方法请逐步在C#中解决。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文