function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
javierjiesjavierjies 

Hide my golden APEX code!!

Hello everyone!!

 

Do you know if there is any option to hide the Apex code (classes, pages and triggers) without doing a managed package?!?!?

 

Where are going to release our last salesforce project but we don't want to let them access to the code....

 

 

thanks in advance!!

Best Answer chosen by Admin (Salesforce Developers) 
AishAish

The only option today for obfuscation is to package the Apex code (classes/triggers) in a managed package.

 

The other option is architecturally very different and may not work for certain scenrios: You could potentially set up 2 orgs 1st which contains all your Apex code and 2nd, which is your customer's org where the data sits. Use Salesforce 2 Salesforce to move data from 2nd to 1st, do what your Apex code needs to do, then send processed data back to 2nd org from 1st again using Salesforce to Salesforce.