[SalesForce] How to hide the code in visualforce page

I developed my app,

The controller is complete, and also the visualforce, but I need to hide my code at installing the app in another salesforce account.
How can I make this possible?

Is there any way to hide both codes? The apex and the code behind?

Thanks in advance.

Best Answer

You'll want to refer to the ISVForce guide, but in summation, if you're using a managed package, your Apex Code will be hidden from subscribers, but your Visualforce and JavaScript cannot be hidden.