Using Integrated Security for Accessing SQL on Remote Server
From: eRic (anonymous_at_discussions.microsoft.com)
Date: 02/29/04
- Next message: eRic: "Re: Active Directory"
- Previous message: Alek Davis: "Re: Who am I impersonating?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 28 Feb 2004 16:31:05 -0800
Hello,
I am currently trying to use integrated security to access the SQL database for the ASP.NET application (deployed on an intranet).
I am following this article:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskaccessingsqlserverwithexplicitcredentials.asp
So far I have
1. Set the Web.config file to impersonate a specific domain user
<identity impersonate="true" userName = "myDomain\myUserName" password="password"/>
2. Created the login in the SQL server and given it appropriate permissions
3. Used Integrated Security = SSPI in the connection string
4. IIS does not allow anonymous access on the site and is using Windows Integrated Security
So far it's a no go.
I've also gone as far as to set the same user (that maps to the SQL login) as the user for the processModel and still nothing.
(do you need to reboot the box before changes in machine.config take place?)
I read a previous thread that said you need to enable Kerberos delegation for any identity to be passed acrossed machines. Is that the case? If so I really don't understand how the article that I mentioned above could work.
Thanks
- e
- Next message: eRic: "Re: Active Directory"
- Previous message: Alek Davis: "Re: Who am I impersonating?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|