Re: Authenticating from a web service call

From: Bryan Montgomery <monty(at)english(dot)net>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Authenticating from a web service call
Date: 2012-03-20 19:16:10
Message-ID: CAPTJ3=d9iWmDmUPprnWmL9pcvsSqMVe61r-t-TpKZ-JzTmb-WA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Interesting idea. However, I think this is ssl between the client and
database. Given the client would be the server hosting the web service I
don't think this would work for the web service client.

On Fri, Mar 16, 2012 at 2:54 PM, Raymond O'Donnell <rod(at)iol(dot)ie> wrote:

> On 16/03/2012 18:39, Bryan Montgomery wrote:
> > Hello,
> > We are looking at implementing a web service that basically makes calls
> > to the database.
> >
> > I have been thinking about ways to secure the web service based on the
> > database.
> >
> > I initially thought about just connecting to the database as the user
> > with parameters passed through the web service - however I don't know
> > how to do that other than clear text passwords.
>
> Postgres supports connections over SSL - will this do the job?
>
> http://www.postgresql.org/docs/9.1/static/ssl-tcp.html
>
> Ray.
>
>
> --
> Raymond O'Donnell :: Galway :: Ireland
> rod(at)iol(dot)ie
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edoardo Panfili 2012-03-20 19:36:18 Re: Is it even possible?
Previous Message Merlin Moncure 2012-03-20 19:07:10 Re: [GENERAL] Altering a table with a rowtype column