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

Constructors, how do I use constructors in java and how do I apply them

how do I use constructors in java and how do I apply them

What will be the output of given program, What will be the output of this p...

What will be the output of this programme? Write comments where you find "//" symbol in the following code? function doSomething() { // 1 setTimeout('doSomething()',10000

Explain different advice types in spring, 1) Around : org.aopalliance.inter...

1) Around : org.aopalliance.intercept.MethodInterceptor 2) Before : org.springframework.aop.BeforeAdvice 3)  After : org.springframework.aop.AfterReturningAdvice 4) Throws

Advantages offered by soa, Advantages offered by SOA Splits down the s...

Advantages offered by SOA Splits down the silos of data, functionalities, and applications into enterprise services. Adapts an application to changing business requirements

Java application for create-read-update in table, You are required to imple...

You are required to implement a Java application that allows a user to create, read, update and delete data in a table in a MySQL database. Your program must use a Java class that

Create an applet for grid layout, Take the Student Choice GUI you created i...

Take the Student Choice GUI you created in Assignment and convert it to an applet.  Because standalone GUI applications and applets are so similar, a lot of the code should be reus

What is bullseye explain with an example, What is Bullseye explain with an ...

What is Bullseye explain with an example? This is a easy applet that draws a series of filled, concentric circles alternating red and white, instead a bullseye. import java.ap

What does it mean that a method or field is static, What does it mean that ...

What does it mean that a method or field is "static"? Static variables and methods are instantiated only once per class. In other words they are class variables, not example va

Javascript, You can declare a variable by the var statement such as: var...

You can declare a variable by the var statement such as: var strname = some value You can also declare a variable with simply assigning a value to the variable. Although, 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