Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How can I obtain Impersonation info?

 
   Database Help (Home) -> Security RSS
Next:  CICS Cobol DB2 Programmer Analyst - Albany NY  
Author Message
dj

External


Since: Jul 11, 2008
Posts: 3



(Msg. 1) Posted: Fri Nov 21, 2008 7:14 am
Post subject: How can I obtain Impersonation info?
Archived from groups: microsoft>public>sqlserver>security (more info?)

Based on the assumption that Windows stores some sort of (GUID?) value when
an application uses Impersonation to connect to a SQL Server database, is it
possible to obtain this value at either the application or database level?

My objective is to maintain an audit log of changes to application data,
including some form of unique user identification, despite the use of
Impersonation.

Any tips, links, etc. that address this are greatly appreciated.
TIA

 >> Stay informed about: How can I obtain Impersonation info? 
Back to top
Login to vote
Russell Fields

External


Since: Jan 10, 2008
Posts: 608



(Msg. 2) Posted: Mon Nov 24, 2008 11:45 am
Post subject: Re: How can I obtain Impersonation info? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

dj,

If the impersonation is done before you reach the SQL Server, then the SQL
Server does not know who you really were. Does the domain know?

If the impersonation is done inside SQL Server, you might find SQL Server
2005/2008 ORIGINAL_LOGIN() function useful.

You also might be interested in signing up and voting for this
recommendation on Microsoft Connect:
http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?Feed...kID=238

RLF

"dj" wrote in message

> Based on the assumption that Windows stores some sort of (GUID?) value
> when
> an application uses Impersonation to connect to a SQL Server database, is
> it
> possible to obtain this value at either the application or database level?
>
> My objective is to maintain an audit log of changes to application data,
> including some form of unique user identification, despite the use of
> Impersonation.
>
> Any tips, links, etc. that address this are greatly appreciated.
> TIA

 >> Stay informed about: How can I obtain Impersonation info? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Msg 15404: Could not obtain information about user - Hello, We have two build servers running Windows Server 2003 R2 SP2 and default instances of SQL Server 2005 SP2, I'll refer to them as ServerA and ServerB. Both servers are members of our only domain (MyDomain) and each SQL service runs as a domain....

lastmodified - Hi, Can someone provide me a simple trigger where it updates a lastmodified column. It should update the column lastmodified whenever an update occurs on all the other columns. Thnx

sql agent service - I have SQL Server 2000 and I want to setup up SQL Server Agent as an automatic service, although I am not seeing it as an available service....how can I add the SQL Server Agent as a service?

db access - I have connected to our group's sql 2000 server with NT authentication but was not expecting it to work. I was not expecting it to work because it's in a different domain that my nt account, although I have the same nt account name in both domains..

Sudden failure to connect to remote SQL Server from Enterp.. - A remote SQL Server has been in my local SQL Server Group for almost two years now and everything has worked fine, but starting this afternoon I have been unable to connect to it; the error message I get is "SQL Server does not exist or access de...
   Database Help (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]