News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

external user/group SQL authentication

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

Previous topic - Next topic

0 Members and 1 Guest 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