Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sandbox

 
jignesh soni
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is sandbox ? I read online that it is an area in memory where code can be tested freely to check whether it can harm or not. So how can an applet in java code do any harm ?
Please explain.
 
Henry Wong
author
Marshal
Pie
Posts: 21116
78
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In security terms, a sandbox is an "area" (which may be more than just memory), that an application can't leave. Furthermore, the application is free to do whatever it likes in the sandbox, as there isn't any damage that it can do that is pernament.

In the case of an Applet, if it were allowed to leave the sandbox, some damage that it can cause is delete files, steal personal information, install viruses, etc. However, since it is confined to the sandbox, it can't do any of that.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic