登录
首页 » Windows核心 » 这4个部分系列将讨论的窗口访问控制模型,以及它是如何。

这4个部分系列将讨论的窗口访问控制模型,以及它是如何。

于 2022-02-09 发布 文件大小:758.82 kB
0 184
下载积分: 2 下载次数: 1

代码说明:

This 4 part series will discuss the Windows access control model and how it is implemented in Windows NT and 2000. In this 2nd article we will start programming with security identifiers, access control lists and security descriptors. We will solve trivial problems using the SID, obtain information from an access token, enable a privilege, fill up an access control list, and finally we will check if we have access to a resource. The demo project provided is a Whoami clone written Windows 2000 style. The source code includes equivalent programs of the article s code written with the Low level APIs, the Windows 2000 APIs, and the Active Template Library.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Windows 中创建空的备用列表
    翻译:maninwest@Codeforge 作者:Member 10018957 @CodeProject如何在 Windows 中创建看空的备用列表。进程黑_客的制造者了解 Windows 内核的里里外外,他们也幸运地熟练掌握 Windows 内核的设计语言C++。而其他的人则努力通过 C# 执行相似的功能。其中一个功能就是释放来自 windows 备用内存的内存。这就是我们在此要做的。最难的部分是获取内核的优先权限。感谢Nick Lowe:http://processprivileges.codeplex.com/步骤1:设置内核优先权限Microsoft 设计了可以获取包含结构数组的结构的 API。没有适用于此的编组过程的捷径。要么假设数组是 length=1 要么要求数组大小在编译时预先确定。为此,我设计了一个类,它通过 System.IntPtr拥有微软在未管理的内存中需要的确切结构。当前,我不得不采用不安全的步骤,但是我确定,将来会有办法绕过。[return: MarshalAs(UnmanagedType.Bool)] [SuppressUnmanagedCodeSecurity, DllImport("advapi32.dll", SetLastError = true)] internal static extern bool AdjustTokenPrivileges(AccessTokenHandle accessTokenHandle, [MarshalAs(UnmanagedType.Bool)] bool disableAllPrivileges, IntPtr NewPriviledges, Int32 bufferLength, ref IntPtr PriorPriviledges, out Int32 returnLength); 将我的类和  Nick Lowe 的优先代码相结合,我们可以设置内核优先权限:
    2022-05-07 13:17:48下载
    积分:1
  • creating a new clsTray for this form
    creating a new clsTray for this form
    2023-02-27 19:55:02下载
    积分:1
  • 出口
    Export-function Export-function 对dll文件导出函数进行输出-Export-function Export-function on the dll file output function
    2022-03-11 19:19:15下载
    积分:1
  • api function Xiang Jie, including the use of api functions, a simple api functio...
    api函数详解,包括api函数的用法,简单的api函数使用功能-api function Xiang Jie, including the use of api functions, a simple api function, use function
    2022-06-29 23:03:25下载
    积分:1
  • 记时器的简单应用,适合初学者(已编译通过)
    记时器的简单应用,适合初学者(已编译通过)-A simple timer application, suitable for beginners (compiled through)
    2022-05-24 14:34:01下载
    积分:1
  • 这是个模拟鼠标事件的源代码
    这是个模拟鼠标事件的源代码-This is a simulation of the mouse source code! !
    2022-03-05 22:11:32下载
    积分:1
  • I open a pop
    我的一个打开和弹出光驱的小程序 放在 桌面上 以方便 开、关 光驱托盘!-I open a pop-up drive and the small program on the table to facilitate the opening and closing drive tray!
    2022-07-25 12:29:31下载
    积分:1
  • basic functions of CAN efficient communications applications. Similarly, the CAN...
    基本功能高效的CAN通讯应用.同样,CAN232 不仅适应基本CAN-bus产品,也满足基于高层协议如ModBUS、DeviceNet...之间可选 3. RS232接口,波特率在1200bps -basic functions of CAN efficient communications applications. Similarly, the CAN232 not only meet the basic CAN-bus products, but also to meet for high-level protocols such as ModBUS, DeviceNet ... between three options. RS232 interface, baud rate in 1200
    2022-03-21 20:55:41下载
    积分:1
  • 绕过所有用户层的hook代码
    绕过一切用户层的hook,使用钩子方面的技术,涉及到Windows方面的核心编程,代码具有通用性,适合研究这方面或者对这方面感兴趣的人
    2023-06-19 19:45:03下载
    积分:1
  • windows的核心编程丛书,详细讲述windows的机理,全面系统地介绍了Windows的各种基本构件,如进程、线程、DLL和内存管理等,并列举了大量应用程序...
    windows的核心编程丛书,详细讲述windows的机理,全面系统地介绍了Windows的各种基本构件,如进程、线程、DLL和内存管理等,并列举了大量应用程序,精辟地分析了构件的使用方法,为掌握Windows 编程技巧提供了一条有效的捷径。对于不同水平的Windows 编程人员来说,本书都具有极好的参考价值。 -the core of windows programming books describe in detail the mechanism of windows, a comprehensive and systematic introduction to a variety of Windows, the basic components, such as process, thread, DLL, and memory management, and lists a large number of applications, insightful analysis of the components use, in order to master the Windows programming techniques provides an effective shortcut. For the different levels of Windows programmers, this book has an excellent reference value.
    2022-07-15 16:09:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载