Is this a bad thing to do? (Unix permissions)
| From: | Gwydion Elderwyn | Date: | Thu, 17 Oct 2002 09:23:26 +0000 |
| Subject: | Is this a bad thing to do? (Unix permissions) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-89628@lists.php.net to get a copy of this message | ||
As part of my new site I have created a php-driven guestbook. The guestbook
entries are stored in a file called guestbook.txt.
I found that in order to get the script to write to the file, I had to set
the directory permissions for the guestbook directory and the guestbook.txt
file to -rw-rw-rw- ... is that a bad thing to do? Does it expose me to
any hacking problems? If so, what should I have done?
Bear in mind I'm using a 3rd-party host and I work in Windows, so please
don't blind me with science ;)
Thanks,
Gwydion