forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: RS232 on March 08, 2004, 12:59:17 pm

Title: external user/group SQL authentication
Post by: RS232 on March 08, 2004, 12:59:17 pm
Hello,
I'm running coppermine on a system having already users and groups on a SQL database, which authenticate access to a FTP service (but could be whatever other sql based authentication service).
I was just wondering how easy would be to create a "flexible" user authentication. I'll better explain

Why don't create a couple of config file lines where to specify
- the IPport socket of the database server
- the database name where I've got the users/groups
- the column name for the users
- the column name for the password (with the option for clean or encrypted password)
- the column name for the groups.

In this way I could use existing user/group accounts to automatically interact with coppermine.


Thanks a lot
RS232
Title: external user/group SQL authentication
Post by: Joachim Müller on March 08, 2004, 07:13:09 pm
that's more or less the way the bridge files work. Just have a look into one of them and modify it to your needs.

GauGau