Subject Re: [firebird-support] Detecting Database Directory on Server
Author Helen Borrie
At 03:23 PM 17/04/2004 +0200, you wrote:


>Florian Hector schrieb:
>
> > Since version 1.5 of Firebird we have a new feature: Aliases. You
> define an alias on the server,
> > this represents the path to the DB. From the client you only have to
> define the server name and the
> > alias.
>
>Ok, once connected to the database, how can I get the real filename
>behind an alias?

You can't and, for security reasons, you shouldn't try. Errrm, that's
actually part of why we have aliasing...

Think of it the opposite way around (the "contra-desktop" way). Use
aliases in your applications to "soft-code" the locations of the databases
and use aliases.conf to link the soft path with the hard path. With
TCP/IP, it allows platform interoperability - your client apps don't have
to care what platform the server is running on.

/hb




>Elmar
>
>
>
>
>Yahoo! Groups Links
>
>
>
>