RFC - multi database/application user authentification

From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: RFC - multi database/application user authentification
Date: 2006-05-04 10:01:16
Message-ID: 200605041101.17087.gary.stainburn@ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I have two separate database applications running, one for the initial
Pre-Delivery preparation of new vehicles, and one for the final taxing and
delivery to customers.

These two systems were developed independently but are used by the same
people. Each of these databases has a user table, used for initial
authentication, and also for logging purposes, i.e. who did what action and
when. Each user table has as it's primary key an int4, but these don't match
between the two systems.

I am about to develop a new system to encompass the whole order to delivery
process which will mean the creation of a third system with a third database,
user table and authentication process.

What is the best way to develop an authentication method where one
user-id/password system can be used by three separate databases?

Is it possible to get postgresql to do this cross-database access or will I
have to handle it in the PHP code?
--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Rodrigo Sakai 2006-05-04 15:11:27 backup problem
Previous Message Manlio Perillo 2006-05-04 07:29:47 Re: audit table containing Select statements submitted