HOWTO: Using ASP With a SQL Trusted Connection With Guest AccountID: Q176380
|
When using Microsoft SQL Server with Integrated or Mixed Security with Microsoft Internet Information Server (IIS), it may be necessary to access SQL Server from a guest account. Setting up a guest account can be used to work around problems connecting an IIS machine to SQL Server on a separate physical machine over a trusted connection.
This method allows IIS, using Active Server Pages (ASP), to access a SQL
Server over a trusted connection, but the method limits all SQL access to
guest access only. If you want all users to connect to the SQL Server and
maintain their identity to properly map to different privilege levels in
SQL Server, you will need to use Basic authentication.
Use the following steps to set up a user account in the NT user manager,
make sure that both the SQL Server and the IIS machine have access to this
account, and map this account to an SQL account.
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 Conn
For the latest Knowledge Base artices and other support information on
Visual InterDev and Active Server Pages, see the following page on the
Microsoft Technical Support site:
http://support.microsoft.com/support/vinterdev/
© Microsoft Corporation 1997, All Rights Reserved.
Contributions by Paul Enfield, Microsoft Corporation
Additional query words:
Keywords : kbASP kbNTOS400 kbSecurity kbSQLServ kbWebServer kbGrpASP
Version : WINDOWS:97; winnt:3.0,4.0
Platform : WINDOWS winnt
Issue type : kbhowto
Last Reviewed: May 27, 1999