简体   繁体   中英

ASP.NET not passing credentials to SQL Server when using chrome

My company is planning to upgrade all our users to windows 7, and with it upgrading all the user browsers to chrome.

We have several intranet sites using asp.net mvc and mvc webapi. I have set my intranet to the trusted domain setting, and I can confirm that when viewing a page in chrome the User.Identity.Name property is correctly set to my information. However, when I try to do any action that requires sql server connectivity it fails instantly, complaining about Anonymous login which is disabled.

This is problematic, as we would like to get our users off IE.

After some digging it seems the best way to handle this is talking with our IT department to deploy software policies to enable kerberos delegation in the registry based on this information here: http://www.chromium.org/administrators/policy-list-3#AuthNegotiateDelegateWhitelist

After adding this key to my registry i was able to "hop" to SQL Server without issues. I hope this helps others as this issue was driving me nuts.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM