Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading the local filing system using Applets

 
Selva Duraisamy
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I am trying to read the local filing system by using Applet.(it is not a web application).
I have included policy file also by giving all the permissions.
grant
{
permission java.security.AllPermission;
};
I am getting security exception.
What I have to do to now?(other than signing that applet?).
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Selva
I'm not that proficient with applets but I'm pretty sure the only way to get access to the client file system is for them (the client) to run it as a 'trusted applet'. And the only way for them to do that is if the applet is signed. I may be wrong though....
anyone...?

------------------
Dave
Sun Certified Programmer for the Java� 2 Platform
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic