Welcome to MSDN Blogs Sign in | Join | Help

David Boschmans Weblog

Talking to developers to be more productive

Syndication

News





This posting is provided "AS IS" with no warranties, and confers no rights. Any opinions expressed in this blog are solely those of the author and not official positions of Microsoft Corporation.
Windows Vista UAC demo code: develop using least privilege

One of the new Windows Vista security features that might confuse developers is . In order to help developers develop UAC enabled applications Microsoft has released ""

image

This demo sample code shows how to develop using least privilege leveraging User Account Control.

It contains 3 projects, all developed in C#:

    • GetLocalTime
    • SetLocalClock
    • RunElevatedCommand

In order to set the local clock you will need to enable UAC. This the different steps to achieve this are well explained in the solution.

the sample from the Microsoft Download Center and install using the .msi. By default it will install into

"C:\Users\<alias>\Documents\Microsoft Corporation\User Account Control Demo\"

 

 

Published Monday, June 04, 2007 10:06 AM by David Boschmans

Comments

# re: Windows Vista UAC demo code: develop using least privilege @ Tuesday, June 05, 2007 10:53 AM

Can't wait to see the VB6 version of this.  Sadly it'll probably have to come from the community.

J'onn J'onzz

Anonymous comments are disabled
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement  
Page view tracker