Re: Database Security

From: "Ben Trewern" <ben(dot)trewern(at)mowlem(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database Security
Date: 2007-05-24 15:29:39
Message-ID: f34b04$29ok$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Look at changing your pg_hba.conf file

If you have a line in the file like:
host all all 127.0.0.1/32 trust
change it to:
host all all 127.0.0.1/32 md5

then run:
pg_ctl reload

should get you whare you want to be.

Ben

"Danilo Freitas da Costa" <cedes11(at)edza(dot)com(dot)br> wrote in message
news:4654A499(dot)4090008(at)edza(dot)com(dot)br(dot)(dot)(dot)
> Hi all!!!
>
> I'm using Postgres at company I work for few time.
> I already tried many ways to create a security for my database but not
> sucessfull.
> The postgres was installed with default configuration and I had definied
> "postgres" as root user.
> However, someone else user I create have full access on all databases in
> my server, with some limitations.
> How can I configure access level to a database? How can I force every user
> type your password to access the database?
>
> Thanks,
> Danilo
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Staubo 2007-05-24 15:30:59 Re: why postgresql over other RDBMS
Previous Message Guy Rouillier 2007-05-24 15:15:56 Re: the future of pljava development