> From [EMAIL PROTECTED] Thu Dec  6 14:34:50 2001
> Date: Thu, 6 Dec 2001 13:12:59 -0800 (PST)
> From: Carl Riches <[EMAIL PROTECTED]>
> To: LPRng List <[EMAIL PROTECTED]>
> cc: Carl Riches <[EMAIL PROTECTED]>
> Subject: LPRng: ghostscript mods to -dSAFER
>
>
> I am trying to install AFPL Ghostscript 7.03 and get the mods to
> gs_init.ps set properly.  The changes recommended by IFHP's
>
>   README.GhostScriptSecurityProblem
>
> don't work for 7.03 -- the gs_init.ps file is completely different in the
> "SAFER" section.  I have come up with the following that seems to work
> properly, but I'm not a postscript programmer.  Would someone look at this
> and tell me if this is wrong?  And if so, how to fix it?
>
> Patrick--
>
> If this is the correct code you can put this in your README file.
>
> % this section modified to fix a security problem
> /file
>  { //SAFETY /safe get {
>      dup (r) eq
>      2 index (%pipe*) .stringmatch not and
>      3 index (%std*)  .stringmatch not and
>      or or
>        { file }
>        { /invalidfileaccess //signalerror exec }
>      ifelse
>    } {
>      file
>    } ifelse
>  } .bind executeonly odef
>
>
>
> Thanks much!
>
> Carl G. Riches
> Software Engineer
> Department of Mathematics
> Box 354350                    voice:     206-543-5082 or 206-616-3636
> University of Washington      fax:       206-543-0397
> Seattle, WA  98195-4350               internet:  [EMAIL PROTECTED]

Could you add some comments about this?  Or as they say in
Postscript:

    ?od ti seod tahw

Patrick ("Polish notation?  Why?  Is it dirty?") Powell

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to