Question

I want to find a solution whereby my user account is passed on via a website to authenticate to a remote SQL server instance.

So if my account name is Domain\Yaqoub, then when I browse my web page which connects to SQL it will pass on Domain\Yaqoub to the SQL Server.

*note - the solution should be able to work even if the SQL instance is on a different domain (which it is :)).

I have read some scenarios where the website and sql server are on the same domain, but this does not really help.

I thought that maybe if you map all the required usernames to the remote sql instance it may work?!

If you could list the steps with a little detail that would be very helpful.

thanks,

KS

Was it helpful?

Solution

In order for windows authentication to work across domains like you're describing, the domains would need to be configured to trust each other.

This isn't something that you could implement within the web application or within SQL Server. Once the domain trust is configured correctly, the standard solutions should work in this scenario.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top