Subject | Re: [ib-support] Re: Interbase Security |
---|---|
Author | Artur Anjos |
Post date | 2002-04-17T18:55:46Z |
Diego:
A simple way: Create something in the database that your program will check
to see if the database is valid or not. Could be a SP that returns 0 if the
database is in production or 1 if not. [The SP could not be a very good
idea, since your user could be already connected into the database, it's
just to give you an idea].
Artur
A simple way: Create something in the database that your program will check
to see if the database is valid or not. Could be a SP that returns 0 if the
database is in production or 1 if not. [The SP could not be a very good
idea, since your user could be already connected into the database, it's
just to give you an idea].
Artur
----- Original Message -----
From: "Diego Gomez"
Sent: Wednesday, April 17, 2002 2:10 PM
Subject: Re: [ib-support] Re: Interbase Security
> Maybe im asking a confusing question.
>
> Here's an example :
>
> I make two databases, with the same estructure, the same size, the same
users and passwords, everything. And i put different alias to each one of
them. Then i connect an application that i developed in Delphi with one of
the databases. Next, i finish the application, and i try to connect it with
the other Database, just by "Switching" the Aliases. My application doesnt
know wich application is it connected and it works exactly the same. I dont
want this to happen. How can my application notice when it is working with
another Database?
>
> I hope to make myself a little bit clear, because my english is very bad,
im sorry.
>
> Best Regards.
>
> Diego Alejandro Gomez
>