aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Applet Mock Question - your opinion? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Applet Mock Question - your opinion?" Watch "Applet Mock Question - your opinion?" New topic
Author

Applet Mock Question - your opinion?

Dom Miller
Greenhorn

Joined: Mar 25, 2005
Posts: 9
Hi Guys,

"A malicious hacker has created an applet to cause a denial of service style attack, by sending packets from the client machine to a 'target' machine (different from the host machine). Which of he following statements regarding this are true? (Choose 1)"
a)This will work as expected
b)This cannot be carried out by an applet
c)This will only work if the applet is signed
d)This may work but it depends on the configuration of the users browser.

My answer = c
Real Answer = B.

But I thought an applet could pretty much perform like local code if it had been signed?

Any thoughts?

Thanks,
Dom
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1174
Dom,

You are right.

Even though it is not always clear to which JDK the questions refer, this question mentions a signed applet, which means that we are referring to at least JDK 1.1. In JDK 1.1, C is definitely right.

http://java.sun.com/docs/books/tutorial/security1.2/overview/index.html

-- Dan
[ March 26, 2005: Message edited by: Dan Drillich ]

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
 
 
subject: Applet Mock Question - your opinion?