Re: [ADMIN] Authentication Problems

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: "G(dot)Elangovan " <elangog(at)wipinfo(dot)soft(dot)net>
Cc: PostgreSQL General Questions List <pgsql-general(at)postgresql(dot)org>
Subject: Re: [ADMIN] Authentication Problems
Date: 1998-08-01 22:48:30
Message-ID: Pine.LNX.3.96.980801234531.1201B-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-sql

On Fri, 31 Jul 1998, G.Elangovan wrote:

> Please suggest me what are all the way i
> can implement AUTHENTICATION on USER , DATABASE and TABLE.
> As i have seen, to my knowledge i understood we can implement
> Grant and Revoke on table
> But how can we do the same on the DATABASE
> There is a password attribute in pg_shadow
> how can this be used to implement on USER
>
>
> And finally please help to know whether Postgres 6.3.2
> has security on the USER AND DATABASE
>
> HOW CAN I CREATE pg_ident.conf and how can i use it for authentication
> on User/Database/Table

This file exists in your PGDATA directory (the one which has the data
directory holding your databases).

It's the place to restrict which client hosts can access which databases.
The default file contains instructions on how to taylor it to your needs.

As for restricting user accesses to a database, the only way for that
(AFAIK) is with grant. ie: grant priveledges to the users you want to have
access, and revoke permissions to public.

--
Peter T Mount peter(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)net
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gene Selkov, Jr. 1998-08-02 02:06:02 Self-contained installation in a user's directory
Previous Message G.Elangovan 1998-08-01 00:15:17 Authentication Problems

Browse pgsql-general by date

  From Date Subject
Next Message Daniele Orlandi 1998-08-01 23:39:15 Re: [GENERAL] PostgreSQL connect options?
Previous Message Roland Roberts 1998-08-01 21:53:32 Re: [GENERAL] PostgreSQL connect options?

Browse pgsql-sql by date

  From Date Subject
Next Message Sascha Schumann 1998-08-02 15:26:01 int/bit fields
Previous Message Tom Lane 1998-08-01 20:16:28 Re: date versus datetime?