[FX.php List] FX Web Server Requirements

John May jmaymailing at pointinspace.com
Sat Jan 24 18:20:05 MST 2009


In a development environment, just adding your files to 
/Library/WebServer/Documents/ in the Finder should result in the proper 
permissions for the web server to access them.

If things get munged, the best security would be to have your files set 
to user: your system user, group: www.  Directories should be 770 
(rwxrwx---), and files 660 (rw-rw----).

	- John


Gjermund Gusland Thorsen wrote:
> Exactly, and first you make it work, then you put on the limits, not 
> starting off on world permissions, is like saying that you want it 
> only to work one way to start off?!? Of course what you want on your 
> initial setup is a dev environment, the important factor is to make
> it work, without too much hazzle.
> 
> ggt
> 
> 2009/1/24 Chris Hansen <chris at iviking.org>:
>> On the whole, I agree with the points made.  That said, I've yet to
>> find a good set of instructions for setting up permissions on that
>> FX folder just to get people started.  If the person is uploading
>> to a multiuser server, most likely the permissions will already be
>> set properly.  In my experience, when a person runs into these
>> problems they tend to be setting things up on their personal
>> development machine (which likely has a default permission set
>> which does NOT have a web server in mind...)  But yes, if you're
>> setting up a server that will actually be connected to the internet
>> (or even an intranet) then you'd better learn something about
>> permissions -- no simple topic.
>> 
>> --Chris
>> 
>> On Jan 24, 2009, at 11:24 AM, John May wrote:
>> 
>>> Agreed - giving world permissions of any type on a server is a
>>> bad idea. In a single-user environment, there might be some
>>> defense, but definitely not in a multi-user situation.
>>> 
>>> - John
>>> 
>>> 
>>> Leo R. Lundgren wrote:
>>>> Chris, I've seen you say that previously as well. But I don't
>>>> understand how you can justify that? Of course it's up to you,
>>>> but I don't see how you can be content about having your files
>>>> readable by anyone? Even if you have just one site on one
>>>> server, there may be a risk in that if some other service than
>>>> the www one is compromised, the attacker can use the
>>>> compromised account to simply read the files they want, if you
>>>> have them o+r. And then they can get into your database as the
>>>> next stop along your line of servers :-) This was just an
>>>> example regarding the "even if, dedicated server". Kind
>>>> regards, Leo 24 jan 2009 kl. 18.51 skrev Chris Hansen:
>>>>> FX.php works with PHP 4 and later.  No special setup really;
>>>>> overly restrictive permissions tends to be one of the more
>>>>> common problems people have (web server processes on any
>>>>> server run under a special user, so I generally give all
>>>>> users read access.)
>>>>> 
>>>>> --Chris
>>>>> 
>>>>> On Jan 23, 2009, at 12:05 PM, Bob Patin wrote:
>>>>> 
>>>>>> I've used PHP 4 for a long time, and now use PHP 5.2.4;
>>>>>> don't know about Windows servers though...
>>>>>> 
>>>>>> Bob Patin Longterm Solutions LLC bob at longtermsolutions.com 
>>>>>> 615-333-6858 http://www.longtermsolutions.com Twitter:
>>>>>> bobpatin iChat/AIM: bobpatin FileMaker 9 Certified
>>>>>> Developer Member of FileMaker Business Alliance & TechNet 
>>>>>> -------------------------- FileMaker hosting and consulting
>>>>>> for all versions of FileMaker PHP • Full email services •
>>>>>> Free DNS hosting • Colocation • Consulting
>>>>>> 
>>>>>> On Jan 23, 2009, at 12:44 PM, Bentech Forums wrote:
>>>>>> 
>>>>>>> I am probably staring right at it but I checked on the 
>>>>>>> http://www.iviking.org/FX.php/ web site and in the FX
>>>>>>> documentation folder but I can not find any mention of
>>>>>>> the FX PHP web server requirements.
>>>>>>> 
>>>>>>> What version of PHP is required and are their any
>>>>>>> additional PHP dependencies that need to be enabled when
>>>>>>> setting up a new Windows IIS web server?
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> 
>>>>>>> Steve
>>>>>>> 
>>> --


-- 

-------------------------------------------------------------------
John May : President                   http://www.pointinspace.com/
Point In Space Internet Solutions             jmay at pointinspace.com

        Professional FileMaker Pro, MySQL, PHP & Lasso Hosting
              * FileMaker Pro 10 Hosting Now Available *



More information about the FX.php_List mailing list