Sub topic 1
Multi-Factor Authentication and Login Security in Salesforce
Prerequisites
Assume you know Salesforce users, profiles, permission sets, and Setup navigation. You should also understand usernames and passwords as login credentials.
How Salesforce Authenticates Users
Salesforce first checks the user’s identity with a login method such as a username and password, single sign-on (SSO), or an identity provider. It then creates a session that allows access to Salesforce resources.
Attackers commonly target:
- Stolen or reused passwords
- Phishing pages that imitate Salesforce
- Session tokens taken from an infected device
- Unapproved OAuth connections
- Weak recovery processes
A password proves only that someone knows a secret. It does not prove that the person owns the device or has the registered security key.
What MFA Is and Why Salesforce Requires It
Multi-factor authentication (MFA) requires two or more different kinds of evidence:
- Something you know, such as a password
- Something you have, such as a phone or security key
- Something you are, such as a biometric
MFA limits the damage from a stolen password. Salesforce requires MFA for many direct user-interface logins because Salesforce data remains exposed when passwords are the only barrier. MFA does not replace good password practices, device security, or access controls.
Choosing Verification Methods
| Method | Best fit | Main consideration |
|---|---|---|
| Salesforce Authenticator | Mobile users who want push approval | Requires a registered mobile device |
| TOTP authenticator app | Users needing offline, rotating codes | Users must protect backup access |
| Security key | High-risk users or phishing-resistant access | Requires compatible hardware |
| Built-in authenticator | Devices with supported biometric or PIN features | Depends on device and browser support |
Choose at least one recovery path before enforcement. Test the method with representative devices and users.
Enabling MFA for Your Users
Create or open a permission set, enable Multi-Factor Authentication for User Interface Logins, and assign it to a pilot group. Where your Salesforce configuration supports a profile setting for the same permission, you can use that instead. Ask users to register a verification method before requiring it, then expand the assignment in stages.
SSO and API behavior need separate testing. MFA for Salesforce user-interface logins does not automatically mean that every API integration can complete an interactive MFA challenge.
Exercise
A user’s password is stolen, but the attacker cannot access the user’s registered security key. What does MFA prevent?
Show answer
It prevents the attacker from completing the login because the password alone is insufficient.