• Bruce Momjian's avatar
    >>>>The JDBC driver requires · 19a251d0
    Bruce Momjian authored
    >>>>
    >>>> 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
    19a251d0
PG_Stream.java 9.16 KB