All exams← All Salesforce Certified Administrator notes

Security and Access: Salesforce Certified Administrator revision notes

Revision notes

## 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.

Key facts

Flashcards

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
Practice questions

Security and Access: 5 practice questions

Q1. What is the most restrictive access level an administrator can set for an object using Organization-Wide Defaults (OWD)?
  • A.  Controlled by Parent
  • B.  Public Read Only
  • C.  Private
  • D.  No Access
Show answer & explanation
✓ Answer: C. Private
Private is the most restrictive OWD setting, where only the record owner and users above them in the role hierarchy can view, edit, and report on those records.
Q2. A user's profile grants them Read and Edit access to the Opportunity object. However, they are unable to edit a specific Opportunity record owned by a colleague. What is the most likely reason for this?
  • A.  The OWD for Opportunities is Private, and no sharing rule grants access.
  • B.  Field-level security is preventing the edit.
  • C.  The user needs a permission set to edit Opportunities.
  • D.  The user's role is below the record owner's role.
Show answer & explanation
✓ Answer: A. The OWD for Opportunities is Private, and no sharing rule grants access.
Profiles and permission sets grant object-level access, but record-level access is controlled by OWDs, the role hierarchy, and sharing rules. If the OWD is Private, the user needs specific record access.
Q3. An administrator needs to grant a group of 5 users from different departments 'Modify All Data' permission for a single custom object. All 5 users have different profiles. What is the most efficient way to grant this access?
  • A.  Add the 'Modify All' permission to each of the 5 different profiles.
  • B.  Create a permission set with the 'Modify All' permission for the object and assign it to the 5 users.
  • C.  Create a new Profile with the permission and assign it to the users.
  • D.  Create a public group and a criteria-based sharing rule.
Show answer & explanation
✓ Answer: B. Create a permission set with the 'Modify All' permission for the object and assign it to the 5 users.
Permission sets are designed to grant additional permissions to specific users on top of their profile, making it ideal for granting access to users with different profiles without changing them.
Q4. The OWD for the Case object is set to 'Private'. A manager is directly above a support agent in the role hierarchy. By default, what level of access does the manager have to the cases owned by that agent?
  • A.  Read and Edit access
  • B.  Read-Only access
  • C.  Full access (Read, Edit, Transfer, Delete)
  • D.  No access at all
Show answer & explanation
✓ Answer: C. Full access (Read, Edit, Transfer, Delete)
The role hierarchy grants managers full access to records owned by their direct and indirect subordinates. This includes the ability to read, edit, transfer, and delete those records.
Q5. A custom object 'Invoice' is the detail object in a master-detail relationship with the Account object. What happens to an Invoice record if the parent Account record is deleted?
  • A.  The deletion is blocked until all child Invoice records are manually deleted.
  • B.  The Invoice record becomes an orphan and its owner field is cleared.
  • C.  The Invoice record is automatically reassigned to the administrator.
  • D.  The Invoice record is automatically deleted (cascade delete).
Show answer & explanation
✓ Answer: D. The Invoice record is automatically deleted (cascade delete).
In a master-detail relationship, the detail record's lifecycle is tied to the master. Deleting the master record (Account) will always result in the cascade deletion of all its detail records (Invoices).
Test yourself
See the Salesforce Certified Administrator page

More Salesforce Certified Administrator topics