HOWTO: IIS and SQL Server on Separate Machines with Trusted ConnectionID: Q176379
|
Microsoft SQL Server 6.5 can be used with Active Server Pages (ASP) and Internet Information Server 3.0 (IIS). When SQL Server is configured for Mixed or Integrated Security, certain configuration changes must be made to enable ASP to connect to SQL Server via a trusted connection. This article describes these changes and how to set up Internet Information Server to properly connect to SQL Server over a trusted connection.
In order for ASP scripts to make a trusted connection to SQL Server using
ActiveX Data Objects (ADO), the users must be authenticated when they
browse the Web page making such a connection. If you force the users to
authenticate themselves via Basic authentication, IIS has all information
required to make the trusted connection to SQL Server. If any other
authentication method is used (NT Challenge/Response or Anonymous), IIS is
not be able to make this connection.
NOTE: Using Basic authentication may compromise security on your Web
server. Basic authentication transmits passwords over the network BASE64
encoded. This encryption is available publicly and can be used to decipher
passwords. This means that anyone able to use a network sniffer to watch
network transmissions will be able to decipher passwords sent via Basic
authentication.
Use the following steps to enable Basic authentication and disable other
methods:
For additional information, please see the following article(s) in the
Microsoft Knowledge Base:
Q176377 INFO: Accessing SQL Server with Integrated Security from ASP
http://support.microsoft.com/support/vinterdev/
Additional query words:
Keywords : kbASP kbSecurity kbSQLServ kbWebServer kbGrpASP
Version : winnt:3.0,6.5
Platform : winnt
Issue type : kbhowto
Last Reviewed: May 27, 1999