Skip to main content

Security

Salesforce security model — access control, sharing, permissions, and programmatic enforcement.

Topics Covered

  • CRUD/FLS Enforcement — Object and field-level security in Apex, WITH SECURITY_ENFORCED, stripInaccessible
  • Sharing Model — with sharing, without sharing, inherited sharing in Apex classes
  • Org-Wide Defaults — Private, public read-only, public read/write, controlled by parent
  • Profiles & Permission Sets — Object permissions, field permissions, system permissions, assignment
  • Sharing Rules — Owner-based, criteria-based, manual sharing, apex managed sharing
  • Role Hierarchy — Record access inheritance, territory management