forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Ruby_JRubySecurity
headius edited this page Jan 6, 2011
·
3 revisions
A new Implentation to replace Safe/Taint. Since Safe and Taint do not work and provides a false sense of security. There are two options using a Sandbox type environment or a permission based protocol. The Sandbox has been around since Java 1.0 and was found to be good only at a macro level. For finer grain control the Permission class and AccessControl Class was introduced in Java 1.2.
Having a Permission based security implementation would be ideal.
Requirements
- it must be something that can be implemented in MRI/KRI, possibly
- it must not introduce overhead back into the system like taint/safe
- Security should be based on additon of rights instead of the removal of them.
- Fine Grain control should be allowed for distrubted programming. for example DRb
- Keep the current Implementation of Safe and Taint
- A sandbox based on the same principles as the Java Sandbox.
- Use the a Permission based achitecture such as Java 1.2 and later.