• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this policy file correct?

 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically I want to grant all possible security permission to a directory and all files and subdirectories it contains....
the directory im talking about is "C:\Documents and Settings\David\My Documents\Java\"



Could someone let me know if this is correct?
It would be very appreciated,
cheers
 
Joe Ess
Bartender
Posts: 9314
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David, please refrain from posting the same topic in multiple forums or posting the same question more than once in the same forum. We're all volunteers here, answering questions in our spare time. By posting the same question more than once you make more work for the bartenders who then have less time to answer other people's questions.
If you aren't getting the answer as fast as you wish, you should probably start on your own research. A good place to start is the Java Tutorial. It covers a great deal of the API, including controlling applet behavior with a policy file. Work through the example. Notice that when you set up a policy file for an applet, the code base is a URL, not a directory on the local file system.
 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about that, I won't do it again.
Thanks for the links Joe
 
David Llewellyn
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Notice that when you set up a policy file for an applet, the code base is a URL, not a directory on the local file system


I got it working, actually a directory on the local file system works fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic