Tuesday, August 26, 2008

Security Firebird use database with .com

Many ways to secure database. Firebird 1.5 allow to set database with alias. we can set this at file aliases.conf. there is in folder C:\Program Files\Firebird\Firebird_1_5.
we open this file and get this sample alias.
# dummy = c:\data\dummy.fdb

Before we write alias name, please open ms dos prompt copy your database into system operation folder c:\windows\ and than rename .
for example
c:\windows\rename data.gdb Data.com
or
C:\windows\rename data.fdb Data.com

So we have new file data.com with format gdb or fdb, every user will think that this file is not file fdb or gdb .

after that we open C:\Program Files\Firebird\Firebird_1_5\aliases.conf

write in it
data=c:\windows\Data.com

and than save this file

How To connect...?

Databasename : Ip:data
or we can use computer name
Databasename :Computer name:data

Data is name alias from data=c:\windows\Data.com

No comments: