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

Hi Experts!

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

Thanks in advance.
Eduardo FuerteDeveloper and AnalystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
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.
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
Eduardo FuerteDeveloper and AnalystAuthor Commented:
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...
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

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...
Eduardo FuerteDeveloper and AnalystAuthor Commented:
But, as a workaround I'm going to apply some difficulties by myself that couldn't be related here  some spyes maybe could read <|- )
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
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 :).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eduardo FuerteDeveloper and AnalystAuthor Commented:
Maybe if I obtain your personal e-mails I'm going to tell you what I'm doing....
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
My nickname plus hotmail.com.
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.
CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
There are some good obfuscation programs for PHP. I never saw one for Fox.
Eduardo FuerteDeveloper and AnalystAuthor Commented:
Thank you for the guidance. I'm keep struggling with this problem...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.