×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    2

    Smile "Unable to execute file for security reasons" - background?

    I have been tinkering around with .sisx files, modifying the E32Image files and the likes and stumbled upon this error. I used Google and I even found a few topics in this forum but none actually helped me any.

    My actual scenario: I unpacked a .sisx file using sisinfo. I decompressed the contained .exe file using petran -nocompress. I took the uncompressed file, copied it back on my mass storage replacing the original .exe file and tried to run it, giving the error specified in the title.
    I have read on the E32Image specifications but I couldn't really find anything related to a checksum that would really matter.
    I tried something else, modified a single byte, in the decompressed file, recompressed it leaving the code size the same, leaving the header intact and its CRC checksum etc. but it would still trigger the "security reasons" error.

    So, my question: What hidden detail makes Symbian OS know I had my fingers on the executable?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: "Unable to execute file for security reasons" - background?

    This is normal. The whole platform security and the signing process is about that you can not execute arbitrary binaries on the device. Prior to execution, the OS checks the integrity of the binaries using checksums generated on installation time (note that despite you are mentioning .sisx files, actually you have copied but not installed the modified one).

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    2

    Re: "Unable to execute file for security reasons" - background?

    Oh alright, I expected something like that. So basically I have to repack the file into a .sis, resign it and then install it again to test it.

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: "Unable to execute file for security reasons" - background?

    Actually, you can simply install the original sis file, without any changes ...
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

Similar Threads

  1. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  2. S60 theme questions
    By Nokian_Spb in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-08-17, 06:11
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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