1

Topic: Wonderful API

hvlad wrote:

you seriously consider the  (type "curve API, designed without
Brain applications ") criticism?

I do not know what there should be a brain to make it:

firebird\output_x64>fbsvcmgr.exe localhost:service_mgr expected_db test user sysdba
password bbb action_db_stats dbname test2
Database "C:\USERS\SD\MY DOCUMENTS\FIREBIRD\OUTPUT_X64\TEST2"
Database header page information:
........
firebird\output_x64>fbsvcmgr.exe localhost:service_mgr expected_db test user sysdba
password bbb action_backup dbname test2 bkp_file aaa
Missing security context for C:\USERS\SD\MY DOCUMENTS\FIREBIRD\OUTPUT_X64\TEST2
-Exiting before completion due to errors

And  yes, it is the same level, as "to make a fool of developers - the bad idea".

2

Re: Wonderful API

Dimitry Sibiryakov;
Well so understand at first that there at you test that test2 and that for whom is security db.
From this that you wrote I see only desire to cheat the reader, hiding from it details.

3

Re: Wonderful API

hvlad wrote:

From this that you wrote I see only desire to cheat the reader, hiding from it details.

Well, if you so see...
Though generally this desire to inform to the reader the marvelous decision to specify basis, for which
There is an authentification, separately, and basis from which there is an operation, separately.
Only the happy coincidence of circumstances does not allow with such architecture  in
One basis as local SYSDBA, and then to receive  any other DB.
To postpone authentification to a call, where the correct basis will be specified to prevent
Such possibility already at architecture level? Not, it would be too simple. Developers
Applications should suffer.

4

Re: Wonderful API

Dimitry Sibiryakov;
Look at history and try to understand, for what and what for entered expected_db.
Also suggest the best method to receive the scrambled connection before authentification.
Such method that all told: yes, this that that is necessary.
Instead of that you like to offer normally...

5

Re: Wonderful API

To an output of triple I said what to mix in one heap enciphering of traffic and
- the bad idea from all points of view, including architectural. To repeat not
I gather.