×
Namespaces

Variants
Actions

Capabilities (Symbian Signed)/AllFiles Capability

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: hamishwillee (16 Dec 2010)
Last edited: hamishwillee (20 Jul 2012)

The AllFiles capability gives read access to the whole filesystem. It also gives write access to most of the file system (except /sys and parts of /resource, which require TCB).

Notably, a program with AllFiles capability can read and write to any program's directory under /private.


This capability is very strictly controlled and it is not granted lightly. This capability is from manufacturer-approved category. To use it in your application you need to obtain a permission from device manufacturer directly. See Device Manufacturer Capabilities (Symbian Signed)

Why?

The /private directory may contain sensitive information, e.g. saved passwords. Modifying another program's configuration or data files directly can cause incorrect behaviour - in the worst case, the phone stops working.

What?

The file server checks this capability when a normally restricted path is accessed.

Where?

The backup server needs AllFiles in order to be able to backup and restore /private. It is useful for debugging, so product creation tools often use it. In third-party applications it may be used for anti-virus software (though Symbian has little record of problems with viruses)


Licence icon cc-by-sa 3.0-88x31.png© 2010 Symbian Foundation Limited. This document is licensed under the Creative Commons Attribution-Share Alike 2.0 license. See http://creativecommons.org/licenses/by-sa/2.0/legalcode for the full terms of the license.
Note that this content was originally hosted on the Symbian Foundation developer wiki.

This page was last modified on 20 July 2012, at 10:49.
111 page views in the last 30 days.