I am building a web application with java and using JDBC driver
please tell me if i wrong, i dont think using this block of code is secured how should i make it secured without using "HARD CODED" password
Class.forName("org.postgresql.Driver");
Connection connection = null;
connection = DriverManager.getConnection(
"jdbc:oracle:thin:@localhost:1521:mkyong","username","password");
connection.close();
taken from: http://ift.tt/1KgeFzX
Aucun commentaire:
Enregistrer un commentaire