我如何阻止用户在我的Web表单应用程序中使用查询 [英] How I stop user from using queries in my Web forms app

查看:54
本文介绍了我如何阻止用户在我的Web表单应用程序中使用查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,我正在开发一个网络表单应用程序,并且我已被一位朋友警告过,据说人们可以通过文本框插入查询并做一些不好的事情或看到隐藏的信息或某些东西......这是真的吗?如果是这样,我如何保护我的应用程序?

Hey guys, I'm developping a web forms application and I've been warned by a friend that supposedly people can "insert queries through the textbox" and do something bad or see hidden information or something... is this true? if so how can I protect my application?

推荐答案

查找术语SQL注入。 CP上有一些非常好的文章。



例如 [ ^ ]但是看得更远,还有其他文章。



希望这会有所帮助。
look up the term "SQL injection". there are some pretty good articles here on CP.

eg[^] but look further, there are other articles.

hope this helps.


这篇关于我如何阻止用户在我的Web表单应用程序中使用查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆