I implemented an applet in java to authenticate users at my website by the usage of MIFARE cards and everything is working good. However I am concerned about the applet's authenticity, in other words, how can I guarantee that is my applet who is communicating with my website ? and is not a script-kiddie that made an applet that simulates my applets behaviours in order to hack into my website.
I am having some difficulties to imagine a way to guarantee my applet authenticity to my website since this applet is developed in Java so code reverse engineering is easy and possible.
best regards,