Running as Admin - Don't!
I’ve written about the problems of running your machine day-to-day as Administrator, and tips for making development as a non-Admin easier on a number of occasions. As a brief reminder, there are many viruses and other malware that would never have spread as widely as they did if the infected user had not been running as admin. Additionally, developers who run as admin when they develop and test software can inflict errors on those who use their software while running with lower privileges. And unfortunately, the ad-hoc “fix” for such problems often ends up being for that user to run with elevated privileges.
This week, I had the opportunity to address a question on this topic to Steve Ballmer at the MVP Summit in Seattle. I’ve noticed, to my dismay, that many Microsoft presenters continue to run as Administrator in their demos, with no discussion of what the security implications of that choice are. So I asked Mr. Ballmer how those of us who speak to Microsoft customers about security can credibly argue for not running as Admin when many Microsoft presenters are running their demos with elevated privileges. I’m pleased to report that he took the issue seriously, but if things are going to change on this issue, it’s also going to take help from you.
If you attend a Microsoft presentation, and the presenter is clearly running their demos as Administrator, ask them about it. Ask them why they’re doing it, and ask them to discuss the security implications of that choice. I’m certainly hopeful that Steve Ballmer will address the issue from the top, but it can’t hurt to have Microsoft’s customers and developers in the community asking the right questions as well.
The good news is that tool support for developing as non-admin is getting better. One example is that in Visual Studio 2005, it will no longer be necessary to have admin rights to debug ASP.NET applications (because Visual Studio 2005 will ship with its own web server that works only from the local machine). The more improvements like this in tools and OS support for running as a non-admin, the fewer excuses there will be for working with higher privileges than necessary. Combine that with presenters leading by example, and perhaps we can make a dent in this issue.