Skip site navigation (1) Skip section navigation (2)

Re: Regarding access to a user

From: Tomasz Ostrowski <tometzky(at)batory(dot)org(dot)pl>
To: Shashwat_Nigam <Shashwat_Nigam(at)satyam(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Regarding access to a user
Date: 2008-08-21 09:07:03
Message-ID: 48AD3037.6060700@batory.org.pl (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-generalpgsql-sql
On 2008-08-21 10:53, Shashwat_Nigam wrote:

> host    all         all         127.0.0.1/32          md5
> host    HMRI_database   hmri    127.0.0.1/32          md5
> in the above case hmri is user and HMRI_database. But still when user
> is log in as 'hmri' it is able to access all the databases.

Order matters:
host    HMRI_database   hmri    127.0.0.1/32          md5
host    all         all         127.0.0.1/32          md5

Regards
Tometzky
-- 
...although Eating Honey was a very good thing to do, there was a
moment just before you began to eat it which was better than when you
were...
                                                      Winnie the Pooh

In response to

Responses

pgsql-sql by date

Next:From: Shashwat_NigamDate: 2008-08-21 09:12:13
Subject: Re: Regarding access to a user
Previous:From: Shashwat_NigamDate: 2008-08-21 09:05:43
Subject: Re: Regarding access to a user

pgsql-admin by date

Next:From: Shashwat_NigamDate: 2008-08-21 09:12:13
Subject: Re: Regarding access to a user
Previous:From: Shashwat_NigamDate: 2008-08-21 09:05:43
Subject: Re: Regarding access to a user

pgsql-general by date

Next:From: Ow Mun HengDate: 2008-08-21 09:09:38
Subject: Interval Formatting -> Convert to timestamp
Previous:From: Shashwat_NigamDate: 2008-08-21 09:05:43
Subject: Re: Regarding access to a user

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group