Solved

CoSetProxyBlanket question

Posted on 2001-08-15
8
846 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maze travler 6 73
C++ Language error 28 318
DCT of  2D array using fftw in c++ 9 137
C++ Code Issue 4 49
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.

710 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