Re: Is this a bad thing to do? (Unix permissions)
| From: | dwalker | Date: | Thu, 17 Oct 2002 20:20:25 +0000 |
| Subject: | Re: Is this a bad thing to do? (Unix permissions) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120399@lists.php.net to get a copy of this message | ||
I would ask about using CRON to back up your file periodically.
-----Original Message-----
From: Marek Kilimajer <kilimajer@webglobe.sk>
To: PHP <php-general@lists.php.net>
Date: Thursday, October 17, 2002 5:17 AM
Subject: Re: [PHP] Is this a bad thing to do? (Unix permissions)
>Yes it does expose you, and you can't do much about it, unless your
>provider has taken some precausions (like safe mode), which it should
>
>Gwydion Elderwyn wrote:
>
>>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
>>
>>
>>
>>
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>