## Salesforce Security and Access
Salesforce employs a robust, layered security model to control access to data at various levels. Understanding this hierarchy is crucial for administrators.
## Organization-Wide Defaults (OWD)
Organization-Wide Defaults (OWD) are the baseline security settings for records in your Salesforce org. They define the default access level for records an owner *does not* own. OWDs are the most restrictive settings possible and should be set first. Options include:
- Private: Only the record owner and users above them in the role hierarchy can view, edit, and report on records. No one else can access them.
- Public Read Only: All users can view and report on records, but only the owner and users above them in the role hierarchy can edit them.
- Public Read/Write: All users can view, edit, and report on records.
- Controlled by Parent: Access is determined by the related parent record's OWD setting (for detail records in a master-detail relationship).
## Role Hierarchy
The Role Hierarchy opens up access vertically. Users at any given role level can automatically view, edit, and report on all records owned by users below them in the hierarchy, regardless of the OWD settings. This is a powerful way to grant managers access to their team's data.
## Sharing Rules
Sharing Rules open up access horizontally. They extend access to records beyond OWDs and the role hierarchy based on specific criteria or record ownership. Sharing rules can be:
- Criteria-based: Grants access to records that meet certain field criteria (e.g., all 'High Priority' cases).
- Owner-based: Grants access to records owned by users in a specific role or group (e.g., all cases owned by the 'Support Team' role).
## Manual Sharing
Manual Sharing allows individual record owners or users with 'Full Access' to a record to grant read or read/write access to specific users, public groups, or roles. This is used for ad-hoc, one-off sharing situations.
## Profiles and Permission Sets
Profiles define a user's baseline permissions, including object access (Create, Read, Update, Delete - CRUD), Field-Level Security (FLS), app access, tab visibility, page layout assignments, and system permissions (e.g., 'Modify All Data'). Every user must have exactly one profile.
Permission Sets extend a user's functional access without changing their profile. They grant additional permissions and settings (e.g., more object permissions, specific field access, custom app access). Users can have multiple permission sets, and they are additive to the profile.
Field-Level Security (FLS) controls whether a user can see, edit, or delete the value for a particular field on an object. This is set at the profile or permission set level.
## Organization Security Controls
Administrators can configure various org-wide security settings:
- Password Policies: Define password requirements, expiration, and lockout settings.
- Login IP Ranges: Restrict user logins to specific IP addresses.
- Login Hours: Restrict when users can log in.
- Multi-Factor Authentication (MFA): Requires users to verify their identity with a second factor (e.g., authenticator app) in addition to their username and password.
- Health Check: A tool to assess and improve the security posture of your Salesforce org against a security baseline.
- Session Settings: Control session timeout, security levels, and IP address enforcement for sessions.
What is the most restrictive level of data access in Salesforce?
Organization-Wide Defaults (OWD)
tap to reveal
How does the Role Hierarchy impact record access?
It grants vertical access, allowing users to see records owned by those below them in the hierarchy.
tap to reveal
What is the primary purpose of Sharing Rules?
To grant horizontal record access based on criteria or ownership, extending beyond OWDs and the role hierarchy.
tap to reveal
What defines a user's base object, field, and app permissions?
Their Profile
tap to reveal
How can you grant *additional* permissions to a user without changing their profile?
By assigning a Permission Set
tap to reveal
What controls whether a user can see or edit a specific field on a record?
Field-Level Security (FLS)
tap to reveal
What security feature helps prevent unauthorized logins by requiring a second verification method?
Multi-Factor Authentication (MFA)
tap to reveal
Which tool helps administrators assess and improve their org's security settings?
Health Check
tap to reveal