Re: javascript and postgres - Mailing list pgsql-general

From John R Pierce
Subject Re: javascript and postgres
Date
Msg-id 49A399A3.8050802@hogranch.com
Whole thread Raw
In response to javascript and postgres  (野村 <nomura@ir-alt.co.jp>)
Responses Re: javascript and postgres
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: javascript and postgres
Next
From: Scott Marlowe
Date:
Subject: Re: javascript and postgres