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

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

WBOY
Release: 2016-06-23 14:10:51
Original
994 people have browsed it

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


回复讨论(解决方案)

应该可以了。。

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

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template