function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anusfdc123anusfdc123 

Check connection to server (https://xxxxx.com/) from salesforce.com

Hi,

Iam trying to find a way to check if a sales rep is connected to company's VPN from Salesforce.com. Is there a way we can do that. Iam exposing one of our internal application within Salesforce and for accessing that app, the user needs to be in VPN. I need to first check if the user logged in to VPN and if not, I want to display a message asking him to log in to VPN. 

Appreciate your help

JP.

Vadim RudkovVadim Rudkov

You can restrict login to Salesforce only from your company's VPN IP for sales rep's profile.

anusfdc123anusfdc123

Hi, 

Our Sales rep can access Salesforce.com from anywhere, but for accessing one of our internal app, they need to be on VPN. What Iam looking for is when the user clicks on the tab to access one of our internal app, I need to check if the user is connected to vpn before he can access the application.

JP.