[NTG-context] Some problems creating a wiki page

Hans Hagen pragma at wxs.nl
Fri Apr 15 20:10:57 CEST 2011


On 15-4-2011 7:44, Aditya Mahajan wrote:
> On Fri, 15 Apr 2011, Cecil Westerhof wrote:
>
>> 2011/4/15 Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
>>> On Fri, Apr 15, 2011 at 13:25, Wolfgang Schuster
>>> <schuster.wolfgang at googlemail.com> wrote:
>>>>
>>>> Am 15.04.2011 um 08:41 schrieb Cecil Westerhof:
>>>>
>>>>> It compiles under ConTeXt without a problem, but on the wiki I get
>>>>> a texexec error.
>>>>
>>>> The fancybreak is only shipped with the minimals but not with
>>>> TeXLive which is AFAIR used by the wiki.
>>>
>>> No, wiki is not using TeX Live, but it doesn't contain modules. (I'll
>>> fix that on the new machine.)
>>
>> But it uses texexec (MKII) and not context (MKIV)? The results I get
>> are the same as using texexec, not context.
>
> IIRC, there were some security concerns with MkIV:
>
> \ctxlua{os.execute("cat /etc/passwd")}

Althoug I admit that I tested it long ago (early days of mkiv) there is 
some control built in:

system.executionmode
system.executionlist

the mode can be set "none" or "list" an in the later case you need to 
mention the permitted programs. There are also some options for reading 
files.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list