Subject Re: [firebird-support] How do I prevent non-SYSDBA user from seeing DB structure?
Author Anderson Farias
Hi,

>Since some of the clients connect through the Internet, I'd like to prevent hackers from extracting the
> SYSDBA password from my client programs and getting full access to the database.

First of all you should *never* use SYSDBA to connect from your App. Create some other "normal" user to be used by your app when connecting to the database.

To protect your username/password from 'hackers' (or at least to make more difficult to extract it) save it encrypted (inside your exe or with some other file distributed with it) and decrypt it in memory before logging to the DB. Another way is to use an 'exe packer' (I like UPX) that will make very hard to extract any strings from your EXE.

>What does the BLR format mean? From what you wrote I suppose this BLR format can be reverse-engineered so my
>protection mechanism would be useless...

It is "compiled" firebird [SQL] code. AFAIK it's harder to read than plain text, but it's not that difficult (to someone familiar with it)


Good luck,
Anderson Farias


[Non-text portions of this message have been removed]