Re: account aspnet access to sql server?
From: M. Zeeshan Mustafa (zeeshan_at_no-spm.please.zeeshan.net)
Date: 06/25/04
- Next message: rss: "Re: Problem getting cookie to be recognized by server"
- Previous message: Prince: "Creating HttpHandlers"
- In reply to: Andy: "account aspnet access to sql server?"
- Next in thread: M. Zeeshan Mustafa: "Re: account aspnet access to sql server?"
- Reply: M. Zeeshan Mustafa: "Re: account aspnet access to sql server?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 22:51:13 +0500
read this first http://support.microsoft.com/?id=317012
you can run your ASP.NET with a domain user, and your
SQL server would have that domain user in its users list,
this way you can easily access sql with integrated sec.
its good to understand "enabling impersonation" correctly in
that kb article. you should have impersonation disabled to use
above example.
-- Hope this helps, Zeeshan Mustafa, MCSD "Andy" <Andy@discussions.microsoft.com> wrote in message news:4EAA6767-56CF-48B1-818C-481A755D4EB2@microsoft.com... > I'm trying to get the ASPNET account to be able to access a SQL Server database (on another box). Can anyone give me any pointers please, as I'm struggling to get to grips with the aspnet account. > > Am I correct in thinking that if NT user X logs onto the (intranet) page, and the site is using windows authentication, that the aspnet account will actually be the one accessing the database? I really don't want to start adding each users login. > > If it helps, the connection string is basically "Server=myserver; Database=mydatabase; Integrated Security=SSPI;" > > Many thanks in advance for any feedback
- Next message: rss: "Re: Problem getting cookie to be recognized by server"
- Previous message: Prince: "Creating HttpHandlers"
- In reply to: Andy: "account aspnet access to sql server?"
- Next in thread: M. Zeeshan Mustafa: "Re: account aspnet access to sql server?"
- Reply: M. Zeeshan Mustafa: "Re: account aspnet access to sql server?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|