Breaking the Sandbox Barrier, Part 1

It is sometimes necessary for client applications to use the features that are restricted by the sandbox model, like reading from a file system or writing to a file. In Internet Explorer, this can be accomplished by signing the applet with a digital certificate and authenticating it after downloading. Here's a refresher course.

provided by: 
Originally published at Internet.com


In this article, we will explain the Java "Sandbox" model and tell you when it is necessary to cross the restrictions imposed by the model. We will then provide a step-by-step procedure to create an applet, package the applet into a .cab file, create digital certificates (for testing), sign the .cab with digital certificates so that the applet can use features beyond the sandbox model, such as writing to a file on the client machine.

We'll first offer information on signing applets with digital certificates for Internet Explorer and then enumerate the steps for Netscape Communicator.

The Sandbox Model



On the Internet, there are big risks associated with virus attacks against which the virus scanner is helpless. Instead of trying to spot hostile code, Java's security mechanisms prevent attacks by stopping hostile actions. Java's Sandbox model defines actions an applet can safely perform and which it cannot. All commercial browsers conform to this basic policy. Applets are not allowed to:

Digitally Signing an Applet for Microsoft Internet Explorer ...

Read article at Internet.com site
Related Articles
Regional Articles
- Breaking the Sandbox Barrier, Part 1 Alabama
- Breaking the Sandbox Barrier, Part 1 Alaska
- Breaking the Sandbox Barrier, Part 1 Arizona
- Breaking the Sandbox Barrier, Part 1 Arkansas
- Breaking the Sandbox Barrier, Part 1 California
- Breaking the Sandbox Barrier, Part 1 Colorado
- Breaking the Sandbox Barrier, Part 1 Connecticut
- Breaking the Sandbox Barrier, Part 1 DC
- Breaking the Sandbox Barrier, Part 1 Delaware
- Breaking the Sandbox Barrier, Part 1 Florida
- Breaking the Sandbox Barrier, Part 1 Georgia
- Breaking the Sandbox Barrier, Part 1 Hawaii
- Breaking the Sandbox Barrier, Part 1 Idaho
- Breaking the Sandbox Barrier, Part 1 Illinois
- Breaking the Sandbox Barrier, Part 1 Indiana
- Breaking the Sandbox Barrier, Part 1 Iowa
- Breaking the Sandbox Barrier, Part 1 Kansas
- Breaking the Sandbox Barrier, Part 1 Kentucky
- Breaking the Sandbox Barrier, Part 1 Louisiana
- Breaking the Sandbox Barrier, Part 1 Maine
- Breaking the Sandbox Barrier, Part 1 Maryland
- Breaking the Sandbox Barrier, Part 1 Massachusetts
- Breaking the Sandbox Barrier, Part 1 Michigan
- Breaking the Sandbox Barrier, Part 1 Minnesota
- Breaking the Sandbox Barrier, Part 1 Mississippi
- Breaking the Sandbox Barrier, Part 1 Missouri
- Breaking the Sandbox Barrier, Part 1 Montana
- Breaking the Sandbox Barrier, Part 1 Nebraska
- Breaking the Sandbox Barrier, Part 1 Nevada
- Breaking the Sandbox Barrier, Part 1 New Hampshire
- Breaking the Sandbox Barrier, Part 1 New Jersey
- Breaking the Sandbox Barrier, Part 1 New Mexico
- Breaking the Sandbox Barrier, Part 1 New York
- Breaking the Sandbox Barrier, Part 1 North Carolina
- Breaking the Sandbox Barrier, Part 1 North Dakota
- Breaking the Sandbox Barrier, Part 1 Ohio
- Breaking the Sandbox Barrier, Part 1 Oklahoma
- Breaking the Sandbox Barrier, Part 1 Oregon
- Breaking the Sandbox Barrier, Part 1 Pennsylvania
- Breaking the Sandbox Barrier, Part 1 Rhode Island
- Breaking the Sandbox Barrier, Part 1 South Carolina
- Breaking the Sandbox Barrier, Part 1 South Dakota
- Breaking the Sandbox Barrier, Part 1 Tennessee
- Breaking the Sandbox Barrier, Part 1 Texas
- Breaking the Sandbox Barrier, Part 1 Utah
- Breaking the Sandbox Barrier, Part 1 Vermont
- Breaking the Sandbox Barrier, Part 1 Virginia
- Breaking the Sandbox Barrier, Part 1 Washington
- Breaking the Sandbox Barrier, Part 1 West Virginia
- Breaking the Sandbox Barrier, Part 1 Wisconsin
- Breaking the Sandbox Barrier, Part 1 Wyoming

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML