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.
In reply to Re: Re: Perl/CGI Security Question
by Perlmage
in thread Perl/CGI Security Question
by Stamp_Guy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |