I note there are already some questions regarding how to license-protect commercial java apps, listed below, and whilst I concur with the general consensus that all such protection will inevitably be beaten by determined-enough pirates, I am still minded that some protection is better than none so long as it does not cause legitimate users irritation.
Best Practice: License enforcement for Java Desktop application
How do I copy-protect my Java application?
How to protect my application against piracy
My question relates to the viability of a very specific solution to licensing additional content. I am considering the model of releasing a free version which is fully useable (no nonsense like limiting saves or watermarking generated content) and licensing additional premium content.
A mechanism I am considering is that the premium content would be packaged in a separate (small) jar which would be (re)-downloaded each time the app was started via https, and kept in memory only. Thus an internet connection would be required to start the app with premium content enabled, reverting to base functionality if not connected or if authentication fails.
This question is not about the user authentication process for loading the premium classes (could be anything), but rather how secure (i.e. piracy-proof) the idea of bundling the restricted classes as a network resource is - or what might be done to make it more piracy-proof.
Thanks