Security Manager and Policy Files
I am writing a simple java rmi application, but understand it wont run without a Security Manager installed and a policy file.
I think I have installed the security manger using the following in the main() method of my client application:
However I am unsure how to use a policy file with this.
Please could you advise me how to create a policy file that will work for my application and where to place it in my application so that my application can use it.