external user/group SQL authentication external user/group SQL authentication
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

external user/group SQL authentication

Started by RS232, March 08, 2004, 12:59:17 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

RS232

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

Joachim Müller

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