Manipulating an applet is as easy as entering
javascript:document.getElementsByTagName("applet")[0].publicMethod();
into the address bar. How can I protect my applet from such manipulation?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not possible to implement security on the client side. You can make things more difficult by obfuscating your code, but obfuscation will only stop casual users from tampering. A determined and knowledgable user will be able to reverse engineer the applet even if it is obfuscated. No matter what you do, there will always be someone smart enough to figure out a way around it.
If security is important, do it on the server.