From Erights

(Difference between revisions)
Jump to: navigation, search
(title fix)
m (Reverted edits by (Talk); changed back to last version by
(14 intermediate revisions not shown)

Latest revision as of 21:21, 3 January 2009

CapDesk is a distributed desktop shell, written in E.



CapDesk is a distributed file browser and caplet launcher. It enables users to browse their own files, much like an ordinary desktop shell like GNOME's Nautilus or KDE's Konqueror. Users can double-click files to have them opened by applications for editing or viewing as normal, and use the shell to install new applications on their system. For example, double-clicking on a text file causes CapDesk to launch a text editor that enables the user to edit the file.

CapDesk differs from standard desktop shells, however, in its aggressive enforcement of the Principle of Least Authority (POLA).Double-clicking a file causes CapDesk to launch a caplet. Caplets are similar to standard applications, except that they are explicitly designed to be launched by CapDesk and must be written in E. When launching a caplet in response to the user double-clicking a file, CapDesk enforces POLA by granting the caplet only the ability to edit the specific file that was double-clicked and nothing else. Opening a new file within a caplet using the "Open File" dialog, causes CapDesk to grant the caplet the ability to access that file only, and no others. In this way, caplets are given the minimum authority required for them to function without requiring the user to do anything that they wouldn't otherwise do during the course of their work.

Getting CapDesk

CapDesk is included in the E-on-Java distribution and requires E-on-Java in order to run. To obtain CapDesk, simply obtain the current E-on-Java distribution.

Running CapDesk

To run it, first install E. Then run the E script in scripts/capDesk.e-awt or scripts/capDesk.e-swt. The former uses the AWT/Swing library to implement CapDesk's Graphical User Interface, while the latter uses SWT. SWT looks nicer but may not work without special configuration.

Installing Caplets

The first thing to do once CapDesk is running is to install some caplets. Navigate to the directory in which E was installed. Then navigate to the caplets/ subdirectory. This directory should contain files ending in .caplet. These are individual caplets which you can install to make CapDesk useful. Choose one, such as CapEdit.caplet, right-click it and choose the Install option from the pop-up menu. This causes CapDesk to launch the caplet installer.

TODO: info about the installer, petnames, etc. Use CapEdit as the example. Add screenshots.

See Also

CapDesk at Wikipedia

The SkyNet Virus - Why it is Unstoppable; How to Stop it

Talk: Building a Virus-Safe Computing Platform: Don't Add Security, Remove Insecurity

A Security Analysis of the Combex DarpaBrowser Architecture, David Wagner and Dean Tribble, March 4, 2002

Personal tools
more tools