Solved

CoSetProxyBlanket question

Posted on 2001-08-15
8
814 Views
Last Modified: 2007-11-27
How can i use CoSetProxyBlanket function in order to change the security context of a caller.

I need to use this function in order to invoke a method on a com+ vb dll.

The reason i want to use the CoSetProxyBlanket function is because i need to dynamically set the security context of the user invoking the method.

Thanks allot,
Asaf Lahav
0
Comment
Question by:asaflahv1
8 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6388378
0
 
LVL 1

Author Comment

by:asaflahv1
ID: 6391687
jkr:

I know those samples, but unfortunately it isn't enough.
I need a little more ellaborated sample which demonstrates how to specify a certain user under which the method would be invoked.

Thanks allot,
Asaf Lahav
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6417448
0
 
LVL 1

Author Comment

by:asaflahv1
ID: 6426500
AlexVirochovsky:
The link you sent me is quite interesting,
Can you please send me a sample on how can i use this technology in order to invoke a method on a DLL?
Further more i need a sample that shows how to invoke the method with the priviledges of a speciefied user...

Thanks allot,
Asaf Lahav
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6427647
Sorry , Asaf, I don't use NT.
But see article about Security and using WMI
http://www.codeguru.com/system/WMI_using.html
May be it will help...
0
 
LVL 14

Expert Comment

by:AlexVirochovsky
ID: 6500503
Asaf Lahav, is my URL helps you?
0
 
LVL 11

Expert Comment

by:griessh
ID: 6851412
I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. Unless there is objection or further activity,  I will suggest to refund the points and PAQ at zero points since nobody had a satisfying answer for you.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 6874996
Per recommendation points refunded and question closed.

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now