On 01/18/12 16:06, Dimitry Sibiryakov wrote: > 18.01.2012 12:20, Alex Peshkoff wrote: >> This table is checked every time when >> createDatabase() is called - even if authentication is not related to >> security database. Other suggestions? > Why security plugin cannot decide this? If plugin uses security database - > it can check > the table. Other plugins can use any criteria they like up to complete > forbidding the action.
Currently authentication plugin does not know, is it invoked due to attach or create call. Certainly, everything is in our hands and we can make it know everything we want. But I do not like an idea of making SQL command (GRANT CREATE DATABASE TO SomeUser) dependent upon authentication plugins behavior. And it seems a kind of non- specific action for authentication plugin. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel