• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet security restrictions

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Going through mock questions there are many on the security restrictions in applets. The questions will state the client needs to read/write files on the local drive or make network connections to addresses other than where the applet originated from and then ask could an applet do this? In some cases the answer is yes and in some cases no. Although most browser’s default settings will not allow applets to do these things, you can configure browsers to allow applets (both signed and unsigned) to do almost anything. (Indeed I was surprised to find that in IE I could change the security settings to allow unsigned applets to read/write/delete files and open connections to other network addresses). Therefore which is the right answer? Does it depend on how the question is worded? For instance, if it is phrased as ‘is this possible’ would you answer yes and if it was worded ‘is this suitable’, than would you answer no (it would be very unwise to grant unsigned applets such privileges). Has anybody got any good advice on how to answer these questions? Indeed, I find a lot of mock questions ambiguous, are the ones in the real exam better worded?
Thanks
Martin Sergeant
SCJP SCWCD SCJD
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My advise is - Don't worry . Most of the mock questions are very badly phrased. You seem to know the rules: Default behavior prohibit Applets to read/write local files, open connection not to their host etc.. If states otherwise (special policy) take a closer look, and just decide. I don't remember having any problems in the actual exam.
Good Luck
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic