关于图片上传安全的有关问题

WBOY
Release: 2016-06-13 12:39:34
Original
1018 people have browsed it

关于图片上传安全的问题
一般我只检查后缀名,
比如上传abc.jpg,最后放在/xxx/xxx.jpg

但是今天看见一篇文章
原理是一段代码制作成JPG图片,然后上传。
 关于图片上传安全的有关问题 这时就执行代码?

我百度了很久找到的都是10年前的资料,而且好像这个东西跟ASP相关的?
我想问这个PHP是否也有这个漏洞?
文件上传时只检查后缀是否安全?

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!