I created an application that receives data from web services on the In TRA website. For my application to see these sites, I must enable the VPN that is configured for our company intranet. So when I turn on the VPN, it asks for authentication. This should be enabled before starting my application, because I don’t know how to access the VPN through the code (is there anything in the SDK for working with VPN?)
Problem is that after launching my application, the application must be authenticated on the intranet website (authentication cannot be disabled for security reasons). p>
So in this case:
- The user turns on the VPN, enters network credentials to gain access to the internal network.
- The user launches an application requesting network credentials (since the web server requested authorization)
So, as you can see, this is very painful (you need to enter the network credentials twice).
Anyone have any ideas on how I could get around this?
BTW - I use ASIHTTPRequest in my code.
iphone
Lance perry
source share