How to run application but not allow user to see contents

I sell digital downloads for an OSx software. I have an installer that users download that is a .app installer. I want them to be able to run the .app and let it install the product for them. The installation process covers validation as well as copying folders to certain places on their computers so that my product will work for them.

However now I have found people who are pirating and sharing my products simply by right clicking on the .app and going into "Show Package Contents". Through this method they are grabbing all the contents they need without actually running the .app to do the installation for them and validate their purchase.

Are there any permissions setting that will allow them to run the .app but not open or view the "Show Package Contents"? I have tried as many permissions settings that I can think of but when I restrict permissions to where they can't view the content then my installer no longer works and wont move the directories where they need to be for a successful installation.

Is there any way around this?

Thanks in advance

Did you look at encrypting data with a key only known from app ?


This encryption could be with crypto key, or simpler with some algorithm that scramble and unscramble data. AFAIK, that does not require any crypto law authorization. It would not be a strong protection agains profesional hacker, but enough against casual ones.

Hmm okay i will look into something liek that. Whenever I have tried anything at all that modifies a file i run into all sorts of permissions issues.

How to run application but not allow user to see contents
 
 
Q