Running R in a sandbox

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Running R in a sandbox

Antonio Rodriges
Hello,

The idea is to grant access of remote users to R running on Linux.
Users must have ability to run their
R scripts but avoid corrupting the operating system.

How one can restrict/limit access of remote users to certain R
functions? For example, dealing with IO (file system), graphical
tools, etc.

Thank you.

--
Kind regards,
Antonio Rodriges

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Running R in a sandbox

Dieter Menne
Antonio Rodriges wrote
The idea is to grant access of remote users to R running on Linux. Users must have ability to run their
R scripts but avoid corrupting the operating system.
Check RStudio.org

Dieter
Reply | Threaded
Open this post in threaded view
|

Re: Running R in a sandbox

barry rowlingson
In reply to this post by Antonio Rodriges
On Wed, Aug 3, 2011 at 9:04 AM, Antonio Rodriges <[hidden email]> wrote:
> Hello,
>
> The idea is to grant access of remote users to R running on Linux.
> Users must have ability to run their
> R scripts but avoid corrupting the operating system.

 Ordinary users can't corrupt the operating system on Linux[1]. The
worst they can do is run CPU- and memory-intensive tasks that can slow
things down for everyone and conceivably bring the system to a halt,
but there are ways of limiting CPU and memory usage per user session.

 What don't you want them to do?

Barry

[1] Security holes excepted. But those will be present in any sandbox solution.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: Running R in a sandbox

Gavin Simpson
In reply to this post by Antonio Rodriges
On Wed, 2011-08-03 at 11:04 +0300, Antonio Rodriges wrote:
> Hello,
>
> The idea is to grant access of remote users to R running on Linux.
> Users must have ability to run their
> R scripts but avoid corrupting the operating system.
>
> How one can restrict/limit access of remote users to certain R
> functions? For example, dealing with IO (file system), graphical
> tools, etc.

We've been here before, IIRC. But I'm too lazy to check the archives -
that's your job ;-)

Try a search on http://finzi.psych.upenn.edu/search.html for relevant
terms and make sure you turn on the email lists and off the
functions/vignettes.

> Thank you.

G

--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.