I’m working on a small project and is considering moving some code from Flash to a signed Java Applet. Some security measures I’ve dug up are:
- Checking the getDocumentBase() to prevent jar files from being hosted elsewere.
- and using myObject.class.getProtectionDomain().getCodeSource().getLocation() to verify url.
But I guess these are still useless when an iframe is used?
Are there any additional security measures I can make to make the applet safer to use?