Subject | Problem with database restore |
---|---|
Author | Bogusław Brandys |
Post date | 2003-05-11T10:05:43Z |
Hello,
Could somebody tell me what I', doing wong with database restore?
I created test database (about 23 MB in size) as SYSDBA, named xport.fdb
.Then that I created user BODZIO with only SELECT privilege on ONE table in
database.Then I backup database as SYSDBA to xport.fbk and restored again to
xport.fdb (old file previously was deleted).
Now I was able to connect to service manager (while database is not used be
anybody) as BODZIO user, and restore from backup over existing database
(using API isc_action_svc_restore with isc_spb_res_create ONLY !) without
error !.
Is this a bug or I'm doing somenthing strange. Does it maen that anybody
could overwrite my database with other database only having some access to
my database ?
I'm confused. ;-(
P.S. I use Firebird 1.5 RC1 on Windows XP Home, using Delphi 5 Standard and
pure Firebird API (tested using fbclient.dll only, not fbembed.dll)
Boguslaw
Could somebody tell me what I', doing wong with database restore?
I created test database (about 23 MB in size) as SYSDBA, named xport.fdb
.Then that I created user BODZIO with only SELECT privilege on ONE table in
database.Then I backup database as SYSDBA to xport.fbk and restored again to
xport.fdb (old file previously was deleted).
Now I was able to connect to service manager (while database is not used be
anybody) as BODZIO user, and restore from backup over existing database
(using API isc_action_svc_restore with isc_spb_res_create ONLY !) without
error !.
Is this a bug or I'm doing somenthing strange. Does it maen that anybody
could overwrite my database with other database only having some access to
my database ?
I'm confused. ;-(
P.S. I use Firebird 1.5 RC1 on Windows XP Home, using Delphi 5 Standard and
pure Firebird API (tested using fbclient.dll only, not fbembed.dll)
Boguslaw