From: | Kurt Buff <kurt(dot)buff(at)gmail(dot)com> |
---|---|
To: | Mario Puntin <mariomop(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Disallow access from psql, or allow access only from specific client app |
Date: | 2011-07-24 21:46:14 |
Message-ID: | CADy1Ce7KYh6Mj6YhXYZJDz=mSyucpSsZSt6YAYdUMS-7yOaATw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Jul 24, 2011 at 14:36, Mario Puntin <mariomop(at)gmail(dot)com> wrote:
>
> Hi everybody:
> I searched the web trying to find an answer to this, but found none. I have
> a postgresql server and a database, and I granted access to some users.
> However I want them to access the data only through some specific client
> application. I do not want them to have access through psql or some other
> kind of client app. But, as I created them a user/pass they could use them.
> What would you do?
> Thanks in advance.
Make a web front end, and present them with only the queries you want
them to have, via a dropdown list and a set of fields for which you
sanitize the input.
Alternatively, build a GUI app that does the same thing, but if your
users are sophisticated and/or malicious you'll also have to build the
GUI with some sort of application authentication and encryption.
Kurt
From | Date | Subject | |
---|---|---|---|
Next Message | Lonni J Friedman | 2011-07-24 21:48:31 | Re: Disallow access from psql, or allow access only from specific client app |
Previous Message | Mario Puntin | 2011-07-24 21:36:12 | Disallow access from psql, or allow access only from specific client app |