From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 9442F7FCCB for ; Tue, 28 Apr 2015 09:08:23 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of sebastien-ocaml@chimrod.com) identity=pra; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="sebastien-ocaml@chimrod.com"; x-conformance=sidf_compatible Received-SPF: PermError (mail3-smtp-sop.national.inria.fr: cannot correctly interpret sender authenticity information from domain of sebastien-ocaml@chimrod.com) identity=mailfrom; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="sebastien-ocaml@chimrod.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@smtp1-g21.free.fr) identity=helo; client-ip=212.27.42.1; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="sebastien-ocaml@chimrod.com"; x-sender="postmaster@smtp1-g21.free.fr"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BAAQCJMD9VnAEqG9RcgmaEb8hogl0CgTE8EAEBAQEBAQERAQEBAQEGDQkJIS6EIQEBAwEjDwEFUQQHGgImAgJXIYgbCQOyQ5QMDAEfgSGKF4UMFoJSgUUFjzOYeolChBmDMQEBAQ X-IPAS-Result: A0BAAQCJMD9VnAEqG9RcgmaEb8hogl0CgTE8EAEBAQEBAQERAQEBAQEGDQkJIS6EIQEBAwEjDwEFUQQHGgImAgJXIYgbCQOyQ5QMDAEfgSGKF4UMFoJSgUUFjzOYeolChBmDMQEBAQ X-IronPort-AV: E=Sophos;i="5.11,662,1422918000"; d="scan'208";a="113758545" Received: from smtp1-g21.free.fr ([212.27.42.1]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 28 Apr 2015 09:08:22 +0200 Received: from goku.chimrod.com (unknown [88.172.128.238]) by smtp1-g21.free.fr (Postfix) with ESMTP id 7A37B940096 for ; Tue, 28 Apr 2015 09:05:49 +0200 (CEST) Received: from goku.chimrod.com (localhost [127.0.0.1]) by goku.chimrod.com (Postfix) with ESMTP id 82DDA1F9EC for ; Tue, 28 Apr 2015 09:08:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on goku.chimrod.com X-Spam-Level: Received: from mail.chimrod.com (goku [IPv6:2a01:e35:8ac8:ee0:7271:bcff:feb1:adf4]) by goku.chimrod.com (Postfix) with ESMTPA for ; Tue, 28 Apr 2015 09:08:21 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 28 Apr 2015 09:08:21 +0200 From: =?UTF-8?Q?S=C3=A9bastien_Dailly?= To: caml-list@inria.fr In-Reply-To: <553EA747.8020105@gmx.net> References: <553E9CD0.5040203@gmx.net> <553EA3E2.8060104@chimrod.com> <553EA747.8020105@gmx.net> Message-ID: <5b9676217bdc376e005f6075f3808c69@chimrod.com> X-Sender: sebastien-ocaml@chimrod.com User-Agent: Roundcube Webmail/0.9.5 Subject: Re: [Caml-list] js_of_ocaml with node Le 2015-04-27 23:16, Helmut Brandl a écrit : >> This a javascript limitation, not a js_of_ocaml one. I think (and >> hope) there is no such possibilities with standard javascript to >> create directories on the client fs. (and this would be a great >> security flaw if browsers would allow that). > Maybe I have been misunderstood. I am not trying to run my code in a > browser and access the client fs from the browers. My software package > is compiled to bytecode of native using the ocam compiler. All I want > to do is to create a javascript version and run it under nodejs (which > runs on the client machine) to provide user which don't have an > installed ocaml compiler suite on their machine to run my software > package. > > Note that nodejs has full access to the filesystem like any other > program written in any programming language like C, ocaml, java, > scala,... > You'r right. I was only thinking of client side javascript. Sorry for the noise. -- Sébastien Dailly