News for hackers. Stuff that matters.
Re:OpenJDK Authorization by pfirmst on Tuesday November 19, 2024 @06:51PM (#42189343)
Looking for interested parties to assist maintaining a fork of OpenJDK with authorization. Note this isn't for sandboxing untrusted code but instead only allow loading trusted code and automate generation of principle of least privilege policy files for auditing with user Principal's and Code Signer's.
Re:OpenJDK Authorization by mdaniel on Tuesday November 19, 2024 @09:12PM (#42190229)
Two things:

Are you planning on getting the TCK so your JVM will be trustworthy to run in prod?

Are you going to backport these changes to all the concurrent releases, or do potential consumers have to "ride HEAD" to use your JVM? Based on the number of "we're still on Java 8" comments that always show up in any JVM submission, I'd guess one would want to be mindful of the versions their audience requires otherwise it's basically your own private fork

Re:OpenJDK Authorization by immibis on Tuesday November 19, 2024 @11:11PM (#42190755)
How much does TCK cost again?
Re:OpenJDK Authorization by mdaniel on Wednesday November 20, 2024 @01:46PM (#42196926)
Re:OpenJDK Authorization by mdaniel on Tuesday November 19, 2024 @09:16PM (#42190244)
Since I am not the target audience for this, pardon me if this seems like a silly question, but wouldn't just using a custom ClassLoader or even an Agent get this done, without having to full-on fork the JDK?
Re:OpenJDK Authorization by bzzzt on Wednesday November 20, 2024 @07:53AM (#42193507)
This project looks like it's trying to conserve the old SecurityManager (from the Java Applet/Webstart days) implementation that's been removed from the OpenJDK tree. The motivation is on the website: only a very small number of people still use this, but if you're one of them and have a legacy application that depends on the old behavior you don't want too many changes.
Re:OpenJDK Authorization by pfirmst on Thursday November 21, 2024 @03:13AM (#42202170)
It requires low level hooks and support from within the JVM, using agents is brittle and difficult to secure, the simplest solution is just to fork. I did spend some time investigating these methods before making the decision.

https://github.com/pfirmstone/HighPerformanceSecurity