pgsql/src/interfaces/jdbc/org/postgresql PG_St ...

From: Bruce Momjian - CVS <momjian(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/interfaces/jdbc/org/postgresql PG_St ...
Date: 2001-08-26 01:06:20
Message-ID: 200108260106.f7Q16Kd40002@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: momjian(at)hub(dot)org 01/08/25 21:06:20

Modified files:
src/interfaces/jdbc/org/postgresql: PG_Stream.java

Log message:
>>>>The JDBC driver requires
>>>>
>>>> permission java.net.SocketPermission "host:port", "connect";
>>>>
>>>>in the policy file of the application using the JDBC driver
>>>>in the postgresql.jar file. Since the Socket() call in the
>>>>driver is not protected by AccessController.doPrivileged() this
>>>>permission must also be granted to the entire application.
>>>>
>>>>The attached diff fixes it so that the connect permission can be
>>>>restricted just the the postgresql.jar codeBase if desired.

David Daney

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-08-26 03:46:58 pgsql/src/bin/scripts createuser
Previous Message Bruce Momjian - CVS 2001-08-26 00:55:15 pgsql/src/test/regress resultmap