Re: Is this a bad thing to do? (Unix permissions)
| From: | Marco Tabini | Date: | Thu, 17 Oct 2002 20:32:46 +0000 |
| Subject: | Re: Is this a bad thing to do? (Unix permissions) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120401@lists.php.net to get a copy of this message | ||
I am unsure as to how your provider is set up, but you can configure
.htaccess so that that particular file is accessible through the
filesystem but not through the web server. This way, you should be
safer.
On Thu, 2002-10-17 at 16:20, dwalker wrote:
> 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
> >
> >
> >
>
> ----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php