Create java sandbox based on security policies
Posted
by argos
on Stack Overflow
See other posts from Stack Overflow
or by argos
Published on 2010-05-19T17:06:01Z
Indexed on
2010/05/19
17:10 UTC
Read the original article
Hit count: 288
I need to create environment to run potentially untrusted code. Program allowed to connect to preconfigured address:port and nothing else (even read the system time). I have compiled the class whitelist. I'd searched similar questions, but found only template that based on SecurityManager which AFAIK is deprecated. Can anybody give me a simple sample how to run code in sandbox based on security policies and AccessController?
© Stack Overflow or respective owner