The MMAPI security model implemented in the Java platform for S60 is based on MIDP 2.0 Recommended Security Policy, JTWI 1.0 and MMAPI 1.1 addendum: Multimedia Security v1.0 JSR135. From S60 3rd Edition onwards, the MMAPI security model is based on Mobile Service Architecture Specification 1.00 (JSR-248).
Permissions are required for recording, network access, and access to local data stores. Permissions are granted based on the following function groups:
Function group |
Needed for |
---|---|
Network Access |
Access to media on http, https and rtsp locators |
Multimedia recording |
Recording audio and video, video snapshots |
Read User Data Access |
Access media in local file system |
Write User Data Access |
Save a recording into local file system |
A security dialog is presented to the user if the relevant function
group setting does not explicitly deny or permit access to the feature in
question. If the required permission is not granted, then a SecurityException
is
thrown. In the case of a MIDlet taking a snapshot using the camera, the security
warning appears after the snapshot sound and flash. It is intentionally implemented
this way so that the user does not miss the moment he wants to take a snapshot
of.
Multimedia-specific settings for S60 and Series 40 platforms:
Function group |
Identified Third Party Protection Domain |
Unidentified Third Party Protection Domain | ||
---|---|---|---|---|
Default setting |
Allowed settings |
Default setting |
Allowed settings | |
Multimedia recording |
Session |
Blanket, Session, Oneshot, No |
Oneshot |
Session, Oneshot, No |
Read User Data Access |
Oneshot |
Blanket, Session, Oneshot, No |
Oneshot |
Oneshot, No |
Write User Data Access |
Oneshot |
Blanket, Session, Oneshot, No |
Oneshot |
Oneshot, No |