in reply to Re: Perl/CGI Security Question
in thread Perl/CGI Security Question
Erm... unless the data needs to be executable for some reason, plain files can (and probably should be) at most mode 666. Mode 777 (world readable, writable, executable) would not only let anyone modify the data, but may let anyone execute any program as the webserver user, depending on how the server's configured. It's very rare that a file will need to be mode 777, IME.
Realistically, you could probably get away with mode 644 if you chowned the file to the user the webserver runs as.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Perl/CGI Security Question
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 |