Remix 可以访问整个系统,而不仅仅是共享目录

问题描述

当运行 remixd 插件守护进程时,即使我设置了共享文件夹参数,Remix IDE 也可以通过浏览器访问我的整个系统,而不仅仅是指定的文件夹。这是一个错误吗?

➜  ~ remixd -s /some/shared/folder/                                 
[WARN] You can only connect to remixd from one of the supported origins.
[WARN] Any application that runs on your computer can potentially read from and write to all files in the directory.
[WARN] Symbolic links are not forwarded to Remix IDE

Wed Feb 03 2021 22:03:29 GMT+0100 (CET) Remixd is listening on 127.0.0.1:65520
[WARN] You may Now only use IDE at https://remix.ethereum.org to connect to that instance
setup notifications for /some/shared/folder/

解决方法

我是对的 - 当前版本中存在错误。要修复,您必须执行:

npm uninstall -g remixd
npm install -g @remix-project/remixd

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...