]> granicus.if.org Git - postgresql/commit
>>>>The JDBC driver requires
authorBruce Momjian <bruce@momjian.us>
Sun, 26 Aug 2001 01:06:20 +0000 (01:06 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 26 Aug 2001 01:06:20 +0000 (01:06 +0000)
commit19a251d0ec8ffb326a8c46a7c66821834dbba8d3
tree6fed5e8574ed6b6b649dfe9847f7d526b8e2fbf6
parent1be615f381479cdcbc58f9a7684efa530705373d
>>>>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
src/interfaces/jdbc/org/postgresql/PG_Stream.java