INFO: Accessing SQL Server with Integrated Security from ASPID: Q176377
|
When accessing SQL Server with integrated security from Active Server Pages (ASP) there are some limitations that you should be aware of when designing your Web site. This article gives a high-level overview of these limitations and describes possible workarounds.
Microsoft SQL Server Integrated Security requires NTLM authentication in
order to map user accounts to SQL Server accounts. This process requires
that a token be created during the authentication process. This token
requires a the user password to create a private encryption key. Because of
this, the token can only be created on a domain controller or the logged on
user's machine. Also note that Windows NT 4.0 does not allow the forwarding
of such tokens.
With these points in mind you can see that after a Web browser is
authenticated by Internet Information Server (IIS), an authenticated
connection to the SQL Server is not possible. At this point when IIS
attempts to connect to SQL Server via NTLM, IIS does not have the necessary
information to complete the NT authentication process.
There are a couple possible workarounds to this limitation:
For additional information, please see the following article(s) in the
Microsoft Knowledge Base:
Q176379 HOWTO: IIS and SQL Server on Separate Machines with Trusted Connection
Q176378 HOWTO: SQL Server with Integrated Security, IIS on Same Machine
Q176380 HOWTO: Using ASP with a SQL Trusted Conn with Guest Acct
http://support.microsoft.com/support/vinterdev/
Additional query words:
Keywords : kbASP kbSecurity kbSQLServ kbWebServer kbGrpASP
Version :
Platform : winnt
Issue type : kbinfo
Last Reviewed: May 27, 1999