Re: Securing the deployment folders (no access for foreigners)

Sam Hart <[email protected]> Thu, 25 Nov 2004 08:42:19 +0000
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Robert wrote:

> On a deployment installation, I would like to secure the EOModeler
> file, because it contains a lot of knowledge I don't like to make
> available to others. The deployment installation is on the customers
> Mac, so the root user (at least) has access to the deployment folders.
> Any idea how to protect this folders?

if this is a Mac we are talking about then we are really talking 
permissions[1].
You want to read `man chmod` and `man chown`, set the owner and group 
to that of
the user that will launch your WO applications. If you are using 
monitor to launch
then set it to the same user ( looking at a Mac installation, the 
default is root,
this could probably be changed depending on the capabilities of your 
application. )

You will want to revoke access to this file to anyone ( or group ) but 
root.


S a m

[1] We could protect it in code that would survive decompilation, but 
this is overkill

-------------------------------------------------------

Drawing on my fine command of language, I said nothing.