I have written an application using JavaFX
with embedded H2 database
and compiled it into native Windows
instructions using Excelsior JET
. Some of the database fields must not be accessed by others. My question is should I encrypt these fields or native code instructions gives enough security?
It might seem irrational to provide application with secret data but I need to do that.
Update: Any suggestions how can I protect them?
Yes it can.
Any software can be reverse engineered if you have a sufficient level of access to the platform on which it is running. A native code database is no different.