Re: NT Authentication in SQL 2K - very urgent!!!
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 03/16/04
- Next message: Nick: "windows xp stolen"
- Previous message: Lanwench [MVP - Exchange]: "Re: office xp service pack 3"
- In reply to: Sandy: "NT Authentication in SQL 2K - very urgent!!!"
- Next in thread: Sandy: "Re: NT Authentication in SQL 2K - very urgent!!!"
- Reply: Sandy: "Re: NT Authentication in SQL 2K - very urgent!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 15 Mar 2004 22:41:07 -0700
Your middle tier components need to impersonate the
identity of their client in order to the Windows integrated
authentication to SQL to work when the middle tier connects.
-- Roger Abell Microsoft MVP (Windows Server System: Security) MCSE (W2k3,W2k,Nt4) MCDBA "Sandy" <sandy_call@yahoo.com> wrote in message news:9150A1A1-89D1-48FD-9F3D-550EEF81D20D@microsoft.com... > Hi, > I have a n-tier architecture with COM+ components(Business layer and data access layer running in Windows 2000) and a VB client(presentation layer) and SQL2k (running in Windows 2000). I have NT authentication to connect to SQL 2000 and I have permissions of tables assigned to specific groups/users of the Domain. > > Requirement: > There should not be any sign-in provision that should be required from the client side (I have to use the NT authentication) > > Problem: > Once I get the userid using the GetUser API from the client, how can I authenticate with that to SQL? > > In the connection string OLEDB, the sttribute used is ...Integrated Security=SSPI ; Security Info = True; User ID = "ABC" , when I use this in the COM+ component (The data access layer), the default userid of the COM+ server is used and not the userid of the client machine. > > Is there anyway I can forward the NT user name fetched from the client machine to get authenticated with SQL2k? If yes then how can one I get the password from the client machine ? > > I know that you can call into SSPI API to delegate a user token from one computer to another, infact the SQL driver does this. But is there any other easier way? > Somebody please help!!! > > Thanks > > > > > >
- Next message: Nick: "windows xp stolen"
- Previous message: Lanwench [MVP - Exchange]: "Re: office xp service pack 3"
- In reply to: Sandy: "NT Authentication in SQL 2K - very urgent!!!"
- Next in thread: Sandy: "Re: NT Authentication in SQL 2K - very urgent!!!"
- Reply: Sandy: "Re: NT Authentication in SQL 2K - very urgent!!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|