Re: ASP.NET & Integrated Security setup?
From: Eric Newton (ericnewton76_at_hotmail.com)
Date: 08/15/03
- Next message: Eric Newton: "Re: ASP app error after upgrading .NET framework to 1.1 - URGENT!"
- Previous message: Eric Newton: "Re: Newbie Hello World Authentication Issue"
- In reply to: Dave: "ASP.NET & Integrated Security setup?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 15 Aug 2003 15:04:11 -0400
Hmmm yes, you are seeing the ignorance in the statement "you should use
integrated security in your connection strings"
The issue is that if an rogue aspnet app is run, its given carte-blanche
access to any other resources that the ASPNET user can access.
I still prefer to use a database uid/pwd in the connection string, so that
if a particular app directory (assuming all other apps are isolated
security-wise) then only one set of creditials is comprimised.
These issues however only typically occur in shared hosting environments
whereas several different entities may be running ASP net apps on the same
server.
-- Eric Newton eric@ensoft-software.com C#/ASP.net Solutions developer "Dave" <DavidTabaka@hotmail.com> wrote in message news:016401c35dd2$90d5c570$a301280a@phx.gbl... > Hi, > > I've read quite a few places where it recommends you use > integrated security in your connection string. > > I tried this in test page to connect to the Northwind > database by setting my connection string to: > > "data source=<mymachinename>;initial > catalog=Northwind;integrated security=SSPI;" > > It worked as long as I added ASPNET, the account used for > running ASP.NET Worker processes, as a SQL Server Login > with access to Northwind. > > My question is should each web application on the server > have it's own ASPNET-type account so it only has accesses > the databases it needs? > > For example: > ASPNET_Northwind (This account can only access the > Northwind site and the Northwind database) > > ASPNET_Pubs ((This account can only access the Pubs site > and the Pubs database) > > etc. If so, how do I do this? > > Thanks, Dave. > > >
- Next message: Eric Newton: "Re: ASP app error after upgrading .NET framework to 1.1 - URGENT!"
- Previous message: Eric Newton: "Re: Newbie Hello World Authentication Issue"
- In reply to: Dave: "ASP.NET & Integrated Security setup?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|