Solved

What could be done to avoid a VFP a .exe to be decompiled ?

Posted on 2014-01-08
11
997 Views
Last Modified: 2014-01-12
Hi Experts!

What could be done to avoid a VFP a .exe to be decompiled and the code font exposed?

Thanks in advance.
0
Comment
Question by:Eduardo Fuerte
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 3
11 Comments
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 39764941
It is very hard to keep VFP code from getting decompiled. There is ReFox which can expose the code very easy in the lower levels of security. In the higher levels of security, ReFox cannot expose the code from the file, but the code can be exposed from memory by a program written by Chinese hackers.

ReFox decompiles and protects the code at the same time. It depends on how you use it.

So putting it simply, there is no 100% security.
0
 
LVL 42

Assisted Solution

by:pcelba
pcelba earned 250 total points
ID: 39764984
CaptainCyril is correct. Unfortunately.

The best way is to deliver the EXE together with source code. I am almost sure this way can avoid the EXE decompilation... :-)

Remember the fact not so many programmers know Visual FoxPro today. To go through thousands of lines of code is also not so easy... Who has time to do it today? Your big competitive advantage is you know the code and you have comments in the code. (Of course, if you keep the source in VCX and SCX files which are included in the app then everybody has the full source incl. comments.)

You may also think about rewriting some critical parts of your code into the C language and deliver them as a FLL library used by your app.

Also look here for this VFP compiler which can partially avoid decompilation: http://www.baiyujia.com/vfpcompiler/en/default.asp
0
 

Author Comment

by:Eduardo Fuerte
ID: 39765007
My worst suspicions are in course

My site have been accessed from China and a lot of downloads of my apps were downloaded... I checked it by ip.

Maybe they are copying all my code now.

I don't know what could be done from here.

I'm going to ask net provider if it's possible to avoid China access...
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 42

Expert Comment

by:pcelba
ID: 39765085
Each software appears on Torrents sooner or later... Would you sell your app in China?

People copying your app would never buy it.  BUT they can sell it which is not so good... The only way is to create new versions periodically so you are one step before them...

BTW, pirated Windows are much cheaper and they do have better support than the original version. So you have to be prepared for this situation...

I am not sure if your net provider can do something for you... To access your site from China via servers in the US is not so difficult...
0
 

Author Comment

by:Eduardo Fuerte
ID: 39765116
But, as a workaround I'm going to apply some difficulties by myself that couldn't be related here  some spyes maybe could read <|- )
0
 
LVL 27

Accepted Solution

by:
CaptainCyril earned 250 total points
ID: 39765579
To protect my code, I confuse the person who will read my code by switching variable names in the library or other places. I had many people pull their hair after reading my code :).
0
 

Author Comment

by:Eduardo Fuerte
ID: 39765648
Maybe if I obtain your personal e-mails I'm going to tell you what I'm doing....
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 39765807
My nickname plus hotmail.com.
0
 
LVL 42

Expert Comment

by:pcelba
ID: 39766092
Yes, to have variables and fields like mmmnnmnm, nmmnnmmm, mmnnmnn, etc. across the app is good idea. I've been thinking about such app scrambler BUT it could just invoke some descrambler development...

My address is in my profile here.
0
 
LVL 27

Expert Comment

by:CaptainCyril
ID: 39766831
There are some good obfuscation programs for PHP. I never saw one for Fox.
0
 

Author Closing Comment

by:Eduardo Fuerte
ID: 39775260
Thank you for the guidance. I'm keep struggling with this problem...
0

Featured Post

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Visual FoxPro (short VFP) is a programming language with it’s own IDE and database, ranking somewhat between Access and VB.NET + SQL Server (Express). Product Description: http://msdn.microsoft.com/en-us/vfoxpro/default.aspx (http://msd…
Let's take a look back at the commercialization of the internet to understand why keeping it open and neutral is in our best interest as a society.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question