Home > Backend Development > PHP Tutorial > 关于禁止直接访问文件的有关问题

关于禁止直接访问文件的有关问题

WBOY
Release: 2016-06-13 11:39:30
Original
785 people have browsed it

关于禁止直接访问文件的问题
如下:
后台生成excel文件,放在a/b/test.xls这里,我不希望别人直接输入http://*.com/a/b/test.xls,我希望有权限的人才能访问,无权的则自动跑转,请问该如何处理呢?

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