How java applet security is different from java security and why exceptions are used in applets? Solution How java applet security is different from java security and why exceptions are used in applets? 1)the most important features of java is its securty model .it has sand box security model.here the thing is it allows untrusted code to be run in a restricted area and prevents from any malicious attacks but coming to the applet security is used to protect users from unknowingly loading of malicious code which is hidden in web page 2)applet security manager can control the execution of other applications and can shuts down the virtual machine and also protect threads from each other. 3)exception are used in applets because if there is an any uncheked errors or any malicious program want to load in through an web browser then the raise of exceptions is done .