Subject | Delphi app connect to only one fb db |
---|---|
Author | hee_cm18 |
Post date | 2003-05-29T03:14:27Z |
Hi All,
I am working on a Delphi application with Firebird. It will be
distributed to several clients. In my client (Delphi), I have
hardcoded a key and have that key in an application-system table.
Each client will have different key value. Everytime user log-in,
this key will be compare to prevent app connects to other client's fb
db.
This is working fine for normal user. Even if they have other
client's db, they can't connect using the app because key mis-match.
But for "super user", they can twist it by updating other's client
key to its own key using, for example, isql.
What I want to do here is: The application can only connect to its
own db. It cannot use the application to browse data on other
client's db.
TIA.
regards,
cm
I am working on a Delphi application with Firebird. It will be
distributed to several clients. In my client (Delphi), I have
hardcoded a key and have that key in an application-system table.
Each client will have different key value. Everytime user log-in,
this key will be compare to prevent app connects to other client's fb
db.
This is working fine for normal user. Even if they have other
client's db, they can't connect using the app because key mis-match.
But for "super user", they can twist it by updating other's client
key to its own key using, for example, isql.
What I want to do here is: The application can only connect to its
own db. It cannot use the application to browse data on other
client's db.
TIA.
regards,
cm