Re: Simple webuser setup

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: msiner(at)gmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Simple webuser setup
Date: 2006-07-17 15:14:40
Message-ID: 44BBA960.2050308@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

msiner(at)gmail(dot)com wrote:
> There must be something simple that I am missing, but here is my
> problem. I am setting up a standard pg install as a backend to a small
> webapp. I want to create a user "webuser" with only enough privileges
> to query all of the tables in my database. It has not been working for
> me. What is the simplest way to do this? Do I need to start at the
> top and then work down (db->schema->table) or is there any cascading
> effect? I am still pretty new to web development, so is there a
> better/easier way to achieve the same effect?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
You just have to set it at the table level.
You should check out PG Lightning Admin, it has a really nice Grant
Manager that is grid based that makes this sort of thing
very easy to setup.

--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-07-17 15:16:47 Re: pg_restore failes - invalid byte sequence for encoding "UNICODE": 0xa3
Previous Message ofuerst 2006-07-17 14:50:57 Re: pg_restore failes - invalid byte sequence for encoding "UNICODE": 0xa3