This page was last modified 10:02, 12 December 2007.
How to separate sensitive code from Application
From Forum Nokia Wiki
This page describes how to separate sensitive code from the Application.
The following is the most common UseCase which is generally seen while going for Symbian Signing process.
UseCase Description:
There is a resource which has different versions for different regions that requires Manufaturer capabilities. So signing it for each version incurs cost.
Solution:
We should separate the codes that needs manufacturer capabilities into an embeded sis and sign it first with required Manufaturer capabilities.
In this situation "Client/Server Architecture" provides a method for segregating the code requiring sensitive capabilities and the code requiring normal capabilities.
As an example, an Application needs data to be read, written, deleted in the private folder. Accessing the private folder requires "ALLFILES" capabilities.If this application is to be developed in different versions for different regions, then it will be too expensive to sign each version with "ALLFILES" capabilities.
The Server should implement the code which requires "ALLFILES" capabilities and is signed only once. The Client requires normal capabilities. Thus signing cost can be cut down.
The Server can also check the Client's SecureId and capabilities, if it is a valid one then it grants the permission to manipulate (create,delete a file) the file system within the private folder of the target.
The following is the link to the sample application:
http://wiki.forum.nokia.com/index.php/Image:Client_Server_Application.zip
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sending SMS - "Reject Duplicates" | keypad | General Messaging | 3 | 2004-02-20 05:54 |
| AutoStart My application at bootup | prakashs | General Symbian C++ | 5 | 2008-05-09 23:09 |
| S60 3rd beta Series60Ex missing ???? | iulian_moldovan | General Symbian C++ | 1 | 2006-01-10 06:22 |
| 如何显示比较长的文本信息,例如帮助信息等 | danielwang99 | Symbian | 9 | 2006-07-11 03:30 |
| standart buttons | nmnir | General Symbian C++ | 21 | 2004-10-13 09:32 |
