Subject Re: [Firebird-Java] Re: Problem using service API to run a remote backup
Author Christian Stengel
>
Hi,

> > on the client) on each workplace and invoke it from Java.
> Trouble is, if you use gbak then you can see parameters (eg name and
> password) in your process list (eg on the mac) - not very secure. We

you don't need to. You could set the username and the password using
environment variables:

#! /bin/sh

export ISC_USER=sysdba
export ISC_PASSWORD=masterkey
/Library/Frameworks/Firebird.framework/Resources/bin/isql
127.0.0.1:database

If you set this script 700 you can only execute and read it as root -
no user can see the password or the username - and no user can
execute it.

CU,

Chris


> had this issue under linux so we compiled gbak from source so we could
> provide the parameters by different means than on the command-line...
> so I guess we could do the same with the mac...
>
> Thanks v. much for your suggestions
> Phil
>
>
>



___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de