Here is a question that I came across in an interview: What is the difference between a Java applet and a Java Application? - From security point of view. Java Applet runs inside a Browser and a Java application runs standalon. But from security point, what is the difference?
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6035
posted
0
Well, in the old days, i.e. JDK 1.0.3, JDK 1.1, the applet had security restrictions on it, such that it couldn't access the local file system, or open ports to other addresses. Then came signed applet's, which would be given permission to do these things. More recent security managers (although I can't remember when exactly the came about) allowed for fine grained access to different security acess points. --Mark
Murali Koppula
Greenhorn
Joined: May 07, 2002
Posts: 10
posted
0
Mark, Thank you for the reply. I knew Applets have certain restrictions regarding security, but I did not know the details. Anyways, I probably blew up the interview.
Allen Thomas
Greenhorn
Joined: Jul 02, 2002
Posts: 29
posted
0
I had the same question! That question comes up often because several my friends were asked that question.