News for hackers. Stuff that matters.
Re:Yes, we’re being bought by Microsoft by spand on Tuesday September 16, 2014 @03:35AM (#8323439)
Of course you can deny it access to JNI [1]. The Java platform has had this built in since forever. This is how applets work. Aside from sandbox exploits classes in Java can be locked down so much that they can pretty much only allocate memory and burn cycles.

[1] http://docs.oracle.com/javase/7/docs/api/java/lang/SecurityM...

Re:Yes, we’re being bought by Microsoft by kllrnohj on Wednesday September 17, 2014 @12:47AM (#8328656)
Java Applets? That thing that had exploits like clockwork?

Yeah, that worked great

Regardless did you even bother looking at the documentation of SecurityManager? That would be a disaster to try and support. It can't clamp down per-library, it's all about current thread. Mods run in the same thread, they have to. So now you're suggesting that every. single. call into or out of a mod is guarded manually by updates to a permission manager that you are preventing the mod from modifying via reflection through... magic? Yeah, there's no way in hell that would ever work.