Home > Backend Development > PHP Tutorial > 表单项的有效性检查放到浏览器上用JS做安全性有保证么?

表单项的有效性检查放到浏览器上用JS做安全性有保证么?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:08:40
Original
827 people have browsed it

前一段时间百度贴吧出过一个BUG,使用JS可以发超出边框的超大的图片。
这个是不是就是因为把有效性检查放到浏览器上用JS做了?


回复讨论(解决方案)

在客户端做的一切检查都不能保证安全性,需要在服务端再验证一遍。

有效性 ≠ 安全性

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