Re: IIS -> SQLServer on another machine
From: Timo (timo_at_anonymous.com)
Date: 03/24/04
- Next message: DaveK: "Linked Server Security Problem"
- Previous message: Wayne: "Re: Add NT users"
- In reply to: Kevin McDonnell [MSFT]: "RE: IIS -> SQLServer on another machine"
- Next in thread: Kevin McDonnell [MSFT]: "Re: IIS -> SQLServer on another machine"
- Reply: Kevin McDonnell [MSFT]: "Re: IIS -> SQLServer on another machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 24 Mar 2004 14:12:03 -0500
We have taken option #2 from the post below (thank you Kevin). But what
should we be seeing in EventViewer/Security in the "user" column under those
circumstances? We're seeing SERVER2$ rather than the domain username we have
supplied. Is that expected behavior?
to recap: SQL Server 2000 running on Server1
IIS 6.0 running on Server2
Windows2003 / ActiveDirectory
We did this:
--edited the processModel section of machine.config setting userName to a
domain user with SQL logon and dbaccess rights, let's call it SQL_USER
-- supplied OURDOMAIN\SQL_USER as the "anonymous" user in the IIS dialog
-- edited machine.config: setting impersonate="true"
userName="OURDOMAIN\SQLUSER" password="pwd"
--Then we rebooted the machine on which IIS is installed
-- granted OURDOMAIN\SQL_USER read/write/modify rights to the ASPNET
temporary directory
With EventViewer->Security running on Server1 (the SQL Server), we look to
see who is trying to access the SQL machine from the IIS web pages.
Invariably the user appears as "SERVER2$" not as SQL_USER. What should we
see in EventViewer/Security on Server1? Is our reconfiguration of the
default ASP.NET user incomplete?
Thanks
Timo
"Kevin McDonnell [MSFT]" <kevmc@online.microsoft.com> wrote in message
news:lygZpHREEHA.3568@cpmsftngxa06.phx.gbl...
>
>
> 316989 PRB: "Login Failed" Error Message When You Create a Trusted Data
> http://support.microsoft.com/?id=316989
>
> - Programmatically change the security context of the ASP.NET worker
> process to a user who has the correct SQL Server permissions. -or-
>
> - Change the default configuration of ASP.NET so that the ASP.NET
> worker process starts and runs under the context of a user who has the
> correct permissions in SQL Server. -or-
>
> - Grant the correct permissions on SQL Server so that the aspnet_wp
> account (or NetworkService account, for an application that runs on IIS
> 6.0) has the appropriate access to the required resources.
>
>
> 317012 INFO: Process and Request Identity in ASP.NET
> http://support.microsoft.com/?id=317012
>
>
>
> Thanks,
>
> Kevin McDonnell
> Microsoft Corporation
>
> This posting is provided AS IS with no warranties, and confers no rights.
>
>
>
- Next message: DaveK: "Linked Server Security Problem"
- Previous message: Wayne: "Re: Add NT users"
- In reply to: Kevin McDonnell [MSFT]: "RE: IIS -> SQLServer on another machine"
- Next in thread: Kevin McDonnell [MSFT]: "Re: IIS -> SQLServer on another machine"
- Reply: Kevin McDonnell [MSFT]: "Re: IIS -> SQLServer on another machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|