As far as i understand, an IsolatedProcess is here to run untrusted code.


But if the IsolatedProcess is basicly a process without any permissions, 
how can one send the untrusted code (lets say a class) to the 
IsolatedProcess?


I mean the IsolatedProcess have no access to the files in the device , to 
the internet, or anything else.

So what is the way to send the untrusted code to the IsolatedProcess?


I am trying to pass Constructors to the IsolatedProcess so he can start 
this untrusted classes safetly, but all the communication between processes 
must be with Serializable objects, and a Constructor is not a Serializable 
object.


Is there a way to dynamically run jar file inside the isolatedprocess? 

I was thinking of loading the jar file from a normal service, and than 
adding it somehow to the classpath of the application plus sending the jar 
as byte array to the isolatedprocess so the isolatedprocess will be able to 
evaluate and use it aswell.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8d0ce195-38ed-4a71-813f-4e9c3e147560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to