This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Applet Mock Question - your opinion?" Watch "Applet Mock Question - your opinion?" New topic

Applet Mock Question - your opinion?

Dom Miller

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?

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1183

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.

-- 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.
wood burning stoves
subject: Applet Mock Question - your opinion?
It's not a secret anymore!