![]() |
Identify: VPN or Network - What API Function do I use?
How do you identify if a user is Local or VPN?
It will either be a VPN from a remote location or a Network Login from inside the office. Thanks in advance, Yo. |
Identify: VPN or Network - What API Function do I use?
"Yo" wrote in message ...
How do you identify if a user is Local or VPN? It will either be a VPN from a remote location or a Network Login from inside the office. I don't know that you can. The very nature of a VPN is to make it so that the remote user is effectively inside the network - they are assigned a local IP. What does it matter to your VB app? -Pete |
Identify: VPN or Network - What API Function do I use?
Hi Yo,
The only way I can think of to do something like this is look at the user's IP address. If your Active Directory setup assigns designated IP addresses to VPN users, then you can test to see if the IP is in that range. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] Yo wrote: How do you identify if a user is Local or VPN? It will either be a VPN from a remote location or a Network Login from inside the office. Thanks in advance, Yo. |
Identify: VPN or Network - What API Function do I use?
Yo,
A lot of implementations use a set range of IP Addresses for VPN usage. You could check for that. Otherwise, a crude hack might be to measure ping times against a local server. Rob "Yo" wrote in message ... How do you identify if a user is Local or VPN? It will either be a VPN from a remote location or a Network Login from inside the office. Thanks in advance, Yo. |
Identify: VPN or Network - What API Function do I use?
My company has 2 offices which are a block appart. The main office needs to
know who in the secondary office is in (Local) or logged from home (VPN). The secondary office is on a point to point T1 so it has the same internal IP, and the VPN I am going to assume is different. Thanks for the suggestions, Pete, Jake & Rob. I am going to need to ID the machines IP address. Thanks Yo. "Peter Young" wrote in message ... "Yo" wrote in message ... How do you identify if a user is Local or VPN? It will either be a VPN from a remote location or a Network Login from inside the office. I don't know that you can. The very nature of a VPN is to make it so that the remote user is effectively inside the network - they are assigned a local IP. What does it matter to your VB app? -Pete |
All times are GMT +1. The time now is 11:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com