Im looking for a mechanism that enables me to hide the password that we write in the program to connect to the database. For eg:-
conn = DriverManager.getConnection ("jdbc:oracle:thin:@fe64700:1521:-------","------------", "-------------");
above we give SID, userid and password, I somehow want to secure them, that is I dont want others who come accross my code to see these passwords. I dont know much about security, but I am looking for simpler solutions that doesnt make my prg complicated.
So any ideas, examples, code-snippets and contribution will be greatly appreciatted.