• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.net.SocketPermission

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Regards,
Rahul.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic