Davide,

On 02/14/2013 07:18 PM, Davide Andreoli wrote:
> How much the js script are sand-boxed? What can be done from js?

A JavaScript module can load a native module, which can wreck as much 
havoc as it wants. In that sense, there isn't any sandbox -- so in the 
end of the day, it is pretty much like any module written in C, except 
it can be written in JS.

One could write something to allow loading only certain native modules, 
even checking signatures or other complicated stuff; not sure if 
necessary, though.

In any case, the only modules available are the ones that are available 
from Elev8, such as elementary, dbus, storage (simple KV store using 
Eet), filesystem (only listing files, can't open/read/write them), and 
http client.

Regarding Edgar: yes, it is possible to port these things to Elev8, but 
Edgar seems to be more mature at the moment as far as I can tell from a 
quick glance (although, of course, you can create Edje objects and 
control them however you want).

Cheers,
        Leandro

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to