Salesforce Security Best Practices Flashcards
Q. What is Salesforce security?
A. Salesforce security encompasses authentication, authorization, data protection, and compliance measures to safeguard user data and system integrity.
Q. Why is security important in Salesforce?
- Prevents data breaches & unauthorized access
- Ensures compliance with regulations (GDPR, CCPA, HIPAA)
- Protects business-critical operations
Q. What are the key layers of security in Salesforce?
- Organization-Level Security
- Object-Level Security
- Field-Level Security
- Record-Level Security
Q. What are the primary authentication methods in Salesforce?
- Username & Password
- Multi-Factor Authentication (MFA)
- Single Sign-On (SSO)
- OAuth & JWT authentication
Q. What is Multi-Factor Authentication (MFA)?
A. MFA requires users to verify their identity using two or more factors, such as a password and a mobile authenticator app.
Q. What is the difference between OAuth and SAML in Salesforce authentication?
- OAuth is used for API authentication & delegated authorization.
- SAML (Security Assertion Markup Language) is used for Single Sign-On (SSO) authentication.
Q. What are best practices for authentication in Salesforce?
- Enforce MFA for all users
- Use SSO for centralized authentication
- Enable IP restrictions & login hours
Q. What is the difference between profiles and permission sets in Salesforce?
- Profiles define baseline permissions for objects, fields, and apps.
- Permission Sets grant additional permissions beyond the user’s profile.
Q. What is a permission set group?
A. A feature that allows combining multiple permission sets for easier assignment and management.
Q. What are best practices for managing user access in Salesforce?
- Follow Principle of Least Privilege (PoLP)
- Use permission sets instead of modifying profiles
- Regularly audit inactive users & permissions
Q. What is record-level security in Salesforce?
A. A security model that controls which users can access specific records.
Q. What are the main mechanisms for record-level security?
- Organization-Wide Defaults (OWD)
- Role Hierarchy
- Sharing Rules
- Manual Sharing
- Apex Sharing (Programmatic Sharing)
Q. What are best practices for record-level security?
- Set OWD to the most restrictive level and grant access selectively.
- Avoid excessive manual sharing and use sharing rules instead.
- Implement Apex Sharing for complex sharing requirements.
Q. What is Field-Level Security (FLS) in Salesforce?
A. Field-Level Security controls which fields are visible, editable, or hidden for users.
Q. How does Field-Level Security differ from Object-Level Security?
- Object-Level Security restricts access to entire objects.
- Field-Level Security restricts access to individual fields within objects.