rw: Rscript for webR
@HenrikBengtsson
Peer-to-Peer (P2P) Compute Clusters:
Running tasks submitted by untrusted peers
How do we run untrusted code safely and locally?
Sandboxing:
Prevent R from accessing your local computer
rw tool rw: Rscript for webRRunning locally installed R from the command line:
Protects against malicious attempts to access your private files:
$ rw --expr='readLines("/home/alice/super-secret.txt")'
Warning in file(con, "r") :
cannot open file '/home/alice/super-secret.txt': No such file or directory
Error: cannot open the connectionPossible to give partial access, e.g. read-only access to your ~/public/ folder:
rw makes it easy to explore webR’s capabilities and limitationsrw provides tools to quickly build and test an R package in webREvaluate Untrusted R Code Locally Isolated in a webR Sandbox? - Henrik Bengtsson - github.com/futureverse/rw