Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CoSetProxyBlanket question

Posted on 2001-08-15
8
Medium Priority
?
871 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
Suggested Courses

783 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