
Finding out VPN properties through VBScript
I am attempting to detect the existance of a VPN
connection on a client through
VBScript in an ASP page.
Our intranet contains certain resources that require the
user to be VPN'd into our network in order to access
them.
For example, a user could connect to the site via the
Internet without a VPN connection:
https://www.mycompany.com/
but to get to a certain resource, they must be VPN'd in so
that the local address can be used:
http://companyname/some_resource/
I'd like to have the user that goes to:
https://www.mycompany.com/some_resource/
be redirected to:
http://companyname/some_resource/
"response.redirect" works IF the user is VPN'd in. If not
I'd like to detect this and tell them to VPN in. If I
could find a way to initiate a VPN connection on the
client, that would be ideal.
Is this stuff possible?
Thanks.