Answered by:
kerberos and ntlm connection

Question
-
Hi,
I've a web application (my first) which connect to SQL,
all the sql connections should connect using Kerberos
but 1 part of the application should made a sql connection with the application pool identity (domain accaount)
My connectionstring :
<add name="MyConnectionString" connectionString="Data Source=xxxxxx;Initial Catalog=xxxxxx;Integrated Security=True" providerName="System.Data.SqlClient" />
Kerberos works fine, but how do i define a connectionstring that will not use kerberos, without setting password in webconfig
tried already uid=domain\userthanks
- Moved by Xingyu ZhaoMicrosoft contingent staff Wednesday, June 3, 2020 1:41 AM
Tuesday, June 2, 2020 4:18 PM
Answers
-
I'd try asking for help over here.
https://forums.asp.net/25.aspx/1?Security
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlsecurity
https://forums.asp.net/1226.aspx/1?SQL+Server+SQL+Server+Express+and+SQL+Compact+Edition
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Wednesday, June 3, 2020 2:16 AM
- Proposed as answer by Guido Franzke Wednesday, June 3, 2020 6:18 AM
- Marked as answer by MarceldeStem Wednesday, June 3, 2020 9:23 AM
Wednesday, June 3, 2020 2:00 AM
All replies
-
Hi MarceldeStem,
Thank you for posting here.
In order to get more efficient responses about this problem, I have moved the thread to where is the forum for? forum which can help you find a correct forum to go ask questions.
Thank you for your understanding.
Best Regards,
Xingyu Zhao
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.Wednesday, June 3, 2020 1:40 AM -
I'd try asking for help over here.
https://forums.asp.net/25.aspx/1?Security
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlsecurity
https://forums.asp.net/1226.aspx/1?SQL+Server+SQL+Server+Express+and+SQL+Compact+Edition
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.
- Edited by Dave PatrickMVP Wednesday, June 3, 2020 2:16 AM
- Proposed as answer by Guido Franzke Wednesday, June 3, 2020 6:18 AM
- Marked as answer by MarceldeStem Wednesday, June 3, 2020 9:23 AM
Wednesday, June 3, 2020 2:00 AM