[Sample of June 14th] Check UAC privilege level and self-elevate process in C++

  Sample Download : http://code.msdn.microsoft.com/CppUACSelfElevation-5bfc52dd User Account Control (UAC) is a new security component in Windows Vista and newer operating systems. With UAC fully enabled, interactive administrators normally run with least user privileges. This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit…


All-In-One Security Code Samples

All-In-One Security Code Samples Introduction Download Security code samples Request Security code samples Introduction The All-In-One Security code samples demonstrate the typical programming topics about security e.g. UAC, encryption, decryption. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt…