Home · All Classes · Grouped Classes · Annotated · Functions

SXE - Policy Profiles and Domains

The following sections describe the methods to formulate policy profiles and domains and provides examples of policy profiles and their effects.

Formulating Policy Profiles and Domains

When developing or customizing Qtopia applications, as part of the engineering process, policy profiles and sxe domains must also be formulated.

Tools to assist in developing policy are:

To create your applications policy edit these files:

If you create a new type of Service or QCop message generally it will need to be added to the sxe.profiles file.

Important: after changing policies do the following:

  1. make install in the build root directory
  2. run sxe_installer.

To trouble-shoot SXE problems follow these steps:

Policy Profile Examples

The qipkg system is extended to provide additional information to the SXE system using the Domain field. The list below shows each value, its effect on the access granted to the application, and the install information displayed to the user.

Note: do not change the format of this table.

The script scripts/extract_sxe_profiles.pl may be used to create the in code table of user visible policy strings in the package manager.

SXE Profile nameAccess Controls EffectInformation displayRisk level
baseAllow qtopia system level access, not available unless package is signed. Automatically has access as for all the other categories. Intended for use for OTA upgrades (ie equivalent to reflash).New system for your Qtopia deviceHigh
libsAllow qtopia library load access, not available unless package is signed. Automatically has access for all other categories. Reserved for use for OTA updates (ie equivalent to major patch), and plug-in libraries.New system items for your Qtopia deviceHigh
phonecommAllow file level access to /dev for low level phone or device functionality, not available unless package is signed. Automatically has access as for all other categories. Intended for use by OEMs providing new apps or updates.Use [phone|device] hardwareHigh
docapiAllow file level access to user Documents, optionally restricted by mime-typeEdit and delete your [mime-type user description, eg MP3, jpeg] filesMedium
pimAllow App level access to modify Personal Information Management recordsEdit and delete your PIM dataMedium
msgAllow app level access to SMS and MMS messagingsend text and media messagesMedium
netAllow file and app level access to WAP, GSM, GPRS.download and talk over your [phone/device]'s internet serviceMedium
netconfigAllow the creation, deletion, starting and stopping of network interface configurationsstart, stop and configure network interfacesMedium
alarmAllow the creation and deletion of alarmscreate, delete and check status of alarmsMedium
beamingAllow the beaming of files and Vcards over irda (obex)send and receive files over infrared interfacesMedium
bluetoothAllow bluetooth connections to other devices and the sending of files and Vcards using bluetoothconnect, pair, send and receive files over bluetooth interfacesMedium
cardreaderAllow access to the cardreader to access sd cards, compact flash etcread and write data to/from memory cardsLow
cameraAllow access to the camera for capturing imagescapture images using camera deviceLow
datetimeAllow setting of the system date, time and timezoneset date, time and timezoneLow
drmDigital Rights Managementdownload, use and check the rights on DRM enabled filesHigh
handwritingAllow the use of handwriting as an input method on the deviceallow handwriting as an input medthodLow
helixAllow access to helix for playing sound and video filesplay media files using helixLow
languageAllow access to change the system languagechange system languageLow
lightandpowerAllow changes to power management and lighting settings such as dimming and turning the light offpower management and lighting settingsLow
mediarecorderAllow the recording of sound filesrecord sound filesLow
picturesAllow access and editing of image filesview and edit image filesLow
qdlQtopia Document Linking - allows calender, tasks and contacts to link to other documents/objectslink to documents/objectsLow
quicklauncherAllows quicklauncher to morph into other applicationsrun applications using quicklauncherHigh
profilesAllows the changing of all Settings associated with Profiles, Appearance and Light and Powerchange Profile, Appearance and Light and Power settingsMedium
screensaverAllows the setting of the screensaverset screensaverLow
securityAllows changing the phone and sim security settings such as the pinchange phone and sim security settingsMedium
sxemonitorAllows sxemonitor to issue security alertsissue security alerts using sxemonitorHigh
wordsAllows access to the dictionary for updating wordsadd words to dictionaryLow
windowAllow windowed graphic displayUse your displayLow
graphicsAllow full-screen graphic display*use your whole display eg game, or OpenGL ES accelerated.Medium
themeInstalled Qtopia themeno actual display to userLow
noneNo domains requestedno actual display to userLow

The installation mechanism makes it difficult for a package to gain access to perform unexpected behaviors. Because the package must declare the access it requires, it is plain to the user before the package is downloaded or installed. For example a trojan that purported to be a screen-saver but requested web access would have this show up in red "download and talk over your phones internet service", prior to download and install.

In the example below a user is looking for a package to install. This one accesses the users PIM data - if that was not what the user was expecting they will choose another package instead.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5