Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Alain Frisch <Alain.Frisch@inria.fr>
To: pierre chambart <pierre.chambart@laposte.net>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Sand-boxing
Date: Tue, 29 May 2007 07:12:15 +0200	[thread overview]
Message-ID: <465BB62F.1060900@inria.fr> (raw)
In-Reply-To: <465B93D5.2060207@laposte.net>

pierre chambart wrote:
> You can use the dynlink library.
> When you load module with that, you can specify the modules that can't
> be accessed from the loaded code.

This can catch some errors, but it is not a real security
mechanism! The "security model" relies on the assumption that the loaded
modules have been produced by ocamlc from well-typed programs that don't
use unsafe features. The bytecode interpreter does not try to protect
itself against ill-behaved code at all.

  Alain


  reply	other threads:[~2007-05-29  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-29  2:01 Sand-boxing Jon Harrop
2007-05-29  2:38 ` [Caml-list] Sand-boxing skaller
2007-05-29  2:45 ` pierre chambart
2007-05-29  5:12   ` Alain Frisch [this message]
2007-05-29  5:47     ` Jon Harrop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=465BB62F.1060900@inria.fr \
    --to=alain.frisch@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=pierre.chambart@laposte.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox