Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个带有解释器的 python 在线编辑器。我使用 php 的 proc_open() 函数调用 python。
但是有一个问题,显然有人执行了 python 的 shutil.rmtree() 函数并删除了我的整个网站。
如何限制访问,使python只能访问指定目录中的数据