Firebird SQL User Management with 2.5 and up

megaevgen

Турист
Получить Select-запросом всех пользователей сервера в 2.5 нельзя. Только через API (для Delphi например через TIBSecurityService).
 

zgembo

Турист
Have you tried Firebird 3.0? I think I read few days ago that you can use SQL to do what you want...
 

ofisoft

Турист
how to protect Firebird database from being copied to another machine running Firebird with known sysdba password?
 

PEAKTOP

Местный
FirebirdSQL has client-server architecture. If You have an access to database file, You have access to all data.

So, my advice to You is: You should to stop wasting time on nonsense actions.


--------------
There is an dirty hack:

1) create user "MY_INTERNAL_USER".
2) grant all rights in the database to user "MY_INTERNAL_USER"
3) login to database with user "MY_INTERNAL_USER"
4) create role "SYSDBA" in the database.
5) revoke all rights from role "SYSDBA"

After that, You can to connect with "SYSDBA" to database. But You cannot to see any object (table/view/procedure/etc..).

when You are installing Your software to customer, You should to create user "MY_INTERNAL_USER" programatically when installing process is in progress.
Because Firebird(2.5 and lower) does not to store users in database. It stores users in his own users-database "SECURITYXX.FDB".

----------
This dirty hack cannot to stop Firebird-DBA to connect to Your data.
But it can to stop Script kiddie. =)
 

kouvaev

Турист
anyone tried firebird database on android?
На самом устройстве запускать сервер проблематично - не справитесь. Но есть нативный клиент от Firebird 3 на Java для доступа к уделенному серверу (можно и 2.5). Мне через месяц сдавать проект - доступ к базе с планшета на Android. Отпишусь по окончании
 
Top