Windows注册表权限 [英] Windows Registry Permissions

查看:89
本文介绍了Windows注册表权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要编写一个程序,当给定注册表项的路径时,它将提取密钥的权限并以用户可理解的格式显示它们.例如:

Need to write a program that when given the path of registry key it will extract the permissions of the key and display them in user understandable format. For example:

HKLM\SOFTWARE\Microsoft
    Administrator          Full Control
    Creator/Owner          Full Control
    Users                  Read



任何指针将不胜感激.



Any pointers will be appreciated.

推荐答案



看一下位于此处的Microsoft示例:

ATLSecurity示例:演示ATL安全类 [
Hi,

Have a look at the Microsoft sample located here:

ATLSecurity Sample: Demonstrates ATL Security Classes[^]

I took a brief look at the source code and it appears to be exactly what you are looking for.

Best Wishes,
-David Delaune


这篇关于Windows注册表权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆