File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "" Watch "" New topic

Rahul Srivastava-2K3377

Joined: Dec 24, 2000
Posts: 2
Hi All,
I am Rahul Sri2K3377. Sorry friends, I could not reply to my previous threads, as I was out of town and quiet busy.
Subject : How do you specify the permissions to the RMI Server at runtime.
Body :
Otherwise it seems very easy, that, you can create a policy file and specify your permissions and mention it at command line. But, here the problem is a bit different. Sun says that the examiner will not edit a single file. If that is the case, then how do give access to that IP (on which he chooses to run the server). Its okay that you can take the IP of that m/c as arg., but, how do you give that IP supplied at commandline the SocketPermission or FilePermission access before your server runs. If anybody has thought of it, please help me.
I agree. Here's the link:
It's not a secret anymore!