POV-Ray : Newsgroups : povray.unix : Permission options? : Re: Permission options? Server Time
28 Jul 2024 10:24:49 EDT (-0400)
  Re: Permission options?  
From: Ron Parker
Date: 7 Aug 2002 10:01:30
Message: <slrnal2a1v.7et.ron.parker@fwi.com>
On 7 Aug 2002 00:02:46 -0400, Ron Parker wrote:
> On 6 Aug 2002 18:48:30 -0400, Warp wrote:
>>   What are the options to allow reading but not writing, for example? Is
>> there a list somewhere?

Okay, I made this quick-and-dirty guide to what can be in povray.conf.  
Note that this is case-sensitive.  

[File I/O Security]
none | read-only | restricted

[Shellout Security]
allowed | forbidden

[Current Directory Read/Write]
allowed | forbidden

[Permitted Input Paths]
nn=<dir>

[Permitted Output Paths]
nn=<dir>

For the lines that say "nn=<dir>" you may specify any number from 0 to 64
for nn, and give the name of a directory for <dir>.  Note that <dir> can 
be an absolute path, a path relative to the install directory (use
"%INSTALLDIR%"), or a path relative to the current working directory (which
changes depending on where you invoked POV from; obviously this is of 
limited usefulness.)  POV does not currently support the '~' character,
either by itself or with a username (e.g. ~ron -> /home/ron).

-- 
#local R=<7084844682857967,0787982,826975826580>;#macro L(P)concat(#while(P)chr(
mod(P,100)),#local P=P/100;#end"")#end background{rgb 1}text{ttf L(R.x)L(R.y)0,0
translate<-.8,0,-1>}text{ttf L(R.x)L(R.z)0,0translate<-1.6,-.75,-1>}sphere{z/9e3
4/26/2001finish{reflection 1}}//ron.parker@povray.org My opinions, nobody else's


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.