Click here to Skip to main content
15,897,273 members

Survey Results

Do you use a non-admin account when developing software?   [Edit]

Survey period: 30 May 2005 to 5 Jun 2005

Writing and testing code as a non-admin helps to produce software that satisfies the principal of least privilege. (suggested by Charlie Williams)

OptionVotes% 
Yes25822.07
No91177.93



 
GeneralIt's just a matter of tools and discipline Pin
Daniel Lohmann5-Jun-05 7:50
Daniel Lohmann5-Jun-05 7:50 
I was always wondering, where all this poorly designed software comes from that forces users to work with Admin privileges. I was sure that it is "just a relic from the Win3.1/Win9x days" and is eventually going to die out. However, that even today so many developers continue with the bad habit of doing everything as Admin Cry | :(( ... Well, that's an anwser!

The NT security is quite complex, no question. It requires a lot of effort to understand and use it - and meanwhile it is a source of many subtle bugs. How often one finds code, which opens kernel objects using xxx_ALL privileges, where a simple READ, QUERY or SYNCHRONIZE would do it? Of course, such software does not work as a non-privileges user. However, as long as the software itself is developed, tested and debugged under Admin privileges, things won't improve Frown | :(

Which brings me to the tools thing. Besides ignorance, the second reason for developers not working under a non-privileged account is probably that it is too much of a hazzle. Cetain things we need to do during development just require Admin privileges. Things have become much simpler since Win2k, with RunAs and Windows XP's "Fast User Switching" at hand (the latter is unfortunately is disabled, if the machine is member of a domain). In the NT4 days, I developed a tool suite http://www.netexec.de) which provides similar and even better functionality for the same purpose. It provides, for instance, a feature to create additional desktops running as another user and instantly switch between them. Or an option, to run a process or desktop under your own non-privileged account, but with additional Admin privileges - without having to log off and on. However, I do not want to end up in advertising my software here. My message just is:

Today it is possible to develop and test software under a non-privileged account without having to give up productivity. So why don't do it? It would certainly improve the quality!


--

Daniel Lohmann

http://www.losoft.de
(Hey, this page is worth looking! You can find some free and handy NT tools there Big Grin | :-D )
GeneralDoesn't Windows make admin users by default? Pin
SHaroz3-Jun-05 17:57
SHaroz3-Jun-05 17:57 
GeneralRe: Doesn't Windows make admin users by default? Pin
metro_au4-Jun-05 21:42
metro_au4-Jun-05 21:42 
GeneralAdmin Accounts Pin
Chris Meech2-Jun-05 2:16
Chris Meech2-Jun-05 2:16 
GeneralAdmit it. Pin
devvvy1-Jun-05 20:03
devvvy1-Jun-05 20:03 
GeneralRe: Admit it. Pin
Tim Stubbs2-Jun-05 6:22
Tim Stubbs2-Jun-05 6:22 
GeneralRe: Admit it. Pin
WillemM3-Jun-05 3:57
WillemM3-Jun-05 3:57 
GeneralRe: Admit it. Pin
Gavin Greig3-Jun-05 9:19
Gavin Greig3-Jun-05 9:19 
GeneralRe: Admit it. Pin
zsimic6-Jun-05 20:21
zsimic6-Jun-05 20:21 
GeneralRe: Admit it. Pin
WillemM7-Jun-05 3:26
WillemM7-Jun-05 3:26 
GeneralUseful resources Pin
Gavin Greig1-Jun-05 2:44
Gavin Greig1-Jun-05 2:44 
GeneralI debug and test as limited user Pin
Dimitris Vasiliadis1-Jun-05 2:01
Dimitris Vasiliadis1-Jun-05 2:01 
GeneralDon't have a non-admin account Pin
Nish Nishant31-May-05 17:44
sitebuilderNish Nishant31-May-05 17:44 
GeneralRe: Don't have a non-admin account Pin
John M. Drescher2-Jun-05 8:55
John M. Drescher2-Jun-05 8:55 
GeneralMostly Pin
Mike Dimmick31-May-05 7:15
Mike Dimmick31-May-05 7:15 
GeneralI work as an admin only if I have to ... Pin
Robert W.30-May-05 22:43
Robert W.30-May-05 22:43 
GeneralRe: I work as an admin only if I have to ... Pin
KarstenK31-May-05 1:53
mveKarstenK31-May-05 1:53 
GeneralRe: I work as an admin only if I have to ... Pin
Nemanja Trifunovic31-May-05 2:26
Nemanja Trifunovic31-May-05 2:26 
GeneralRe: I work as an admin only if I have to ... Pin
Nathan Holt at EMOM31-May-05 11:02
Nathan Holt at EMOM31-May-05 11:02 
GeneralRe: I work as an admin only if I have to ... Pin
Robert W.31-May-05 20:37
Robert W.31-May-05 20:37 
GeneralRe: I work as an admin only if I have to ... Pin
Gavin Greig1-Jun-05 2:34
Gavin Greig1-Jun-05 2:34 
GeneralNever even crossed my mind Pin
Marc Clifton30-May-05 15:26
mvaMarc Clifton30-May-05 15:26 
GeneralRe: Never even crossed my mind Pin
Gavin Greig3-Jun-05 1:51
Gavin Greig3-Jun-05 1:51 
GeneralRe: Never even crossed my mind Pin
Nemanja Trifunovic3-Jun-05 2:54
Nemanja Trifunovic3-Jun-05 2:54 
GeneralRe: Never even crossed my mind Pin
Gavin Greig3-Jun-05 2:59
Gavin Greig3-Jun-05 2:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.