On Sun, Mar 22, 2009 at 1:10 AM, Matt Jackson <[email protected]> wrote:
> ci = dabo.db.dConnectInfo()
>
> ci.DbType = "MySQL"
>
> ci.Host = "localhost"
>
> ci.User = ""
>
> ci.PlainTextPassword = ""
>
> ci.Database = "DirectoryInfo"
>
> ci.Name = "MainConnect"
>

Here's your problem.  The user and password in the connection
parameters is the User and Password to log into the database.  This is
separate from the Security Manager login.  For my applications that
require a Security Manager, I normally provide a User for that
appilcation in the database that has all access privelages to the
application database only.  That user and the hashed password should
go into the cnxml file.  Then, your Security manager should validate
the User/Password against one stored in a Users table in your
applications db.  You can use the same database for everything in your
application.  Also, PLEASE, for securities sake, make sure that when
you store these users records in your DB table that you hash the
password, then store it.  Makes for good security.

Regards,

Nate

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to