Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2013

    Unanswered: Encrypted Database connection using thin JDBC Driver

    Hi Folks,

    I am trying to connect to a Oracle DB using a thin JDBC Driver in a client(a Java Application)

    i added below code to my java DB connection program

    int level = AnoServices.REQUIRED;

    Properties props = new Properties();

    props.put("", Service.getLevelString(level));

    props.put("", "(RC4_256,RC4_56,RC4_128,RC4_40,3DES168,3DES112)") ;

    props.put("",Serv ice.getLevelString(level));

    props.put(" ", "(MD5)");

    props.put( "user", "user" );

    props.put( "password", "password" );

    Connection conn = DriverManager.getConnection("jdbcracle:thin:@HOSTNAME:PORT/DB", props);

    Using this i am able to connect to DB but when the security tester analyze the network traffic he can see the connection string in plain text.

    But the queries going to server and the result coming from server are in encrypted form.

    Can anyone plz suggest wat can i do into it, do i need to add few more properties in props?

    Do i need to make some configuration in server side as well? Currently in server side all configuration is default ( i.e. ACCEPTED)

    Plz help......

  2. #2
    Join Date
    Jun 2003
    West Palm Beach, FL


    Perhaps you need to setup an ssh connection.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts