Home  >  Article  >  Backend Development  >  有没有什么简单地,一劳永逸地防止XSS的方法?

有没有什么简单地,一劳永逸地防止XSS的方法?

WBOY
WBOYOriginal
2016-06-23 14:10:51967browse

htmlspecialchars能完美解决么?如果网站支持UBB的话,UBB有可能会被利用么?


回复讨论(解决方案)

应该可以了。。

一劳永逸。。。这个显然是不存在的.

过滤吧将传递的参数全部过滤一圈

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
Previous article:批量删除文章ID?Next article:怎么出错了呢?求原理