Home  >  Article  >  Backend Development  >  一个文件权限的控制问题,nginx服务器

一个文件权限的控制问题,nginx服务器

WBOY
WBOYOriginal
2016-06-23 14:20:28765browse

a.PHP页面iframe了b.html
这个b.html默认是不能直接通过地址访问的。
但是需要通过a.php能够访问。


回复讨论(解决方案)

iframe就代表着浏览器可以通过地址访问的,不然你就只能当本地文件进行读取了。但明显不符合你的意图

iframe就代表着浏览器可以通过地址访问的,不然你就只能当本地文件进行读取了。但明显不符合你的意图 可以在nginx里写有语法性质的逻辑判断访问他的路径吗?完全没有办法来解决?

Statement:
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