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

Object and Instance, What is the difference between instance and object of ...

What is the difference between instance and object of a class? Few says both are same, then why java kept both the words for same thing?

What is alternate text, What is Alternate Text ? The APPLET element ca...

What is Alternate Text ? The APPLET element can have an ALT attribute. An ALT attribute is used through a browser which understands the APPLET tag but for some purpose cannot

Program to calculates the number of unique shapes, 1. Write the code for th...

1. Write the code for the method that calculates the number of unique shapes for a binary search tree with n nodes. Use the formula  where b n is the number of possible sh

Uses of fileinputstream and fileoutputstream, Java Programming 1. Write...

Java Programming 1. Write a program in Java to find the highest of any five numbers. How do you compile and execute this Java program? 2. Write a program to explain the Exce

Recursive method to print all permutations of a string, Objectives _ Cre...

Objectives _ Creating and compiling a simple program _ Designing classes _ Use of recursive algorithms _ Learn basic combinatorics   Task: string permutation Writ

Name conflicts when importing packages, Name Conflicts when importing packa...

Name Conflicts when importing packages It is possible which you will try to import a package which contains classes in which have the similar name as a class in your own source

Implement the list calss, Your next task is to implement the MovieList clas...

Your next task is to implement the MovieList class that manages the details for a list of DVD Movies read from the specified data file. The constructor will include a parameter tha

What is the actionform, ActionForm is javabean which shows the form inputs ...

ActionForm is javabean which shows the form inputs containing the request parameters from the View referencing the Action bean.

Program to develop a multimedia simulation , Normal 0 false f...

Normal 0 false false false EN-IN X-NONE X-NONE

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