From: Gerdus v. Z. <ger...@gm...> - 2017-07-12 10:49:39
|
What about a callback on Connection that returns a Connection Info (ConnectionStringBuilder-like) object. Could also add a connection constructor overload that accepts a Connection Info object. Can then provide all connection data in one place with convenience of not converting from/to a string. On 12 July 2017 at 10:44, Jiří Činčura <ji...@ci...> wrote: > > I think it makes more sense on the connection string. It already contains > > sensitive info (username,password) and needing to provide connection > > related info by another method would be counter intuitive. > > Good point. > > In my thinking I saw two problems, slightly different from what password > does. The key can be binary data and that's difficult to pass in string. > And the key might be stored on some HSM. > > Not that it would rule out connection string completely, it just makes > fit less, IMO. > > -- > Mgr. Jiří Činčura > https://www.tabsoverspaces.com/ > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |