Python source code easy to hack?

J

Jayden

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
 
M

Mark Lawrence

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.
 
J

Jerry Hill

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.
 
L

Littlefield, Tyler

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

Neither of them are very "obfuscated".


Paranoia among managers?

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.

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.
 
8

88888 Dihedral

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top