You Are Here:

Community: Developer Discussion Boards

#1 Old Beginner Question - 2007-11-23, 21:18

Join Date: Nov 2007
Posts: 5
ckl_88
Offline
Registered User
I'm planning to develop an application for my N95 and I was thinking about doing it in Python. One question that came to mind was that when I create a standalone app (.sis file) from my py scripts, are those scripts exposed when they are installed on the mobile.

For example, let's say I created a myapp.sis from myapp.py and then deploy it to the phone. I then install it. Will myapp.py exist somewhere on the filesystem that is accessible to anyone with a file browser? If so, wouldn't they be able to download that file to their PC and then view the script (hence, revealing the internals of the program)?

Can anyone answer this question?

Thanks.
Reply With Quote

#2 Old Re: Beginner Question - 2007-11-24, 12:40

Join Date: Nov 2007
Posts: 6
richie.rich's Avatar
richie.rich
Offline
Registered User
Yes u can unpack the sis as well.


Rich
Reply With Quote

#3 Old Re: Beginner Question - 2007-11-25, 03:22

Join Date: Nov 2007
Posts: 5
ckl_88
Offline
Registered User
That sucks...
Reply With Quote

#4 Old Re: Beginner Question - 2007-11-25, 08:27

Join Date: Mar 2004
Posts: 1,926
Location: Czech Republic
stenlik's Avatar
stenlik
Offline
Forum Nokia Champion
Hi,

I think that this is drawback of all scripting languages isn't it?

BR
STeN
Reply With Quote

#5 Old Re: Beginner Question - 2007-11-26, 09:43

Join Date: Apr 2007
Posts: 81
Location: Lublin, Poland
janekw_'s Avatar
janekw_
Offline
Regular Contributor
It's not as easy as is seems. You'd need a file explorer with allfiles capability to extract the code from private dir.
Unfortunately with the infamous symbian security flaw this is doable:
http://www.symbaali.info/2007/10/exp...-allfiles.html
... but that's another matter.


whatever happens happens
Last edited by janekw_ : 2007-11-26 at 09:43. Reason: typo
Reply With Quote

#6 Old Re: Beginner Question - 2007-11-26, 10:13

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by janekw_ View Post
It's not as easy as is seems. You'd need a file explorer with allfiles capability to extract the code from private dir.
Unfortunately with the infamous symbian security flaw this is doable:
http://www.symbaali.info/2007/10/exp...-allfiles.html
... but that's another matter.
If you install your standalone app on E: you can read ANY folder (including private and sys) with a cardreader on a PC or with connecting USB cable !
And also it's possible to UNSIS your sisx file and look at your source file !

Only workaround , obfuscate your code and compile .py file to pyc
... Not perfect solution because with a tool you can also decompile pyc files.

Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#7 Old Re: Beginner Question - 2007-11-26, 10:27

Join Date: Apr 2007
Posts: 81
Location: Lublin, Poland
janekw_'s Avatar
janekw_
Offline
Regular Contributor
You're right. My point is if the app's on the C: and you don't leave your sis behind - so with minimal effort, really - your app's code is not shamelessly visible.
You can extract everything, like always it's only a matter of effort


whatever happens happens
Reply With Quote

#8 Old Re: Beginner Question - 2007-11-26, 19:31

Join Date: Nov 2007
Posts: 5
ckl_88
Offline
Registered User
Thanks. I didn't know you could obfuscate Python scripts.

Anyway, as long as it's hidden in some way and not so obvious to find and decompile for the average user, that would good enough for me.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginner question jinxy General Symbian C++ 1 2007-10-24 21:17
Beginner question? dmorand General Symbian C++ 2 2004-11-11 20:28
beginner question sn0710 General Symbian C++ 3 2004-04-20 19:48
Beginner question: Phone compatability yronnen PC Suite API and PC Connectivity SDK 1 2003-06-13 13:59
Multiple Data Query (Beginner question) jblazque Symbian User Interface 2 2003-03-27 04:54

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia