Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python source code easy to hack?

Reply
Thread Tools

Python source code easy to hack?

 
 
Jayden
Guest
Posts: n/a
 
      09-28-2012
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
 
Reply With Quote
 
 
 
 
Mark Lawrence
Guest
Posts: n/a
 
      09-28-2012
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.

 
Reply With Quote
 
 
 
 
zig-zag
Guest
Posts: n/a
 
      09-28-2012
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/2...ct-python-code
http://stackoverflow.com/questions/1...op-application
 
Reply With Quote
 
Jerry Hill
Guest
Posts: n/a
 
      09-28-2012
On Fri, Sep 28, 2012 at 10:18 AM, <> 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
 
Reply With Quote
 
Littlefield, Tyler
Guest
Posts: n/a
 
      09-28-2012
On 9/28/2012 9:19 AM, 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.

 
Reply With Quote
 
88888 Dihedral
Guest
Posts: n/a
 
      09-28-2012
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.



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy come, easy go magwhite Wireless Networking 0 12-31-2007 09:29 AM
Is it reasonably easy easy to something like this with python? Bruno Desthuilliers Python 5 08-29-2007 07:40 AM
Stripping audio from qa DVD. Easy or not so easy? GJ Computer Support 1 05-23-2007 02:03 AM
easy to look at and easy to maintain web page menuing system. Hazzard ASP .Net 2 04-06-2004 03:51 AM
"Persistency Made Easy" source code and examples? Robert Buck C++ 0 02-24-2004 04:56 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57