Re: Re: PHP file permission
| From: | Scott Fletcher | Date: | Mon, 15 Nov 2004 20:26:56 +0000 |
| Subject: | Re: Re: PHP file permission | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202087@lists.php.net to get a copy of this message | ||
Rule of thumb. set the file permission to 644 for all files execpt the
directory, the directory folder would be 755. Most executable files can
safely be set to 644 but if your machine or web browser can't run the file
then change permission for that file from 644 to 555. Why 644 in the first
place, it is to protect the end user from something like virus, spyware,
etc...
Scott
"Jerry Swanson" <pmysql@gmail.com> wrote in message
news:c8099da304111409266e48c985@mail.gmail.com...
> regular php page, some mysql queries and print html on the screen.
>
>
>
> On Sun, 14 Nov 2004 18:19:28 +0100, M. Sokolewicz <tularis@php.net> wrote:
> > depends on what you need it for
> >
> >
> >
> > Jerry Swanson wrote:
> >
> > > What is the optimal PHP file permission?
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >