|
From: Nando D. <na...@de...> - 2003-07-01 06:29:45
|
Mike, thanks for replying. M> You have two DLL's with the same exported names. Somehow you have to tell M> your runtime what connection you want to use, in-process server or remote. M> Or are you (seriously, as can be read from your post) suggesting that the M> local-only (embedded) server should act as mediator for remote connections M> also? Actually, I was taking that for granted. :-) I'm not sure what additional security problems I would have since I already have an IB client installed. I'm not suggesting that it should listen to incoming connections, just that it acts as a pure client when told to do so. M> Perhaps what you need is an extra layer (your work) between Firebird and the M> connection method, so your app can select local server or remote at will? This is alternative 2 in my list. I am using Delphi+IBO (which already does dynamic loading of the client DLL) and I think it wouldn't be too difficult to select a different set of pointers on a per session basis (provided I convice the author that it makes sense, of course!). Alternative 1 looks better to me, though. M> To put remote access in the local server not only creates security holes the M> size of Windows 9x run by idiots clicking on any and every attachment they M> get, it also muddies the waters of where what borders are. Can you elaborate on the first point? As for the second, I don't see it as architecturally dumb as you. To me it looks slick, in fact. I'd dare to propose that fbembed should be able to be used as a client even for a local server (that is, connecting to databases through the local protocol), e.g. a way should be found to specify in the connection string whethere it's an "embedded" connection or one to be forwarded. I think now it considers all local connections embedded. >> Of course I plan to use dialect 1 exclusively, for now. M> How would that be obvious? Personally I use nothing but dialect 3, and I M> don't see a reason to hang on to anything older unless forced to. I am. See the subject line. Ciao -- Nando mailto:na...@de... |