Home > Backend Development > PHP Tutorial > apache 如何禁止操作根目录以外的位置

apache 如何禁止操作根目录以外的位置

WBOY
Release: 2016-06-13 12:43:11
Original
923 people have browsed it

apache 怎么禁止操作根目录以外的位置
怎么设置apache 让程序只能操作本程序根目录以内的文件。现在用file_put_contents之类的文件操作方法可以操作根目录以外的文件。

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