Why IP Whitelisting & Access Control Matter in Salesforce Environments


Date: 20 April 2026

Featured Image

Every organization that runs Salesforce is sitting on a pile of sensitive data. Contact records, deal pipelines, support tickets, internal notes, and financial details; it all lives inside the CRM, accessible to anyone with the right credentials. And that last part is exactly where the risk lives. Credentials get stolen, phished, leaked, and reused across platforms every single day.

Passwords have been inadequate protection for years. Multi-factor authentication raised the bar, but it is not foolproof either: SIM-swapping attacks, MFA fatigue techniques, and session hijacking have all proven effective against it in real-world incidents. This is why network-level controls like IP whitelisting still matter. They add a layer of defense that operates independently of user credentials, and in Salesforce, they are built right into the platform.

How IP Whitelisting Works in Salesforce

The concept is straightforward. You define a list of trusted IP addresses or ranges, and Salesforce only allows login attempts from those sources. Requests originating from any other IP are either blocked outright or subjected to additional identity verification steps.

Salesforce provides two levels of IP restriction:

Organization-wide trusted IP ranges. These are set under Network Access in Setup. Any login from a trusted range skips the identity confirmation step that Salesforce normally triggers when it detects an unfamiliar IP. This is useful for office networks and corporate VPN exit nodes where you can reasonably trust that the person behind the keyboard is who they claim to be.

Profile-level login IP ranges. These are stricter. When configured, users assigned to that profile simply cannot log in from outside the defined IP ranges. There is no fallback verification, no email confirmation – the login is denied. This is the appropriate setting for profiles that have access to the most sensitive data or administrative functions.

The distinction between these two levels matters. Organization-wide ranges are a convenience feature with a security benefit. Profile-level ranges are a hard enforcement mechanism. Most organizations should be using both, applied strategically based on data sensitivity and user roles.

Why So Many Salesforce Orgs Get Access Control Wrong

Salesforce provides granular access control tools: profiles, permission sets, sharing rules, field-level security, and record-level access. On paper, the platform gives administrators everything they need to enforce least-privilege access. In practice, most Salesforce environments are far more permissive than they should be.

There are a few reasons this happens repeatedly.

Speed wins over structure during implementation. When a company first rolls out Salesforce, the priority is getting the system live. Teams grant broad access to avoid workflow disruptions, planning to tighten things later. But later gets pushed to the next quarter, then the next year, and eventually the over-permissive setup becomes the permanent baseline.

Permission sets stack up without review. As new features and integrations get added, users accumulate permission sets. Nobody goes back to audit whether earlier permissions are still necessary. Over time, individual users end up with far more access than their role requires — a textbook violation of least-privilege principles.

Sharing rules create unintended visibility. Salesforce sharing rules can expose records across teams and hierarchies in ways that are not always obvious from the admin console. A sharing rule that made sense for a five-person sales team can become a data exposure risk when the org scales to fifty users across multiple departments.

Custom code bypasses built-in security. Apex classes that run in system context ignore the user’s permission set entirely. If a developer writes a trigger or a batch job without explicitly checking object and field permissions, that code effectively has unrestricted access to the database. This is one of the most common and most dangerous patterns in Salesforce development.

These problems do not fix themselves. They require deliberate attention from someone who understands both the Salesforce permission model and the security implications of each configuration choice. This is where professional Salesforce development services become relevant — particularly for organizations that built their Salesforce environment quickly and never went back to audit access controls.

IP Restrictions and Remote Work: The Tension

Remote work created a real challenge for IP-based access controls. When employees work from home, coffee shops, or co-working spaces, their IP addresses change constantly. Enforcing strict IP whitelisting becomes impractical if it means locking out half your workforce every time their ISP rotates their address.

There are a few practical approaches to solving this without abandoning IP restrictions entirely.

VPN with static exit IPs. The most common solution. Employees connect to a corporate VPN, and all their traffic exits through a known IP range. That range gets whitelisted in Salesforce. The downside is that VPN adoption requires enforcement — if employees can bypass it, they will, and then the IP restriction is only protecting you from attackers who are not on the VPN either.

Zero Trust Network Access (ZTNA) tools. These replace traditional VPNs with identity-aware proxies that verify device posture, user identity, and context before granting access. Some ZTNA solutions can integrate with Salesforce session policies, creating a more dynamic access control model than static IP whitelisting alone.

Tiered IP restrictions by profile. Not every user needs the same level of restriction. Administrative profiles and users with access to financial or PII data can be locked to strict IP ranges, while standard sales or support users might operate under looser restrictions supplemented by MFA. This balances security with usability.

The right approach depends on the organization’s size, risk tolerance, and existing infrastructure. But doing nothing is a decision that carries measurable risk.

Session Security Settings That Complement IP Controls

IP whitelisting does not work in isolation. Salesforce offers several session-level security settings that should be configured alongside network restrictions:

Session timeout values. The default session timeout in Salesforce is two hours. For environments with sensitive data, shortening this to 30 or 60 minutes reduces the window during which an unattended session can be exploited. Users will need to re-authenticate more frequently, which is a minor inconvenience with a meaningful security payoff.

Lock sessions to the originating IP. When this setting is enabled, a session token becomes invalid if the user’s IP address changes mid-session. This defends against session-hijacking attacks in which a stolen session cookie is used from a different network. It can cause friction for users on unstable mobile connections, so it is best applied selectively to high-privilege profiles.

Require HttpOnly attribute. This prevents client-side scripts from accessing session cookies, which reduces the effectiveness of cross-site scripting (XSS) attacks against Salesforce. It is a simple setting with no real user-facing impact and should be enabled in every org.

Login flow enforcement. Salesforce allows administrators to create custom login flows that collect additional verification information during the authentication process. These can be configured to check device fingerprints, enforce security questions, or flag logins from unusual geographic regions based on IP geolocation data.

Monitoring and Responding to Access Anomalies

Configuring access controls is only half the equation. The other half is watching for signs that those controls are being tested or circumvented.

Salesforce provides several tools for this. The Login History page shows every authentication attempt, including the source IP, browser, and login status. Event Monitoring (available with the Salesforce Shield add-on) captures detailed audit logs covering data exports, report views, API calls, and permission changes.

Patterns worth investigating include repeated failed logins from unfamiliar IPs, successful logins from geographic regions where your organization has no employees, bulk data exports by users who do not normally pull reports, and API access spikes from connected applications.

Organizations that actively review these logs catch problems early. Those that do not tend to discover breaches months after the fact — often when a customer or regulator brings it to their attention.

Building Access Control Into the Foundation

The mistake most organizations make is treating access control as a settings page to fill out during setup and never revisit. In reality, access control in Salesforce is a living system that needs to adapt as the organization grows, as roles change, as new integrations are added, and as the threat environment shifts.

IP whitelisting, permission hierarchies, session policies, and monitoring are not separate tasks. They are interconnected components of a security posture that either work as a whole or fail at the weakest point. Getting them right requires planning, technical skill, and ongoing attention.

If your Salesforce environment has been running for more than a year without a dedicated access control review, the odds are good that permissions have drifted, IP restrictions are incomplete or missing, and session policies are still set to defaults. That is not unusual, but it is fixable, and the sooner it gets addressed, the smaller the window of exposure.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


After being teased in the second beta, the new “Bubbles” feature is finally available in Android 17 Beta 3. This is the biggest change to Android multitasking since split-screen mode. I had to see how it worked—come along with me.

Now, it should be mentioned that this feature will probably look a bit familiar to Samsung Galaxy owners. One UI also allows for putting apps in floating windows, and they minimize into a floating widget. However, as you’ll see, Google’s approach is more restrained.

App Bubbles in Android 17

There’s a lot to like already

First and foremost, putting an app in a “Bubble” allows it to be used on top of whatever’s happening on the screen. The functionality is essentially identical to Android’s older feature of the exact same name, but now it can be used for apps in addition to messaging conversations.

To bubble an app, simply long-press the app icon anywhere you see it. That includes the home screen, app drawer, and the taskbar on foldables and tablets. Select “Bubble” or the small icon depicting a rectangle with an arrow pointing at a dot in the menu.

Bubbles on a phone screen

The app will immediately open in a floating window on top of your current activity. This is the full version of the app, and it works exactly how it would if you opened it normally. You can’t resize the app bubble, but on large-screen devices, you can choose which side it’s on. To minimize the bubble, simply tap outside of it or do the Home gesture—you won’t actually go to the Home Screen.

Multiple apps can be bubbled together—just repeat the process above—but only one can be shown at a time. This is a key difference compared to One UI’s pop-up windows, which can be resized and tiled anywhere on the screen. Here is also where things vary depending on the type of device you’re using.

If you’re using a phone, the current bubbled apps appear in a row of shortcuts above the window. Tap an app icon, and it will instantly come into view within the bubble. On foldables and tablets, the row of icons is much smaller and below the window.

Another difference is how the app bubbles are minimized. On phones, they live in a floating app icon (or stack of icons) on the edge of the screen. You are free to move this around the screen by dragging it. Tapping the minimized bubble will open the last active app in the bubble. On foldables and tablets, the bubble is minimized to the taskbar (if you have it enabled).

Bubbles on a foldable screen

Now, there are a few things to know about managing bubbles. First, tapping the “+” button in the shortcuts row shows previously dismissed bubbles—it’s not for adding a new app bubble. To dismiss an app bubble, you can drag the icon from the shortcuts row and drop it on the “X” that appears at the bottom of the screen.

To remove the entire bubble completely, simply drag it to the “X” at the bottom of the screen. On phones, there’s also an extra “Manage” button below the window with a “Dismiss bubble” option.

Better than split-screen?

Bubbles make sense on smaller screens

That’s pretty much all there is to it. As mentioned, there’s definitely not as much freedom with Bubbles as there is with pop-up windows in One UI. The latter allows you to treat apps like windows on a computer screen. Bubbles are a much more confined experience, but the benefit is that you don’t have to do any organizing.

Samsung One UI pop-up windows

Of course, Android has supported using multiple apps at once with split-screen mode for a while. So, what’s the benefit of Bubbles? On phones, especially, split-screen mode makes apps so small that they’re not very useful.

If you’re making a grocery list while checking the store website, you’re stuck in a very small browser window. Bubbles enables you to essentially use two apps in full size at the same time—it’s even quicker than swiping the gesture bar to switch between apps.

If you’d like to give App Bubbles a try, enroll your qualified Pixel phone in the Android Beta Program. The final release of Android 17 is only a few months away (Q2 2026), but this is an exciting feature to check out right now.

A desktop setup featuring an Android phone, monitor, and mascot, surrounded by red 'missing' labels


Android’s new desktop mode is cool, but it still needs these 5 things

For as long as Android phones have existed, people have dreamed of using them as the brains inside a desktop computing setup. Samsung accomplished this nearly a decade ago, but the rest of the Android world has been left out. Android 17 is finally changing that with a new desktop mode, and I tried it out.



Source link