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
Solved

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

Posted on 2014-01-08
11
928 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

840 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