Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Wed, 28 May 2008 16:25:00 -0700,    group: microsoft.public.win32.programmer.wmi        back       


controlling privilege level for certain WMI classes   
In my application I need to restrict some options so that only certain users 
(with appropriate privilege levels) are allowed to perform those operations. 
If I am using an ExecMethod on an instance object of a WMI class, is it 
possible for me (at an admin level) to modify the access rights on that class 
so that only certain groups of users can modify/set info? Any thoughts how I 
could go about this?

Thanks,
Priya
date: Wed, 28 May 2008 16:25:00 -0700   author:   Priyko am

RE: controlling privilege level for certain WMI classes   
Hi Priya,

I will perform some research on this issue and get back to you ASAP. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to 
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues 
where an initial response from the community or a Microsoft Support 
Engineer within 1 business day is acceptable. Please note that each follow 
up response may take approximately 2 business days as the support 
professional working with you may need further investigation to reach the 
most efficient resolution. The offering is not appropriate for situations 
that require urgent, real-time or phone-based interactions or complex 
project analysis and dump analysis issues. Issues of this nature are best 
handled working with a dedicated Microsoft Support Engineer by contacting 
Microsoft Customer Support Services (CSS) at 
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
date: Thu, 29 May 2008 08:46:47 GMT   author:   (Jeffrey Tan[MSFT])

RE: controlling privilege level for certain WMI classes   
Hi Priya,

Sorry for letting you wait. 

Based on my research, WMI security is at the namespace level so you can't 
set an ACL on a specific class without moving that class to a different 
namespace.  If the action is privileged, then the provider is responsible 
for doing that check.  Is the provider owned by the application or is it a 
standard WMI class?  

The articles below talk about how to set the permission for WMI namespace:
"How to change the Security Descriptor of WMI objects "
http://blogs.msdn.com/alejacma/archive/2008/03/14/how-to-change-the-security
-descriptor-of-wmi-objects.aspx
"WMI Namespace Security"
http://www.codeproject.com/KB/system/WmiSecurity.aspx
"Set WMI namespace security via GPO (script)"
http://blogs.msdn.com/spatdsg/archive/2007/11/21/set-wmi-namespace-security-
via-gpo-script.aspx

Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=========================================
Delighting our customers is our #1 priority. We welcome your comments and 
suggestions about how we can improve the support we provide to you. Please 
feel free to let my manager know what you think of the level of service 
provided. You can send feedback directly to my manager at: 
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.
date: Fri, 30 May 2008 01:57:37 GMT   author:   (Jeffrey Tan[MSFT])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us