Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Python source code easy to hack?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jayden  
View profile  
 More options Sep 28 2012, 7:57 am
Newsgroups: comp.lang.python
From: Jayden <jayden.s...@gmail.com>
Date: Fri, 28 Sep 2012 04:57:13 -0700 (PDT)
Local: Fri, Sep 28 2012 7:57 am
Subject: Python source code easy to hack?
Dear All,

I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code?

Thanks a lot!

Jayden


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Lawrence  
View profile  
 More options Sep 28 2012, 8:15 am
Newsgroups: comp.lang.python
From: Mark Lawrence <breamore...@yahoo.co.uk>
Date: Fri, 28 Sep 2012 13:17:26 +0100
Local: Fri, Sep 28 2012 8:17 am
Subject: Re: Python source code easy to hack?
On 28/09/2012 12:57, Jayden wrote:

> Dear All,

> I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code?

> Thanks a lot!

> Jayden

This question has been asked on numerous occasions so if you search the
archives you're sure to get loads of answers.

--
Cheers.

Mark Lawrence.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
zig-zag  
View profile  
 More options Sep 28 2012, 8:30 am
Newsgroups: comp.lang.python
From: zig-zag <zig-...@yahoo.com>
Date: Fri, 28 Sep 2012 14:30:32 +0200
Local: Fri, Sep 28 2012 8:30 am
Subject: Re: Python source code easy to hack?
On 09/28/2012 02:17 PM, Mark Lawrence wrote:

> On 28/09/2012 12:57, Jayden wrote:
>> Dear All,

>> I have a concern in developing commercial code with Python. Someone
>> told me that its program can be easily hacked to get its source code.
>> Is it really the case? Any way to protect your source code?

>> Thanks a lot!

>> Jayden

> This question has been asked on numerous occasions so if you search the
> archives you're sure to get loads of answers.

http://stackoverflow.com/questions/261638/how-do-i-protect-python-code
http://stackoverflow.com/questions/164137/how-do-i-deploy-a-python-de...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stu...@molden.no  
View profile  
 More options Sep 28 2012, 10:18 am
Newsgroups: comp.lang.python
From: stu...@molden.no
Date: Fri, 28 Sep 2012 07:18:36 -0700 (PDT)
Local: Fri, Sep 28 2012 10:18 am
Subject: Re: Python source code easy to hack?
kl. 13:57:14 UTC+2 fredag 28. september 2012 skrev Jayden følgende:

> Dear All, I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code? Thanks a lot! Jayden

Python bytecode is not easier to hack than Java or .NET bytecodes. You don't have to distribute your source code. Dropbox and BitTorrent are written in Python. I don't think "hacking the source" is a major problem. You also have the option of compiling parts of the source code to native C DLLs using Cython. If you are very paranoid about protecting your sources, perhaps you shouldn't distribute it at all, but provide a web application?

Sturla


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry Hill  
View profile  
 More options Sep 28 2012, 10:38 am
Newsgroups: comp.lang.python
From: Jerry Hill <malaclyp...@gmail.com>
Date: Fri, 28 Sep 2012 10:38:00 -0400
Subject: Re: Python source code easy to hack?

On Fri, Sep 28, 2012 at 10:18 AM,  <stu...@molden.no> wrote:
> Python bytecode is not easier to hack than Java or .NET bytecodes.

This is true, but both java and .net are also relatively easy to decompile.

In general though, why does it matter?  What are you trying to protect
yourself against?  If you're including secrets in your code like
encryption keys or bank account numbers, there's no way to keep them
out of the hands of a determined attacker that has access to your
file, no matter what language it may be written in.

If you must keep anyone from ever seeing how your code works, the only
way to do that is to keep all the sensitive bits running on a machine
that you control.  Typically, you would do that by distributing a
client portion of your application, and also running a web service.
Then you can have your client connect to the web service, request that
the sensitive calculations, or money transfer, or whatever, be done on
the server, and just pass back the results.

--
Jerry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stu...@molden.no  
View profile  
 More options Sep 28 2012, 11:19 am
Newsgroups: comp.lang.python
From: stu...@molden.no
Date: Fri, 28 Sep 2012 08:19:54 -0700 (PDT)
Local: Fri, Sep 28 2012 11:19 am
Subject: Re: Python source code easy to hack?
kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende:

> This is true, but both java and .net are also relatively easy to decompile.

Neither of them are very "obfuscated".

> In general though, why does it matter?

Paranoia among managers?

> What are you trying to protect yourself against?

Embarassment?

Patent trolls?

Unauthorized access to priviledged features?

Industrial espionage?

> If you must keep anyone from ever seeing how your code works, the only way to do that is to keep all the sensitive bits running on a machine that you control.

Indeed :)

Sturla


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stu...@molden.no  
View profile  
 More options Sep 28 2012, 11:19 am
Newsgroups: comp.lang.python
From: stu...@molden.no
Date: Fri, 28 Sep 2012 08:19:54 -0700 (PDT)
Local: Fri, Sep 28 2012 11:19 am
Subject: Re: Python source code easy to hack?
kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende:

> This is true, but both java and .net are also relatively easy to decompile.

Neither of them are very "obfuscated".

> In general though, why does it matter?

Paranoia among managers?

> What are you trying to protect yourself against?

Embarassment?

Patent trolls?

Unauthorized access to priviledged features?

Industrial espionage?

> If you must keep anyone from ever seeing how your code works, the only way to do that is to keep all the sensitive bits running on a machine that you control.

Indeed :)

Sturla


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Littlefield, Tyler  
View profile  
 More options Sep 28 2012, 11:57 am
Newsgroups: comp.lang.python
From: "Littlefield, Tyler" <ty...@tysdomain.com>
Date: Fri, 28 Sep 2012 09:56:30 -0600
Local: Fri, Sep 28 2012 11:56 am
Subject: Re: Python source code easy to hack?
On 9/28/2012 9:19 AM, stu...@molden.no wrote:

> kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende:

>> This is true, but both java and .net are also relatively easy to decompile.
> Neither of them are very "obfuscated".

>> In general though, why does it matter?
> Paranoia among managers?

>> What are you trying to protect yourself against?

Embarassment?

Patent trolls?

Unauthorized access to priviledged features?

Industrial espionage?

Sounds like a web solution is the best way. Use a thin client and run your NSA-level code on a server. It's worth pointing out though that even c/c++ isn't free. If someone wants to decompile or disassemble your code bad enough, it's going to happen.

>> If you must keep anyone from ever seeing how your code works, the only way to do that is to keep all the sensitive bits running on a machine that you control.
> Indeed :)

> Sturla

--
Take care,
Ty
http://tds-solutions.net
The aspen project: a barebones light-weight mud engine:
http://code.google.com/p/aspenmud
He that will not reason is a bigot; he that cannot reason is a fool; he that dares not reason is a slave.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
88888 Dihedral  
View profile  
 More options Sep 28 2012, 1:37 pm
Newsgroups: comp.lang.python
From: 88888 Dihedral <dihedral88...@googlemail.com>
Date: Fri, 28 Sep 2012 10:37:47 -0700 (PDT)
Local: Fri, Sep 28 2012 1:37 pm
Subject: Re: Python source code easy to hack?
Jayden於 2012年9月28日星期五UTC+8下午7時57分14秒寫道:

> Dear All,

> I have a concern in developing commercial code with Python. Someone told me that its program can be easily hacked to get its source code. Is it really the case? Any way to protect your source code?

> Thanks a lot!

> Jayden

Nowadays high priced commercial IDE software products shipped  with a
built in interpreter with some GUI to let users customize their own
needs in designs. This also means examples in source codes to
be provided, too.

Anyway even compiled instructions can be iced and reverse engineered
for all the flows of the software.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »