Avoiding hardcoding of sensetive information in my java program
I am connecting to a mail server using JavaMail. For doing this, I need to hard code a username, password and a server IP address. I want to know of a way how can I avoid hardcoding this sensetive information. Prompting the user to enter these details maynot be the solution as I am scheduling the application to run every day at a specified time. So somehow, the application needs to connect to the mail server so that it can perform its specified function. Any ideas?
Thanks and Regards,
ProStor Systems, Boulder, CO 80301