• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Confusion on Applet Security

 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pls. confirm.


a)Can an applet (signed or unsigned) make a connection to other machines besides the host if its policy file allows it. Assume it running in a browser and not applet viewer (i.e. code base is not local)

b) Can an applet make write to local files if its policy file allows it. Does it still have to be signed. Assume it running in a browser and not applet viewer. i.e. code base is not local

Is there any exception to signed applets. i.e. irrespective of signing only policy files takes precedence
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by suekar meredilko:
Pls. confirm.

b) Can an applet make write to local files if its policy file allows it. Does it still have to be signed. Assume it running in a browser and not applet viewer. i.e. code base is not local

Is there any exception to signed applets. i.e. irrespective of signing only policy files takes precedence



Applets can write to the local files, if the policy file allows. However, if the policy file requires the applet codesource to be signed, obviously applet should be a signed one.
 
Skool. Stay in. Smartness. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic