http://qs321.pair.com?node_id=204799


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.conf
to 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)