使任意函数安全运行?
我正在在线维基百科中编写我的程序的文档,我的目的是删除该内容来自程序本身,有时或按需。
为了额外的安全性,在线获取显示功能本身会很酷,但是除非我确信它们可以安全运行,即它们不会修改重要变量,进行系统调用,也不会窃取,否则我不能这样做来自用户的信息。这是在 Elisp 上实现的还是可以实现的?
I'm writing the docs of my program online, in a wiki, and my intent is to rip that content from the program itself, either from time to time or on demand.
For extra leetness, it would be cool to the get the display functions themselves online, but this I cannot do unless I'm assured that they are safe to run, ie, they won't modify important variables, make system calls, nor steal information from the user. Is this implemented on Elisp or implementable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
听起来您希望能够在沙箱中运行 elisp 代码。通过谷歌搜索,我找到了 sandbox.el。我还没有尝试过,但这可能是一个很好的起点。
It sounds like you want to be able to run your elisp code in a sandbox. A bit of googling lead me to sandbox.el. I haven't tried it, but it might be a good place to start.