Solved

CoSetProxyBlanket question

Posted on 2001-08-15
8
803 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

708 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

20 Experts available now in Live!

Get 1:1 Help Now