E
Edward J. Stembler
I have an n-tier .Net application where a data-access
layer (DAL) object connects to a SQL Server database.
The DAL object physically lives on a separate computer
from the database and presentation layer (clients). The
client application would like to use integrated NT
security. The DAL object has it's own connection string
which it uses to connect to the database, however, I am
considering passing the user name to the DAL object from
the client.
My question is, how do you honor integrated NT Security
when there's a middle layer (DAL)?
Ideally, the client doesn't want to have to log in again
since the OS already authenticated them. The database is
setup to use integrated security. But how do I avoid it
using the security info of the machine that the DAL
object is running on? I want it to use the client's info.
layer (DAL) object connects to a SQL Server database.
The DAL object physically lives on a separate computer
from the database and presentation layer (clients). The
client application would like to use integrated NT
security. The DAL object has it's own connection string
which it uses to connect to the database, however, I am
considering passing the user name to the DAL object from
the client.
My question is, how do you honor integrated NT Security
when there's a middle layer (DAL)?
Ideally, the client doesn't want to have to log in again
since the OS already authenticated them. The database is
setup to use integrated security. But how do I avoid it
using the security info of the machine that the DAL
object is running on? I want it to use the client's info.