Re: javascript and postgres - Mailing list pgsql-general

From 野村
Subject Re: javascript and postgres
Date
Msg-id 20090224190228.F6B1.NOMURA@ir-alt.co.jp
Whole thread Raw
In response to Re: javascript and postgres  (John R Pierce <pierce@hogranch.com>)
Responses Re: javascript and postgres
List pgsql-general
thanks for replies.

Craig Ringer wrote:
>This is a really, really, REALLY bad idea.
I agree.

John R Pierce wrote:
> 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.
Web pages have username and password with basic, digest or ldap
authorization. So if I createuser with same user and password, and if
there is md5 or something to encode password, I wonder javascript
connects to postgres securely.

As John said, I meant client side Javascript.

regards


pgsql-general by date:

Previous
From: Michael Akinde
Date:
Subject: Re: Large object loading stalls
Next
From: "Albe Laurenz"
Date:
Subject: Re: restore single table