hesco has asked for the wisdom of the Perl Monks concerning the following question:
Part of what I need this script to do is:
This started out as a working cli script, and on the road to being web-available as a cgi script, I'm having to jump over these privilege issues. Surely someone here has done this sort of thing before.
How can I safely allow a script running as the apache user to write to a web-accessible directory, without exposing that directory to tampering in a shared-hosting environment, where others can also write into the webserver's document root or deploy scripts that can?
-- Hugh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Allowing Apache to Write to filesystem
by chromatic (Archbishop) on Feb 24, 2006 at 06:13 UTC | |
by hesco (Deacon) on Feb 24, 2006 at 08:15 UTC | |
|
Re: Allowing Apache to Write to filesystem
by jonadab (Parson) on Feb 24, 2006 at 13:33 UTC | |
|
Re: Allowing Apache to Write to filesystem
by idsfa (Vicar) on Feb 24, 2006 at 16:33 UTC |