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]



-----------------------------------------------------------------------------
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