Solved

CoSetProxyBlanket question

Posted on 2001-08-15
8
823 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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
 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

805 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