Skip Navigation
Developers
Developers
The online Trailblazer Community becomes read-only Oct 30, 2026.
Read More
Security
Learn more about building secure applications on Salesforce that protect your customer and business data.
Salesforce Resources
Salesforce
Security
Visit Salesforce's Security website to learn about best practices and find key resources.
Developer Guide
Security Review
Visit Salesforce's Security website to learn about best practices and find key resources.
Developer Guide
Security Requirement
Checklist
Learn about the key requirements for secure development on Salesforce.
Partner Security Portal
Salesforce Security Office
Hours
Learn about the key requirements for secure development on Salesforce.
Developer Guide
Secure Coding Guidelines
This guide walks you through the most common security issues Salesforce has identified while auditing applications built on or integrated with the Salesforce Platform.
Developer Guide
Named Credentials as Callout Endpoints
A named credential specifies the URL of a callout endpoint and its required authentication parameters in one definition.
Developer Guide
Sharing a Record Using Apex
To access sharing programmatically, you must use the share object associated with the standard or custom object for which you want to share.
Developer Guide
Security for Lightning Components
Learn how to build secure Lightning web components (LWC) and Aura components that work with Lightning Web Security (LWS) or the legacy architecture Lightning Locker.
All Docs
Documentation
Developer Security
Quiz
The Force.com developer security quiz is an evaluation tool intended to gauge your technical knowledge of Force.com security features and best practices.
Salesforce Platform Code Security
Scanner
To perform a static analysis scan of all unpackaged code in your organization, please enter the username of an AuthorApex user in the organization to be scanned. The results will be sent to the email address on file for that account.
Source Scanner
Portal
The security portal for Salesforce partners who would like to scan their code or schedule office hours.
Salesforce Platform Enterprise Security API
(ESAPI)
The Force.com ESAPI (The OWASP Enterprise Security API) library is designed to make it easier for programmers to retrofit security into existing applications or build a solid foundation for new development.
Providence
Providence is a system for code commit & bug system monitoring. It is deployed within an organization to monitor code commits for security (or other) concerns, via customizable plugins. A plugin performs logic whenever a commit occurs.
Salesforce Code
Analyzer
Analyze your source code to ensure it meets code quality standards.
Tools
Module
Security
Basics
800 Points
Get familiar with security best practices and expand your admin toolkit.
Module
Data
Security
3100 Points
Learn why testing helps you create better software and how to run various unit tests.
Module
Develop Secure Web
Apps
1100 Points
Learn how to combat common vulnerabilities and push your Apex coding skills to the limit.
Trail
Secure Identity and Access
Management
4800 Points
Learn how Salesforce Identity lets you give the right people the right access to the right resources at the right time.
All Trailhead Modules
Trailhead