How to access a remote SQL Server Database (not exist in same network domain) from ASP.NET Web Application Without Credentials
How to access a remote SQL Server Database (not exist in same network domain) from ASP.NET Web Application Without Credentials. Enable the Windows Authentication | Trust Domain | Impersonation / Delegation vs. Trusted Subsystem | Using Constrained Delegation through Multiple Tiers | Application Pool Settings/ ASP.NET Security Content Page /Web.Config encrypt/ SPN Double Hop Issues for IIS Server & SQL Server
During this span of analysis, I found various new technical terms such as “Trust Domain”, “User Delegation”, ”Set SPN”, which are basically Windows Active Directory and Domain oriented changes that should be done by System Administrator. It seems an Asp.Net developer could not be done anything except specifying the domain account in Application Pool in IIS for that Application.
=========================================================
Advertisement: Choosing .NET Core Worker Services OR Windows Services?
=========================================================
Advertisement: Choosing .NET Core Worker Services OR Windows Services?
=========================================================
Having said, the analysis has taught me that it requires lot more changes from Server and Network part and could be a tedious job also. I posted in MSDN forum and got various valid references which helped me to proceed further.
Here are the references links:
Impersonation / Delegation vs. Trusted Subsystem:
Using Constrained Delegation through Multiple Tiers:
About Application Pool Settings/ ASP.NET Security Content Page /Web.Config encrypt/ SPN Double Hop Issues for IIS Server & SQL Server and lot more discussed in this thread.
Connecting to SQL Server on a Workgroup PC, from a Domain PC, using Windows Authentication/ Trust Domain:
Hope this helps to implement the technical changes according to your requirements.
Happy Learning!.
Comments
Ling