×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Can WriteUserData be granted with self-signed sis?

    My application need write file to store configuration. Does this need WriteUserData privilage?

    I tried to declare it in the MMP file and createsis with self-sign. But the application can't be launched on the phone. The error message is some like "Due to security problem, it can be started". If I remove the "WriteUserData" declare in MMP file, the application can be started. But when it try to write file, it failed.

    Can WriteUserData be granted by self-signed sis?
    poporz, Music sharing software for S60 1rd & 2rd.
    Play music during call. Support MP3 and one-key playing.
    刨乐,音乐分享软件,在通话过程中播放音乐。支持S60第一版和第二版。支持MP3,支持一键快速播放。
    http://www.poporz.com

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Can WriteUserData be granted with self-signed sis?

    Hi,

    yes, this can be self-signed(http://wiki.forum.nokia.com/index.php/Capabilities).

    - Check the time and date on the phone (it's compared with time and date of the of certificate issue)!
    - Check if you have in your 'App.mgr' in Options>Settings allowed in Software installation 'All'

    BR
    STeN

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: Can WriteUserData be granted with self-signed sis?

    I installed and ran the application immediately after I signed it. So I think the date is not the issue.

    I also allow all application installed in my phone.

    What's more, during installation, the phone ask me give the "ReadUserData" and "WriteUserData" privilage and I answered "yes".

    But when I finished installation and try to run the application, system refused with "security" reason.
    poporz, Music sharing software for S60 1rd & 2rd.
    Play music during call. Support MP3 and one-key playing.
    刨乐,音乐分享软件,在通话过程中播放音乐。支持S60第一版和第二版。支持MP3,支持一键快速播放。
    http://www.poporz.com

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Can WriteUserData be granted with self-signed sis?

    Hi,

    The following are the Self-Signed Capabilities:

    - LocalServices
    - Location
    - NetworkServices
    - ReadUserData
    - UserEnvironment
    - WriteUserData

    Once you have passed the installation process the only thing which comes to my head that you have disbled capabilites on emulator, so you have used the method, which requests more capablility and on emulator here everything works fine, but when you install it on device it fails. Can you check this?

    BR
    STeN
    Last edited by stenlik; 2007-11-13 at 14:27. Reason: ~~~I have fixed the list of self-signed capabilities to not confuse anyone~~~~

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Can WriteUserData be granted with self-signed sis?

    Make sure you are using a UID from the unrotected range
    http://developer.uiq.com/forum/entry.jspa?entryID=114

  6. #6
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: Can WriteUserData be granted with self-signed sis?

    Quote Originally Posted by stenlik View Post
    Hi,

    The following are the Self-Signed Capabilities:

    - LocalServices
    - Location
    - NetworkServices
    - PowerMgmt
    - ReadUserData
    - SurroundingsDD
    - SwEvent
    - UserEnvironment
    - WriteUserData
    - ProtServ

    Once you have passed the installation process the only thing which comes to my head that you have disbled capabilites on emulator, so you have used the method, which requests more capablility and on emulator here everything works fine, but when you install it on device it fails. Can you check this?

    BR
    STeN
    Thank you. I checked epocwind.out file and found "AllFile" capability is required. It happens when I
    do a searching on the disk with RDir.

    Since "AllFile" is not self-signed capability, I have to remove this feature from my application. Is that the only solution?
    poporz, Music sharing software for S60 1rd & 2rd.
    Play music during call. Support MP3 and one-key playing.
    刨乐,音乐分享软件,在通话过程中播放音乐。支持S60第一版和第二版。支持MP3,支持一键快速播放。
    http://www.poporz.com

  7. #7
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: Can WriteUserData be granted with self-signed sis?

    Quote Originally Posted by Paul.Todd View Post
    Make sure you are using a UID from the unrotected range
    http://developer.uiq.com/forum/entry.jspa?entryID=114
    Thank you. I am using "A" range.
    poporz, Music sharing software for S60 1rd & 2rd.
    Play music during call. Support MP3 and one-key playing.
    刨乐,音乐分享软件,在通话过程中播放音乐。支持S60第一版和第二版。支持MP3,支持一键快速播放。
    http://www.poporz.com

  8. #8
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    139

    Re: Can WriteUserData be granted with self-signed sis?

    Is SwEvent self-signed capability? I add it into my MMP file, but it failed during installation.
    poporz, Music sharing software for S60 1rd & 2rd.
    Play music during call. Support MP3 and one-key playing.
    刨乐,音乐分享软件,在通话过程中播放音乐。支持S60第一版和第二版。支持MP3,支持一键快速播放。
    http://www.poporz.com

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,696

    Re: Can WriteUserData be granted with self-signed sis?

    STeN has written a strange list in #4. You should rather believe the link in #2.

  10. #10
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Can WriteUserData be granted with self-signed sis?

    Hi,

    sorry for mistake!!!!!!!!!

    The correct list is here:
    - LocalServices
    - Location
    - NetworkServices
    - ReadUserData
    - UserEnvironment
    - WriteUserData

    BR
    STeN

  11. #11
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Smile Re: Can WriteUserData be granted with self-signed sis?

    Quote Originally Posted by goodtaste View Post
    Is SwEvent self-signed capability? I add it into my MMP file, but it failed during installation.
    No. It doesn't come under user-granted capabilities. You need Developer Certificate to work with SwEvent Capability.

    Kiran.

Similar Threads

  1. Replies: 50
    Last Post: 2012-09-14, 07:53
  2. S60 3rd edition java midp within a signed SIS
    By s_mad010 in forum Series 40 & S60 Platform Feedback Archive
    Replies: 4
    Last Post: 2007-11-27, 09:29
  3. Startup List API and self signed sis
    By tal.shahar@mobile-mx.com in forum Symbian
    Replies: 10
    Last Post: 2007-03-22, 00:10
  4. pkg to SIS and signed SIS?
    By symbee in forum Symbian
    Replies: 5
    Last Post: 2006-07-17, 13:49
  5. recreate signed sis file
    By rahulsingh in forum Symbian
    Replies: 2
    Last Post: 2005-10-28, 10:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×