Re: Windows authentication and UNC shares
From: Andrew Kemp (ajwk@pell.uklinux.net)
Date: 08/28/02
- Next message: Marina: "Re: Getting Appropriate Context????????????????"
- Previous message: FOB: "Getting Appropriate Context????????????????"
- In reply to: Andrew Kemp: "Windows authentication and UNC shares"
- Next in thread: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Reply: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Andrew Kemp <ajwk@pell.uklinux.net> Date: Wed, 28 Aug 2002 20:33:16 BST
Andrew Kemp wrote:
> I am trying to achieve the following in an ASP.NET web application:
[...]
> 3. The application connects to a SQL Server database on a
> different computer using integrated security and the same
> database server account for all users
[...]
> In order to achieve (3) I have the userName in Machine.config's
><processModel> element set to an account with the "log on locally"
> privilege, and impersonation with a specific username and password
> enabled in Web.config.
Oops -- I meant the "act as part of the operating system"
privilege. Speaking of which...
Somewhere in the ASP.NET documentation it gives this as one of two ways
to enable impersonation of a specific account. It then goes on to say
that Microsoft do not recommend it, but doesn't explain why not. Why is
this a bad idea, and how is it different from the (presumably
recommended?) second way of doing it which was to use "SYSTEM" as the
userName in the <processModel> element?
Thanks,
-- drew
- Next message: Marina: "Re: Getting Appropriate Context????????????????"
- Previous message: FOB: "Getting Appropriate Context????????????????"
- In reply to: Andrew Kemp: "Windows authentication and UNC shares"
- Next in thread: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Reply: Willy Denoyette [MVP]: "Re: Windows authentication and UNC shares"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|