I have created an App that gets data from Web Services on an In*TRA*net web site. In order for my App to see these sites I have to turn on the VPN that is setup for our company intranet. So when I turn on the VPN it asked for authentication. That has to be turned on before my App launches because I know of no way to access the VPN via code (Is there anything in the SDK for working with the VPN?)
The problem is that once my my App launches it needs to authenticate against the intranet web site (authentication can't be turned off for security reasons).
So in this scenario:
- User turns on VPN, enters network credentials to get access to internal network
- User starts App that ask for network credentials (because web server asked for auth)
So as you can see this is quite a pain (having to enter network credentials twice).
Anybody have any ideas on how I could get around this?
BTW - I'm using ASIHTTPRequest in my code.