in reply to Perl/CGI Security Question
If nobody, then your data will need permissions of 777 -> anyone can read or update your data files through a simple perl script if they know they are there.
If this is an issue, you (or your sys admin :) should install cgiwrap. Then you can run your script as owner, and set permissions on data to 700.
cLive ;-)
PS - I've written a grey hat cgi-script that acts as a simple 'explorer' for the machine you're on. On install, you can browse directories/files that are world readable on the server you're on. It wouldn't take much to turn it into an editor for all files that are world writable as well :)
Basically, if you're not the only user on the server, assume the data will be read if permissions are 777. If this is a problem, get cgiwrap up and running :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl/CGI Security Question
by Perlmage (Acolyte) on Mar 30, 2001 at 11:30 UTC | |
by cLive ;-) (Prior) on Mar 30, 2001 at 16:10 UTC | |
by tilly (Archbishop) on Mar 30, 2001 at 22:14 UTC | |
by cLive ;-) (Prior) on Mar 31, 2001 at 06:29 UTC |