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

Security for Apex Class

Hi all,

I want to ask about apex class and visual force security.
My company want to deploy apex class to our client, is it possible after deployment, our client cannot see apex class and visualforce page? Meaning the client can't edit, delete or even see the code inside apex class and visualforce page.
Is there any limitations for salesforce security about this matter ? any suggestions would be great and this is very important.

If you want to lock down client access/visibility, you can place your pages, controllers, classes, and triggers in a managed package and deploy this at your customer.  By placing these items in a managed package, custom controllers, classes, and triggers are obfuscated - meaning only global signatures are exposed.  Apexpages are not obfuscated.