How do I read/write a file from the implementation class of the RMI Server so that it does not give the AccessControlException?

Edward Harned

This is the security feature of Java.  Use a policy file and specify the location on the command line for the Server: -Djava.security.policy=file:/path_to_policy_file

See the security feature in the SDK documentation.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.