Re: Gnumeric/Guile/Python
- From: Bart Schuller <schuller+gnome lunatech com>
- To: gnome-list gnome org
- Subject: Re: Gnumeric/Guile/Python
- Date: Wed, 26 May 1999 21:38:37 +0200
On Tue, May 25, 1999 at 08:40:42PM -0500, Miguel de Icaza wrote:
> And how are you going to do this? Once you are in Python land, there
> is no way to block any access to the file system or the network.
> Unless Python/Perl include some sort of sandbox setup.
They both do.
For Perl:
% perldoc Safe
NAME
Safe - Compile and execute code in restricted compartments
SYNOPSIS
use Safe;
$compartment = new Safe;
$compartment->permit(qw(time sort :browse));
$result = $compartment->reval($unsafe_code);
--
The idea is that the first face shown to people is one they can readily
accept - a more traditional logo. The lunacy element is only revealed
subsequently, via the LunaDude. [excerpted from the Lunatech Identity Manual]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]