In this tutorial, we will learn how to control the login access policies in Salesforce. Also, we will understand the steps of controlling the login access policies in Salesforce Lightning and the steps of controlling the login access policies in Salesforce Classic.
In Salesforce, the Login access policy explains the rule and restrictions for user access to the Salesforce platform. These types of policies control how and when the user can log in to the network or device they want to access they can use and how many levels of security need the user for the login attempts.
While working with an organization that uses Salesforce, I got a task where I needed to control the login access policies in Salesforce. To fulfill this requirement I use the login access policies object that is present under the Security.
So after looking at the multiple solutions, I found a solution that helped me to control the login access policies in Salesforce. If you want to learn how to control the login access policies in Salesforce Lightning as well as Salesforce Classic, you have come to the right place.
Login access policies in Salesforce
In Salesforce the login access policies are used to manage access whenever the user is induced to grant the account access to Salesforce admin and even if the user is induced to grant access to the publisher.
This login access policy explains the rule and restrictions for user access to the Salesforce platform. These types of policies control how and when the user can log in to the network or device they want to access they can use and how many levels of security need the user for the login attempts.
For the login access policies, there are so many levels of security for the login attempts.
The first level of security is login hours within the login hours the administrators can explain the during which time period the user is permitted to login into the salesforce.
This type of security can make sure that the user can approach the system during the chosen working hours and also increase security by stopping unofficial access during non-working hours.
There are also two-factor authentications that support the salesforce from various methods like SMS verification, and authenticator apps, adding the extra layer of security from the login process and also reducing the risk of unauthorized access.
There is a password policy attached to the login access policy. In this policy, the administrator can explain the password policy to impose the hard and strong password requirement. This password policy can involve complexity, password length, expiration period, and prevention of password reuse.
There are login challenges that can be activated during the login process. These things may involve the security question that the user can answer and also uses the CAPTCHA verification.
In this way, we have learned about the Login access policies in Salesforce. Now, let’s move further and see how to control login access policies in Salesforce. We will explore both the salesforce experiences: Salesforce Lightning and Salesforce Classic
How to control login access policies in Salesforce Lightning
Here we are controlling login access policies in Salesforce Lightning. If you want to learn how to control the login access policies in salesforce lightning follow these steps:
Step-1: Login into your Salesforce lightning account, Go to the gear icon. Under the gear icon, there are two options present first one is Setup and another one is Service Setup. Here we are clicking on the Setup option.

Step-2: After clicking on the setup option, the setup page is open. Enter the login access policies in the Quick Find Box and the login access policies come at the top. Click on the login access policies. And these login access policies are present under the security in the left sidebar.

Step-3: After clicking on the login access policies, the login access policies page is open. The login access policies control and supports organizations to which your users can grant login access to.
Here we can manage support options and change the setting of administrators can log in as any user. Click on the checkbox of the administrators can log in as any user. Now click on the available users of the salesforce.com support.
After that click on the save button that is present at the top and the bottom of the page of the login access policies.

Step-4: After clicking on the save button, the changes that we have made to the login access policies can be successfully changed. After changing this login access policy now the administrator can log in as any of the users.

In this way, we understand how to control the login access policies in Salesforce Lightning. Let’s Proceed further and learn how to control the login access policies in Salesforce Classic.
How to Grant Login Access to Support in Salesforce
How to control login access policies in Salesforce Classic
Here we are controlling the login access policies in Salesforce Classic. If you want to learn how to control the login access policies in Salesforce Classic follow these steps:
1: First log in to the Salesforce account, when we log in to the account the Salesforce lightning edition is open. Moving to Salesforce Classic, click on the Profile picture. The Profile picture drop-down list is open. Under this profile picture list, there is an option to switch to Salesforce Classic. Click on it.
After clicking on the switch to Salesforce Classic option, click on the drop-down arrow of the username. The drop-down list is open, under this list Setup option is present below the My Profile option. Click on the Setup.

2: After clicking on the setup option, the setup page is open. Enter the login access policies in the Quick Find Box and the login access policies come at the top. Click on the login access policies. And these login access policies are present under the security in the left sidebar.

3: After clicking on the login access policies, the login access policies page is open. The login access policies control and supports organizations to which your users can grant login access to.
Here we can manage support options and change the setting of administrators can log in as any user. Click on the checkbox of the administrators can log in as any user. Now click on the available users of the salesforce.com support.
After that click on the save button that is present at the top and the bottom of the page of the login access policies.

4: After clicking on the save button, the changes that we have made to the login access policies can be successfully changed. After changing this login access policy now the administrator can log in as any of the users.

In this way, we understand how to control the login access policies in Salesforce Classic.
Conclusion:
In this Salesforce tutorial, we have learned about how to control the login access policies in Salesforce. We have also discussed how to control login access policies in Salesforce.
So, with this, we conclude that the login access policies are used to manage access whenever the user is induced to grant the account access to Salesforce admin and even if the user is induced to grant access to the publisher.
Moreover, we have learned that Salesforce Lightning as well as Salesforce Classic gives a simple and easy way to determine how to control the login access policies in Salesforce.
In addition to this, the following are the topics that we have discussed in this blog:
- Login access policies in Salesforce
- How to control login access policies in Salesforce Lightning
- How to control login access policies in Salesforce Classic
You may also like to read:
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.