Data Security
Data Security
AJSD
1.Organization-level security:
1.∙ Password policies: Set password policies, including how long passwords are valid
and how complex they must be.
2∙ Login restrictions: Limit when and where users can log in, such as by restricting
logins to specific hours or IP addresses.
2.Object-Level Security
1. Object Permissions
Object permissions define what actions users can perform on records of a specific
object type. These permissions are essential for controlling access to Salesforce data
and include.
o View All: Users can view all records of that object type, regardless of ownership
or sharing settings.
o Modify All: Users can view and edit all records of that object type, regardless of
ownership or sharing settings.
AJSD
2. Profiles and Permission Sets
o Profiles: Define the baseline level of access to fields for users. Each profile can
have specific settings that control whether a field is visible or read-only.
1. Object Permissions
2. Field permissions
3. Record Types
4. Page layout
3.Field-Level Security
1. Field Visibility
o Read-Only Access: Users can view the field but cannot modify its value.
o Hidden Fields: Users cannot see the field at all. This ensures that sensitive
information is not exposed to unauthorized users.
2. Access Controls
o Page Layouts: While Page Layouts control the visibility and arrangement of
fields on record pages, Field-Level Security determines the access permissions
for those fields. Page Layouts cannot override FLS settings.
AJSD
4.Record level security
∙ Definition: OWD settings define the baseline level of access to records for all users
within the organization. They control the default visibility of records and are foundational
for record-level security.
1∙ Access Levels:
o Public Read/Write: All users can view and edit all records.
o Public Read Only: All users can view records, but only the owner or users with
special permissions can edit them.
o Private: Only the owner of the record and users with explicit sharing permissions
can view or edit the record.
AJSD
2. Role Hierarchy
∙ Definition: Role hierarchy determines the level of access users have to records based
on their role within the organization. Higher roles in the hierarchy can access records
owned by users in lower roles.(or) Users higher in the hierarchy have access to records
owned by users lower in the hierarchy.
3. Sharing Rules
∙ Definition: Sharing rules automatically grant access to records based on certain criteria,
such as record owner, role, or public groups. (or) Define additional access levels for
specific groups of users.
∙ Types:
4. Manual Sharing:
∙
Definition: Allows users to manually share individual records with other users or groups.
This is useful for providing temporary or specific access beyond what is controlled by
OWD is private.(or) Users with appropriate permissions can manually share records
with other users.
5.Apex Sharing:
AJSD
What is the between role and profile:
Role Profile
The role is always dependent on the profile. The profile can be independent of the role.
Roles are not mandatory for users Profile is mandatory for users.
AJSD