Originally posted by Ulf Dittmer:
Tricky. If the properties file on the client machine is seen as an attack target, so must be the application executable itself. That means the attacker can get hold of the class files, decompile them, and circumvent all (or most) security measures it implements.
Short of the user entering the password I see no secure solution (and making the user remember a password increases the chances of it being written down, decreasing security).
Sorry of not being more helpful, but this requirement doesn't seem to make much sense in terms of increased security.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton