Describe about applet security, JAVA Programming

Assignment Help:

Describe about Applet Security?

The possibility of surfing the Net, wandering across a random page, playing an applet and catching a virus is a fear in which has scared several uninformed people away from Java. This fear has also driven a lot of the establishment of Java in the direction it's gone. Earlier I discussed several security features of Java involving automatic garbage collection, the elimination of pointer arithmetic and the Java interpreter. These serve the dual reasons of making the language easy for programmers and secure for users. You can surf the web without worrying that a Java applet will format your hard disk or introduce a virus within your system.

In fact both Java applets and applications are much safer in practice than code written within traditional languages. This is since even code from trusted sources is likely to have bugs. Therefore Java programs are much less susceptible to common bugs including memory access than are programs written in traditional languages like C. However the Java runtime environment gives a fairly robust means of trapping bugs before they bring down your system. Most users have many more problems along with bugs than they do with deliberately malicious code. Although users of Java applications aren't protected from out and out malicious code, they are largely protected from programmer errors.

Applets implement additional security restrictions in which protect users from malicious code too. This is accomplished by the java.lang.SecurityManager class. This class is subclassed to gives different security environments within different virtual machines. Regrettably implementing this additional level of protection does somewhat restrict the actions an applet can perform. Let's explore precisely what an applet can and cannot do.


Related Discussions:- Describe about applet security

State about the garbage collection, Explain garbage collection. Java us...

Explain garbage collection. Java uses garbage collection to free the memory. By cleaning those objects which is no longer reference by any of the program. Step involve in clean

Create modeling tickets for a city subway system, For this assignment you'l...

For this assignment you'll create some classes for modeling tickets for a city subway system. The type of system we are modeling has these main features: Stations are grouped in

Illustrate dynamic vs. static class loading?, 1. "Classes are statically lo...

1. "Classes are statically loaded with Java's "new" operator." This would imply that static methods could be executed without the class being loaded. 2. "Unlike the static loa

What is the importance of static variable, What is the importance of static...

What is the importance of static variable? Static variables are class level variables where all objects of the class refer to the similar variable. If one object alters the val

Write a program to explain do while loop in java, Write a program to explai...

Write a program to explain do while loop in Java ? // This is the Hello program in Java class Hello { public static void main (String args[]) { int i = -1; do { if (

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd