Hi , what is the difference between the Security Manager and POlicy file, ??? Is there a relation between the two , i.e when we specify the Secirity MAnager, does it use the policy file . please explain this , as i am stuck :roll:
When you have a security manager, Permissions need to be granted to the users. THe policy file grants these Permissions. You can also give Permissions in code, but policy files are more flexible, as each user can have their own. Now in the case of the assignment, we have found it easier to not include the RMISecurityManager and policy files. Since our implementation of RMI does not use Dynamic Downloading of stubs. Mark