4

I was wondering how someone would go about adding Capability-based security to Erlang without making it into a new language and preserving maximum backwards compatibility on the application side?

Eric des Courtis
  • 5,135
  • 6
  • 24
  • 37
  • I was thinking parse transforms could be used to remove access to things like `erlang:processes()` as to not compromise the system without breaking system libraries. I was also thinking to make Pids unguessable for example something like `<0.48.202270464972395333011708598926446773344>` instead of `<0.48.0>` where `202270464972395333011708598926446773344` is a large random number. I have no idea if this makes sense to or not from a beam vm internals point of view. – Eric des Courtis May 29 '13 at 13:08

1 Answers1

6

If you really are interested in this you should read the Master's thesis by Gustaf Naeser on Safe Erlang

Jan Henry Nystrom
  • 1,045
  • 5
  • 8