I need to solve the double hop issue for SharePoint 2010 application page. The ASP (C# code behind) page must connect securely to SQL server instance on another host. The secure store service appears to me to only work for a webpart. This can not be accomplished for the application page. Is there a secure alternative?
Current connection string is similar to:
private const string CONNECT_STR = @"Data Source=10.X.X.X,1433 ;Initial Catalog=TestCatalogName ; Integrated Security=false;User ID=testID;Password=********";
SqlConnection con = new SqlConnection(CONNECT_STR)
This seems like a common problem in SharePoint so I hope there is a corresponding common solution.