Home  >  Article  >  Backend Development  >  PHP流入 防

PHP流入 防

WBOY
WBOYOriginal
2016-06-13 12:44:04702browse

PHP注入 防
PHP在用户名和密码的前后加上自定义字符能防止注入吗?效果怎样


------解决方案--------------------
可以。但还还是要加强类型控制。
------解决方案--------------------
不知道你说的注入是指什么?
------解决方案--------------------
楼主说的是SQL注入式攻击是吧,BAIDU,一大把资料
------解决方案--------------------
安全得有安全思想才能够解决呀
------解决方案--------------------
限制非法字符,也可以防注入
------解决方案--------------------
这个可以参考一下  开源系统  是如何做的    
------解决方案--------------------
嗯 楼上的这个是个好的思路哦
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn