Description
Windows Vista's
UAC feature is designed to minimize security risks by running most applications under a standard user token, lessening the risk that an attacker could gain admin rights to the machine. UAC allows executables to
specify what privelege level they require -- if an app doesn't provide a specification, it will be run in the context of a standard user, but UAC will provide some virtualization features to make it appear as though certain admin tasks succeeded.
Ian Griffiths presents another screencast that covers the default virtualization behavior, and then shows how to write a UAC manifest to specify a desired privelege level, for both native win32 apps and managed .NET apps.
Be sure to also check out the UAC team's blog, as well as How To: Use Vista's UAC Feature To Avoid Always Requiring Admin Rights.
Here's an example of a manifest:
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Ian Griffiths presents another screencast that covers the default virtualization behavior, and then shows how to write a UAC manifest to specify a desired privelege level, for both native win32 apps and managed .NET apps.
Be sure to also check out the UAC team's blog, as well as How To: Use Vista's UAC Feature To Avoid Always Requiring Admin Rights.
Here's an example of a manifest:
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Share
Download
Download this episode
- Mid Quality WMV (0.0 B)
More episodes in this series
How To: Use Vista's Recovery API To Save Data When Your App Crashes
Related episodes
Add AeroSnap to XP, Vista

Lieberman Software talks about being a Microsoft partner at PDC 2009

Windows 7 vs Windows Vista Boot Times

The Complete Guide to Windows Easy Transfer

Mark Russinovich and David Solomon: Windows Internals 5 Released

New Remember the Milk Sidebar Gadget

Mimic Windows 7 Federated Search in Vista

Chirp: A Twitter Client for Vista/7 Users

Windows Vista SP2 Arrives

Snooze UAC With A New App
