RE: access from java does not work in an applet!

Поиск
Список
Период
Сортировка
От Joe Shevland
Тема RE: access from java does not work in an applet!
Дата
Msg-id C56487636E5CD4119B1E00D0B789098ADA29C2@MEL-EXCH1
обсуждение исходный текст
Ответ на access from java does not work in an applet!  ("B.N.V. Raman" <raman@myself.com>)
Ответы RE: access from java does not work in an applet!
Список pgsql-jdbc
Applets sit in security 'sandbox'... you can only make connections back to
the applet's originating server from the applet, so if your Postgres
database is on the web server it'll be OK (barring firewalls etc.) but if
its on another server the applet context will complain.

Your alternatives are to digitally sign the applet and loosen the security
restrictions, provide a proxying service from your web server to the
database server (or a natd rule), and potentially some other options that my
shrivelled brain can't come up with at the moment ;)

Regards,
Joe


> -----Original Message-----
> From: B.N.V. Raman [mailto:raman@myself.com]
> Sent: Tuesday, 15 May 2001 10:19 PM
> To: Pgsql-Jdbc@Postgresql. Org
> Subject: [JDBC] access from java does not work in an applet!
>
>
> Hello,
>
> Using JDBC, I was making a web access program for my postgres
> database.
> While the same code works in a Java program, when i convert
> it into a Java
> applet, i get a netscape security exception. What do i do?
>
> Thanks,
>
> Raman.
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.250 / Virus Database: 123 - Release Date: 18/04/01
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>

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

Предыдущее
От: "B.N.V. Raman"
Дата:
Сообщение: access from java does not work in an applet!
Следующее
От: "B.N.V. Raman"
Дата:
Сообщение: RE: access from java does not work in an applet!