Re: javascript and postgres

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: javascript and postgres
Дата
Msg-id 49A399A3.8050802@hogranch.com
обсуждение исходный текст
Ответ на javascript and postgres  (野村 <nomura@ir-alt.co.jp>)
Ответы Re: javascript and postgres  (野村 <nomura@ir-alt.co.jp>)
Список pgsql-general
野村 wrote:
> Hello all.
>
> My javascript connects with postgres using php.
> php responds with XML for my select request.
> I wonder is there any way to access to postgres directly?
>

if you mean client side Javascript running on the end users web browser,
no, it should NOT be allowed to connect to a database server directly.
that would be a big security exposure, as well as probably trigger all
kind of security alerts on the webbrowser side.





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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: javascript and postgres
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: javascript and postgres