Skip to Content
The .NET Developer's Guide to Windows Security
book

The .NET Developer's Guide to Windows Security

by Keith Brown
September 2004
Intermediate to advanced
408 pages
7h 25m
English
Addison-Wesley Professional
Content preview from The .NET Developer's Guide to Windows Security

Chapter 30. How to Run a Program as Another User

There are three ways of doing this: via Explorer, via a command-line tool, and programmatically. Using Explorer, right-click the program you want to run and choose the “Run As” option. You'll see the dialog shown in Figure 30.1. If the “Run As” menu option doesn't show up in the context menu when you right-click, try holding down the Shift key on your keyboard while right-clicking. That should do the trick.

The Run As dialog

Figure 30.1. The Run As dialog

In case you've ever wondered what the other option in this dialog is for, the one that says, “Protect my computer and data from unauthorized program activity,” it's ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET Framework Security

.NET Framework Security

Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
Programming .NET Security

Programming .NET Security

Adam Freeman, Allen Jones

Publisher Resources

ISBN: 0321228359Purchase book