Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: external user/group SQL authentication  (Read 2980 times)

0 Members and 1 Guest are viewing this topic.

RS232

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 37
external user/group SQL authentication
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
external user/group SQL authentication
« Reply #1 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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.