• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is the relationship of sandbox and protect domain?

 
Win Yu
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Protect domain is a new concept of java1.2,what is the relationship of protected domain and sandbox?
 
Alex Zhang
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To my understanding, sandbox is a place with very restricted resource access right for untrusted code to run in. It is an idea introduced in Java 1.0. But to protection domains, it grouped certain resources or classes in the pc to form a domain, if downloaded and untrusted needs to accept the class mentioned in that area, they need to be verified by the policy. If they have not granted the rights they cannot use those resources.
If I have made any mistake, please correct me.
 
Robin Zhang
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what about sandbox in java1.2, it still use sandbox concept? or just use pretected domain.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Java 1.2 still uses the Sandbox. Any code that is not part of a protection domain will be placed in the sandbox so that it will play nice.
 
Robin Zhang
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chris, I am still confused about this, can you recommend some book or article?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic