3 ms·
Under this model, how do you store user (database) credentials?
by krallin 13y ago
Under this model, how do you store user (database) credentials?
- einhverfr 13y agoThe application logs into the db with the credentials the user supplies, so the problem is not our problem anymore. This means, btw, that you can hook up LedgerSMB to use LDAP Auth simply by changing PostgreSQL's LDAP settings. Here's an example howto, using LDAP via Samba (I would prefer Kerberos, but this demonstrates what people can do with such a model): http://cocnm.computerisms.ca/index.php/Install_Ledgersmb http://cocnm.computerisms.ca/index.php/Install_Ledgersmb Now, again, this is great for an internal business tool. It may not be what you want for a high-scaling public web app. We use a different model for customer portals (with security again encapsulated in the db, but through a different way). It's worth noting btw that PostgreSQL allows you to specify auth method by connecting host and requesting user/database, so you have a high degree of control over what sorts of connections can be enabled or disabled in such an environment in the db backend.