File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Compiled class password issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Compiled class password issue" Watch "Compiled class password issue" New topic
Author

Compiled class password issue

Dan Eichler
Greenhorn

Joined: Dec 01, 2011
Posts: 6
Working on a project today I found that I could grep my password and see it with in compiled classes using VI. I'm sure other editors will show a string as well. Is there anyway to prevent this?

Dan
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3605
    
  14

Yeah. Don't hard code passwords. Or if you have to, encrypt them first.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Compiled class password issue
 
Similar Threads
Annonymous Inner class problem
ClassPath problem
not able to read the mails
user authentication
unable to check user login using servlet+mysql