Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applets to Local File system(Urgent)

 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can an Applets have access to the local file system?
Thanks,
Angela
 
Raja Islam
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i think you can not acces local file system if your applet is not sign applet and running from browser but if u are running from applet viewer u can acces file system.
Am i right???
 
Alex Belt
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Signed applets can access the local file system, but unsigned ones cannot. And to make matters worse, IE requires a signed .cab file while Netscape needs a signed .jar file. And to further complicate matters, the two require certificates in different formats for signing, and the process for signing each one is quite different. To sign a .cab file, the easiest thing to do is download Microsoft's Java SDK and sign it with that, the process is in the help documentation. The process for signing a jar file can be found in one of Sun's Java tutorials.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Daniel Griscom posted an article called Code Signing for Java Applets on his site that you may find useful.
Good Luck.
 
kishore kasina
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An applet can access local system resources ,if we grant permission to your applet in java.policy file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic