From: | "Andrew Thompson" <andrewthommo(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Acces via applets |
Date: | 2007-04-11 14:00:38 |
Message-ID: | 1176300038.160123.219730@n59g2000hsh.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Apr 11, 3:45 pm, m(dot)(dot)(dot)(at)comcast(dot)net ("Marc") wrote:
> The bottom line question is can an applet served to a client machine other
> than the one the postrgres db resides on read that db?
Certainly. But the applet needs to be signed
by the distributor, and trusted by the end-user.
> Why does an applet served to the same box as the db work, but when served to
> another box not work?
One reason is this..
If unsigned applets could pull resources off
other sites, a lot of developers would be tempted
to use them so they could 'hot link' to resources
on *other* sites, while pretending to deliver the
content from their *own* site.
If the user is prompted to 'trust this code',
it makes it more obvious to the end user that
something beyond a standard applet is happening.
As an aside, this is more of a Java problem,
than one relating to SQL. I do not generally
read this group, so if you wish to pursue the
matter, I suggest taking it up on the
comp.lang.java.help usenet newsgroup.
HTH
Andrew T.
From | Date | Subject | |
---|---|---|---|
Next Message | William Garrison | 2007-04-11 14:12:37 | Re: Do I need serializable for this query? -- Part 2 |
Previous Message | Schwenker, Stephen | 2007-04-11 13:59:56 | Re: 8.2.3 AutoVacuum not running |