Right now my config looks something like this:

Development.config

  <DatabaseConnection
        name="EmpDb"
        sqlmapconfigpath="Emp.SqlMap.config"
        assembly="Emp.Domain"
  >
        <DatasourceProperty name="provider" value="sqlServer2.0"/>
        <DatasourceProperty name="name" value="EmpDb"/>
        <DatasourceProperty name="server" value="TRIO" />
        <DatasourceProperty name="initialCatalog" value="Company" />
        <DatasourceProperty name="username" value="Prince" />
        <DatasourceProperty name="password" value="persia123" />
        <DatasourceProperty name="timeout" value="600" />
        <DatasourceProperty name="caching" value="True" />
  </DatabaseConnection>

This works fine but only the problem is the username and password is hard
coded. Anyone who is able to
use the dll, can view username and password using Reflector. So, i was
wondering if there was a way where my application (which uses dll which
contains this connection string), can pass username and password dynamically
and retrieve the information?


-- 
View this message in context: 
http://old.nabble.com/Dynamic-Username-and-password-tp26733588p26733588.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-cs-h...@ibatis.apache.org

Reply via email to