I have a Swing application which is using oracle database. Whoever buys my application will be given a license which contains an expiration date. My application checks the current date against the expiration date to allow user to use it.
Problem is that the buyers can freely deploy my application on their machine with their own database. So, they can just change the system date to bypass my expiration check. If the source of my "current date" is from internet, I loose one ability that allows my application to work offline.
Do you guys know how to prevent it that still keeps my application to work offline?