[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sharing scripts
From: |
John W. Eaton |
Subject: |
Re: Sharing scripts |
Date: |
Mon, 15 Mar 2010 08:55:21 -0400 |
On 15-Mar-2010, Francesco Potort wrote:
| As far as I can tell, the only way now (and simple enough) is to
| redefine all system-related operations in the .octaverc script,
| something like this (I had suggested it earlier, but maybe I was too
| cryptic):
|
| function unix ()
| error ("restricted", "unix cannot be used on this system")
| endfunction
And if you do this for every "unsafe" function in Octave, you will
break a lot of things. For example, the help system and plotting with
gnuplot.
I think some other approach is needed. I would recommend leaving
Octave alone and working on a restricted server environment (chroot
jail or similar) that would prevent a malicious user from doing any
damage to anything but his own sandbox.
jwe
- Re: Sharing scripts, (continued)
- Re: Sharing scripts, Jaroslav Hajek, 2010/03/15
- Re: Sharing scripts, MathCloud, 2010/03/15
- Re: Sharing scripts, Jaroslav Hajek, 2010/03/15
- Re: Sharing scripts, MathCloud, 2010/03/15
- Re: Sharing scripts, Jaroslav Hajek, 2010/03/15
- Re: Sharing scripts, Doug Stewart, 2010/03/15
- RE: Sharing scripts, dastew, 2010/03/15
- RE: Sharing scripts, MathCloud, 2010/03/15
- Re: Sharing scripts, Sergei Steshenko, 2010/03/15
- Re: Sharing scripts, Francesco Potortì, 2010/03/15
- Re: Sharing scripts,
John W. Eaton <=
- Re: Sharing scripts, Søren Hauberg, 2010/03/19
- Re: Sharing scripts, Sergei Steshenko, 2010/03/20
- Re: Sharing scripts, Søren Hauberg, 2010/03/20
- Re: Sharing scripts, Doug Stewart, 2010/03/20
- Re: Sharing scripts, MathCloud, 2010/03/21
- Re: Sharing scripts, Doug Stewart, 2010/03/21
- Re: Sharing scripts, MathCloud, 2010/03/21
- RE: Sharing scripts, dastew, 2010/03/21
- Re: Sharing scripts, Doug Stewart, 2010/03/21
- Re: Sharing scripts, MathCloud, 2010/03/22