As a Salesforce Admin, I noticed that some users were trying to log in from outside the company network. To keep our data safe, I set up a login access policy that only allows logins from trusted IP ranges.
Now, if anyone tries to log in from an unknown location, Salesforce blocks the attempt and alerts the user. This way, I can make sure only authorised users from secure networks can access Salesforce.
In this article, we will learn how to control login access policies in Salesforce. Additionally, we will learn the steps for controlling login access policies in Salesforce.
Login Access Policies in Salesforce
In Salesforce, login access policies are security settings that help administrators control when, where, and how users can log in to the platform. These policies define rules and restrictions for login attempts to ensure the security of Salesforce data.
One important setting is login hours, where the admin can define specific time periods during which users are allowed to log in.
For example, users may only have access to Salesforce during working hours. This prevents unauthorized access during non-working hours and adds an extra layer of security.
Another level of security is Two-Factor Authentication (2FA). With 2FA, Salesforce can require users to verify their identity through methods like SMS codes, authenticator apps, or verification prompts. This ensures that even if someone knows the password, they still cannot log in without the second verification step.
Salesforce also provides Password Policies. Admins can enforce strong password rules such as minimum length, complexity, expiration periods, and restrictions on reusing old passwords. This helps maintain stronger protection against unauthorized access.
In addition, admins can configure Login Challenges. For example, users may be asked to answer a security question, complete CAPTCHA verification, or respond to identity confirmation when logging in from an unrecognized device or location.
Control Login Access Policies in Salesforce
Here we are controlling login access policies in Salesforce Lightning. If you want to learn how to control the login access policies in Salesforce, follow these steps:
- Go to the Setup in the Quick Find Box, search for Login Access Policies under Security, and you will see the option. Click on it.

- You will now see the Login Access Policies setup page in Salesforce. This page allows Salesforce admins to control which support organisations users can grant login access to.
- It helps determine whether admins or Salesforce support can log in as a user for troubleshooting purposes.
- Administrators Can Log in as Any User:
- When this checkbox is selected, system administrators can log in directly as any user in the organisation without requiring the user’s permission.
- This is useful for resolving the issue if the user is unable to solve it, allowing the admin to log in as the user to check the problem the user is facing.
- Support Organisation (Salesforce.com Support):
- Here, we can define whether Salesforce Support staff can log in to your organisation when you grant them access to resolve support cases.
- Available to Users: End users can grant Salesforce Support access through their personal login access settings.
- Available to Administrators Only: Only admins can grant Salesforce Support access; regular users cannot.

After customising the settings, click the Save button.

In this way, we understood how to control the login access policies in Salesforce Lightning.
Conclusion:
In this Salesforce tutorial, we learned how to control Login Access Policies in Salesforce. These policies allow administrators to decide whether they can log in as any user and whether Salesforce Support can access the org for troubleshooting.
In short, Login Access Policies help manage when and how users or Salesforce Support can be granted access to an account, ensuring better control and security for your Salesforce org.
You may also like to read:
- Add Login Button for User in Salesforce
- Restrict Users From Switching Salesforce Lightning to Salesforce Classic
- How to get a free salesforce account
- Grant Access Using Hierarchies in Salesforce
- Activate Data Integration Rules in Salesforce
I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.