aspose file tools*
The moose likes Beginning Java and the fly likes sandbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sandbox" Watch "sandbox" New topic
Author

sandbox

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
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
Sheriff

Joined: Sep 28, 2004
Posts: 19004
    
  40

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sandbox