|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Changing the default access permissions for DCOM on XP
From: Bigley, John (john.bigley
HP.COM)
Date: Mon Mar 29 2004 - 12:07:54 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You should be setting this in a call to CoInitializeSecurity in your COM
Servers. The first argument to this function allows you to set the
access permissions and overrides the default DCOM security settings and
this will work for both W2K and XP with a caveat on XP SP2. In XP SP2
there will also be a global access permission setting that you will have
to deal with, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/h
tml/securityinxpsp2.asp for more information on XP SP2.
John
-----Original Message-----
From: DRESSKELL, BILL [mailto:bdresskell
TYCOINT.COM]
Sent: Friday, March 26, 2004 4:37 PM
Subject: Changing the default access permissions for DCOM on XP
Hi<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office"
/>
We have a product that uses DCOM. In order for things to function
smoothly between clients and the server, we need to programmatically set
the default access permissions for DCOM on remote clients. We do this at
install time (via our installer.) We have noticed that the current
implementation works well for Win2K, but seems to fail on XP. The
implementation changes the following registry entry:
a) HKEY_LOCAL_MACHINE\Software\Microsoft\Ole\DefaultAccessPermission
The questions:
a) Is there a different API or set of system calls we need to make if
we're installing on XP?
b) Does anyone know of any sample code (preferably C++) that details
what differences, if any, there are between Win2K and XP in this regard?
Thanks in advance
Bill
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html . To unsubscribe,
mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html . To unsubscribe,
mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.html
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]