Re: Securing the deployment folders (no access for foreigners)
Kaj Hejer <[email protected]> Wed, 24 Nov 2004 19:45:12 +0100
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
On 24. nov 2004, at 17.46, Robert Huber@7r 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? > Hi! You might put the jdbc-url, username and passowrd for the database in you javacode and create a connection dict in java instead of storing this info in the eomodel. Still someone can deompile your class and get this info. Another solution might be to store this info in a file in the project and encode this file in some way that you app can decode it. Still it would be possible to get the decode algorithm my decompiling you javacode, but you make it a bit harder to get to. Ofcource some of the other info of your eomodel like what tables you have and so on might be a bit harder to protect. -Kaj :)