[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing Octave on a web server
From: |
David Bateman |
Subject: |
Re: Installing Octave on a web server |
Date: |
Mon, 07 Jul 2008 17:43:37 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
Thomas Weber wrote:
> Am Montag, den 07.07.2008, 14:52 +0200 schrieb Quentin Feyaerts:
>
>> Hello all,
>>
>> I would like to install Octave on a web server that I rent to a
>> company. Basically, I want to develop a website which needs Octave to
>> be installed on a server to display some Octave's results to the
>> visitors.
>>
>
> Do you expect visitors to provide any input? In that case, you *must*
> filter those inputs really *strict*. You don't want
> system("rm -rf /")
> to be executed.
>
chroot and the user "nobody" are your friends...
Searching through Nabble I found the following possible bits of code
that might help/
http://wnet.isti.cnr.it/software/damatfrc/
http://www.nabble.com/Re%3A-Octave-Web-GUI-to9214520.html#a9214525
You might also want to look at NetMath that addresses the security
issues by preloading a library that overloads dangereous system calls.
Its at
http://rene.ma.utexas.edu/users/wfs/netmath/demo/demo.html
http://rene.ma.utexas.edu/users/wfs/netmath/netmath.html
and used to support Octave though that support seems to have been
removed recently.
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary