File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Android Security Essentials Live Lessons this week in the Android 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: 1167

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.
I agree. Here's the link:
subject: Applet Mock Question - your opinion?
Similar Threads
Is it possible to run *.bat files in an Applet?
Launch a JAR file stored on the client PC via JSP
socket to applet inside a browser ?
Security mock qs
two sockets communication in multi-thread