Authenticating from a web service call

Поиск
Список
Период
Сортировка
От Bryan Montgomery
Тема Authenticating from a web service call
Дата
Msg-id CAPTJ3=e0Vq_kRUtxe9Jqot4hbwjGoJnSbtKXwq0uvZhqmVOo=Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Authenticating from a web service call  (Raymond O'Donnell <rod@iol.ie>)
Re: Authenticating from a web service call  (Chris Travers <chris.travers@gmail.com>)
Список pgsql-general
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.

So, is it possible for clients to encrypt their password and pass that through the web service to the database? I was looking at the way postgres stores the users passwords but first of all I'm not sure if that is something the client could do. Then, if they could, how to go about connecting as a system user and verifying that the userid and password provided by the client are correct.

I could just provide another table with an encrypted password using a specified encryption process that the client can replicate and provide through the web service.

Hopefully this makes sense :)

Bryan.

В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Bex
Дата:
Сообщение: Re: Zero-length character breaking query?
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Authenticating from a web service call