【发布时间】:2019-10-16 19:04:23
【问题描述】:
通常,在 Azure 中部署 PHP Web APP 时,会将其放在 /home/site/wwwroot 下,以便可以从 Web 访问所有脚本。
但是,出于安全原因,我不想在互联网上公开一些常量(例如 clientId + clientSecret 等)。为此,我有一个constants.php 文件。
因此,我想知道以下文件夹树是否会按预期工作并且是否安全:
/home/site/wwwroot/index.php
/home/site/constants.php
我没有进行部署,无法自行测试。
【问题讨论】:
标签: php azure web-applications