Hi,

I wrote a script which takes some info from the user and generates a form letter.

The script is run locally for five users, so security is not that important (although 
it is always important, I know).

The script manages to write data to my output file if I created it first and chmodded 
it to 666, but fails otherwise.

This is because the script is run by the web user, of course. Is there a more or less 
secure way to allow the script to

a) create / write to a file
b) apply pdflatex to that file (i.e. create a pdf file from the .tex source)
c) open the resulting pdf file (using the open function in OS X)

I read that setiud scripts are considered a security hole, and though my environment 
is not that critical, I do not want to use hazardous techniques.

Any hints? Thank you.

- Jan
-- 
There are two major products that come out of Berkeley: LSD and UNIX. We don't believe 
this to be a coincidence. - Jeremy S. Anderson

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to