in reply to Re: Creating and writing a file to a password protected directory
in thread Creating and writing a file to a password protected directory
Good deal. I recommend that you remove the 777 permissions
from that directory and instead chown the
directory to what ever user the web server runs as. I
assume you are using Apache, correct? Use grep or egrep for
'User' on httpd.conf:
egrep ^User /path/to/conf/httpd.confto find out which user. Then you can chmod the directory to a safer 755.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In Section
Seekers of Perl Wisdom