• Post Reply Bookmark Topic Watch Topic
  • New Topic

Request security manager on specific object?

 
Jeramie Hicks
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm writing a Java application that would allow for third-party modules to extend it. I'd like to enforce a requirement that the third-party modules are not able to access the local disk or network - they're only able to call methods from my main application API. Is that possible?

Note my main application needs to access the local disk and network, just not the extension modules. I don't want somebody sneaking in something they shouldn't in an extension module.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!