Getting Started: Part One: Introduction
Getting Started: Part One: Introduction
How
How
How
How
Or skip ahead to Getting Started Part Six which discusses a few final points.
You can also review the External Tutorials page for more links to tutorials about Sandboxie, some
in languages other than English, others are in video form rather than text.
Sandboxie Control
Sandboxie is operated primarily through the Sandboxie Control program. This program adds the
yellow Sandboxie icon to the system notification ("tray") area of your taskbar:
If Sandboxie Control is not already active, you can find it and launch it from the Sandboxie
program group in your Windows Start menu:
Windows XP
Windows Vista
When active, you can use the Sandboxie tray icon to hide and show the main window of
Sandboxie Control, by double-clicking the icon. Or, you can right-click the icon and select the first
command, which alternates between Hide Window and Show Window.
For this tutorial, make sure the main window of Sandboxie Control is visible.
You should view this tutorial in a sandboxed Web browser. To do that, use the Getting Started
Tutorial (Web) command in the Help Menu of Sandboxie Control, and make sure you tell
Sandboxie Control to run your browser sandboxed:
it:
Alternatively, right-click the Sandboxie Control tray icon, and navigate the popup Tray Icon Menu
to select the Run Web Browser action.
A third option is via the Sandbox Menu in the main window of Sandboxie Control:
Your Web browser should come up sandboxed. You can tell that a program is sandboxed because its
window title bar contains additional Sandboxie [#] indicators:
(Note: In some computer systems, Sandboxie starts the wrong program when you select Run Web
Browser. If this is the case for you, use the Default Browser utility to fix this.)
The sandboxed program should appear in the main window of Sandboxie Control:
The window displays the list of programs that are currently running sandboxed under the
supervision of Sandboxie. Initially there is just one sandbox, DefaultBox, however, more sandboxes
can be created; see the Create New Sandbox command in the Sandbox Menu.
The picture above shows Sandboxie is running three programs. The first, iexplore.exe, stands for
Internet Explorer, as this tutorial assumes Internet Explorer is the Web browser in use. If the default
Web browser in your system is Firefox, or Opera, then you would see firefox.exe or opera.exe,
respectively, as the first program running in the sandbox.
The screenshot shows two more programs are running, SandboxieRpcss.exe and
SandboxieDcomLaunch.exe. These support programs are part of Sandboxie. If they are needed,
they will be automatically started, without any explicit action on your part. See Service Programs.
When Sandboxie is actively running programs in any of the sandboxes, the Sandboxie tray icon (at
the corner of the screen) displays red dots:
Because the point of this exercise is to show that files remain in the sandbox unless recovered, click
the Close button on the window above, to tell Sandboxie to keep the file in the sandbox.
The file you saved, favicon.ico would appear on your desktop as this icon:
If you minimize all windows and examine your desktop, you should not be able to see the new icon,
because the file was in fact saved in the sandbox, and not yet recovered.
Sandboxie Control initially operates in Programs View where it lists the programs running in the
sandbox, but you can use the View Menu to switch the view mode to Files And Folders View which
shows the contents of the sandbox. Click Files and Folders in the View menu.
Expand the branches (by clicking the + signs) to reveal the contents of the sandbox, arranged into
folders. As you can see in the picture directly above, the file favicon.ico that you saved earlier has
been placed in the sandboxed desktop folder.
5
In the same way, any file created by any sandboxed program will be placed in a sandbox folder
corresponding to the real folder where it should have been placed.
Let's try this again, this time with a sandboxed Notepad. To do this, use the Run Any Program
command:
Type a few letters into the new Notepad document, and save it as file test1.txt at the root folder of
drive C. Then, look for this file in the root folder of drive C. You should not be able to find it. That's
because the file was saved in the sandbox:
Summary:
Files created or modified by sandboxed programs are initially placed in the sandbox.
Files in the sandbox are not visible to programs outside the sandbox.
Immediate Recovery
The Immediate Recovery feature, which was mentioned briefly in the previous part of this guide, is
8
an extension of Quick Recovery. Immediate Recovery keeps scanning the same set of recoverable
folders, and will enable you to recover files as soon as they are created:
As with Quick Recovery, you can Recover to Same Folder or Recover to Any Folder.
Summary:
Files must be created in recoverable folders if they are to be noticed by Quick Recovery and
Immediate Recovery.
You can customize the set of recoverable folders.
You can use Files And Folders View to recover files that do not reside in any recoverable
folder.
You can also invoke the Delete Contents command from the Sandbox Menu in the main window of
Sandboxie Control.
The Delete Sandbox window appears, giving you one last chance to recover any files still remaining
in the sandbox:
The upper part of the window in the picture above was introduced in the last part as the Quick
10
Recovery command. The lower part counts the accumulated size of the contents of the sandbox.
Finally, when you are sure you have recovered everything you need, click Delete Sandbox to delete
the sandbox.
Note that regardless of the size of the sandbox, the delete process always takes only a few seconds.
This should be considered normal and expected. During this time, the Sandboxie tray icon changes
to a red X icon to indicate that sandbox delete is in progress.
In the default configuration, the sandbox is not deleted automatically, so you will have to manually
invoke the Delete Contents command whenever you want to delete the contents of the sandbox.
This behavior can be changed by altering a setting. In the main window of Sandboxie Control, use
the Sandbox Menu to open the Sandbox Settings window:
The Sandbox Settings window appears. Click on Delete to expand the delete settings group, then on
Invocation to show the Delete > Invocation settings page:
11
Place a checkmark in the box Automatically delete contents of sandbox to have Sandboxie
automatically invoke the Delete Sandbox command, as described in the settings page.
How
How
How
How
You can read more tips about using Sandboxie in the Usage Tips page, and in pages about specific
web browsers: Internet Explorer Tips and Firefox Tips.
An important point to keep in mind when using Sandboxie is that it is designed to isolate programs
from each other. Therefore you should expect to lose a small measure of inter-operability between
programs. For example:
Email: Clicking email (mailto) links typically causes your web browser to start your email
software. This will not work correctly unless Sandboxie is configured to run your email
software in that sandbox. See FAQ Email.
You can avoid this problem by right-clicking the email link instead of left (normal)
clicking it. The right-click menu will let you copy the email address. Then switch to
your email software and paste the email address. If the pasted email address begins
with a mailto: prefix, then make sure to delete that prefix, including the colon (:).
Download manager: Clicking download links is intercepted and handled by software which
is operating outside your web browser. When the web browser is running in a sandbox, this
might cause it to start the download manager in the sandbox as well, which would probably
not be desired result.
You can avoid this problem by right-clicking the download link instead of left
(normal) clicking it. The right-click menu will let you copy the link. Then switch to
your download manager program, and paste the link to start the download process.
On the other hand, you should not expect to lose every measure of inter-operability between
programs. For example, you may use a dictionary software which should react to keystrokes or
mouse-clicks to display information in a pop up window. Sandboxie may or may not interfere with
this, depending on how the dictionary software is designed. When things do not work as expected,
please report it on the Sandboxie forum and ask for a solution.
Please also take some time now to review the many settings in the Sandbox Settings window. The
settings are explained clearly, and you will find many settings that enable you to strike your
preferred balance between security and convenience.
For example, one person may prefer greater security and control over web bookmarks and favorites,
by letting them first save into the sandbox, and then recovering selected items through
Quick Recovery or Immediate Recovery. (This is the default configuration in Sandboxie.)
But another person may prefer to configure Sandboxie such that a sandboxed web browser can
directly access the bookmarks or favorites, without an intermediate recovery step, thus sacrificing
12
13