Question

Difficulty: HardLogin Security, Login IP Ranges, and Login Hours

A security audit requires an organization to implement strict login controls for users assigned to the Field Auditor role. The administrator must ensure that:
1. Users attempting to log in from outside the corporate VPN subnet are completely blocked from authenticating.
2. Users currently logged in have their active session forcibly terminated as soon as their defined shift ends.

Which two configuration actions must the System Administrator perform to meet these requirements? (Select 2 answers)

  1. Add the corporate VPN subnet to the Login IP Ranges section on the Field Auditor profile.Answer
  2. Enable 'When login hours expire, terminate the session immediately' in Session Settings.Answer
  3. C
    Add the corporate VPN subnet to Network Access under Organization-Wide Security Controls.
  4. D
    Create a Permission Set with restricted Login IP Ranges and assign it to the Field Auditor users.

Answer

The administrator must add the corporate VPN subnet to the Login IP Ranges section on the user profile and enable immediate session termination upon login hours expiration in Session Settings.
Adding IP ranges to a user profile restricts login access strictly to those IP addresses, denying any attempt outside the range. Additionally, selecting the immediate session termination option under Session Settings ensures that active user sessions end immediately when profile Login Hours expire rather than allowing passive view access.

Step-by-Step Solution

1
Differentiate profile-level IP restrictions from org-wide Network Access.
Recognize that profile-level Login IP Ranges enforce a strict denial for any IP outside the specified list, satisfying the requirement to completely block unauthorized IP authentication.
Org-wide Network Access ranges only allow users to bypass activation code prompts, whereas profile IP ranges restrict total access.
2
Configure the session expiration behavior for active users.
Identify the Session Settings option 'When login hours expire, terminate the session immediately'.
Without this global setting enabled, users already logged in when their profile Login Hours end can remain in their session until navigating or making server calls.
3
Verify profile vs permission set capabilities.
Confirm that IP range restrictions and Login Hours can only be enforced at the profile level, not via permission sets.
Salesforce architecture mandates that IP ranges and login hours are defined per profile.

Key Concept

Profile IP Restrictions vs. Org Network Access and Session Setting Expiration Policies
Rate this question