Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Enhance Salesforce with Code
Set Visualforce Page Security from a Page Definition

Set Visualforce Page Security from a Page Definition

Set Visualforce page security.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Contact Manager, Group, Professional, Enterprise, Performance, Unlimited, and Developer Editions
User Permissions Needed
To set Visualforce page security:

Manage Profiles and Permission Sets

AND

Customize Application

  1. From Setup, enter Visualforce Pages in the Quick Find box, then select Visualforce Pages.
  2. Next to the name of the page that you want to restrict, click Security.
  3. Select the profiles that you want to enable from the Available Profiles list and click Add.
  4. Select the profiles that you want to disable from the Enabled Profiles list and click Remove.
  5. Click Save.
 
Loading
Salesforce Help | Article