java - Which would be the best way of encryption for following scenario? -


i want know best java encryption type can use secure application authentication details. in application have use credentials database , 1 application. putting in 1 properties file.

db_username = abc db_password = password  

if dont want password visible in properties file. cant hardcode in application. command prompt application , run using script runs automatically. available encryption methods can use?

thanks..

you take username , password arguments program, call example:

java -jar yourprogram -user john -pass 1234 

you move security issue os (make sure batch accessible authorised users).

alternatively can pass properties file, place secure location.

see this related post.


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -