17.11.2015 18:18, Leyne, Sean пишет: >> Theoretical question: must every connection provide a valid key, or first >> connection unlock the database for everyone? > Why should the **connection** provide the key? > > The engine should be able to find/validate the key on its own, when the > database file is _opened_. This would mean that for SS and SC the key would > be validated only once, for Classic on each connection (since each instance > opens the database) > > The connection is simply asking to access the database... >
This depends upon crypt key holder plugin. Even in SS it may be written in a way forcing each connection to provide valid key (this ensures no connections from std tools to database with restricted information). Even in CS it may be written in a way when first connection with valid key opens access for all others (using shared memory). ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel