Slashdot Mirror


Benefits of Vista's User Access Control?

Abtin Forouzandeh asks: "Having used Vista for a few months, something keeps nagging me about the user account control. For the UAC to be useful, the user needs to have a fair amount of knowledge about: what the UAC is; what application it is blocking; the consequences of blocking the action; and an alternate approach if the blocked action did something useful. Anyone who has ever worked with end-users can tell you that they are generally disinterested in learning anything about computer usage beyond how to use word and make a spreadsheet. Frankly, even as a highly technical user, I nearly always approve the UAC dialog, even if I don't know the consequences. Since users lack knowledge, and Vista keeps asking esoteric/ambiguous questions, then users will always approve UAC dialogs. Since the UAC so clearly fails in its goal of making computing more secure, and substantially increases complexity, why is it common wisdom that turning off UAC is 'not recommended'? For 99% of users, is there any true downside? Has the community come up with ways to make UAC useful?"

30 of 118 comments (clear)

  1. Serves it's purpose by Carter313 · · Score: 4, Insightful

    I suppose it's useful from Microsofts point of view, if a lot of security is put into the users hands, it is the users fault when something goes wrong.

    1. Re:Serves it's purpose by linds.r · · Score: 3, Informative

      I tend to agree - they can still quote increased security, with UAC on of course, who would turn it off, you want less security? while the great majority of users turn off the misimplemented annoyance factory.

    2. Re:Serves it's purpose by jackharrer · · Score: 2, Insightful

      Honestly, what's the difference if it's on or off if users always click Allow anyway?

      --

      "an experienced, industrious, ambitious, and often, quite often, picturesque liar" - Mark Twain
    3. Re:Serves it's purpose by omicronish · · Score: 3, Insightful

      Honestly, what's the difference if it's on or off if users always click Allow anyway?

      There's a difference to the programmer: Oh, my program is popping a UAC prompt, I'd better fix it.

    4. Re:Serves it's purpose by PopeRatzo · · Score: 3, Insightful

      who would turn it off, you want less security?


      I wonder if liability isn't involved here. When you think of the costs to our economy due to Windows' vulnerabilities, it's quite possible that MS was afraid that if they put another flimsy OS on the market they might get held responsible (finally).

      Whenever I hear of a fix that's not really a fix, I wonder if liability wasn't involved.
      --
      You are welcome on my lawn.
  2. Easy answer! by earthbound+kid · · Score: 5, Funny

    The benefits? You have to ask? Pssh, it's simple:

    With Windows 98 and, to a lesser extent, 2000, we /.ers could smugly mock Microsoft users by making "Blue Screen of Death" jokes. When Windows XP came out, we kept making these jokes, but as time went on, they got less and less funny due in no small part to the fact that the BSoD has become a less frequent part of the Windows experience. Needless to say, this sucks for those of us who use OS X or Linux! What are we gonna rag on?

    Well, then Microsoft went and did a big favor to the alternative OS community: UAC. Now, we can all get a big ol' chuckle (and "+5 Funny" mod points) out of saying, "Cancel or Allow?" in any thread whatsoever. It doesn't even have to be a thread about Vista or Microsoft. Apple even made a commercial about it! It's great. It's like Microsoft declared free karma Christmas!

    "Mod me +5 Funny: Cancel or Allow?"!

    And that's the benefit of UAC.

    1. Re:Easy answer! by Trillian_1138 · · Score: 3, Funny

      You are attempting to make a meta-joke on the benefits of Vista's User Access Control. Canel or Allow?

    2. Re:Easy answer! by Bios_Hakr · · Score: 3, Informative

      The BSoD went away and was replaced with the "automatic reboot". I think there is an option or something to show the BSoD vice rebooting. For most people, the info in the BSoD is useless anyway.

      --
      I'd rather you do it wrong, than for me to have to do it at all.
  3. I found it to be useless by Nichotin · · Score: 3, Informative

    I have been helping a Norwegian magazine write a 100 page Vista Special, one of my articles was about UAC. In the beginning I was very excited about this feature, thinking that it would provide some safety. Then, after a while, two things happened:
    1) I got tired of the constant nagging and the need to enable admin mode by default on several apps by default to avoid compatibility issues, and
    2) I realized that I clicked 'Allow' on anything anyway, the only exception would be a UAC dialog popping up from nowhere. This approach would make me wide open for attacks by supposedly trusted installers anyway.

    So I turned it off! I still havent had any malware or viruses (Symantec Corporate kills most of that anyway). My life got all jolly and happy again. I can only imagine that the same "always allow" mentality will be the same for less savvy users. You want to do your work, right?

  4. Having edited the HOSTS file by RzUpAnmsCwrds · · Score: 5, Insightful

    Vista does make editing the HOSTS file more complex. I've done it five times today on my Vista box (migrating a server and testing before DNS updates). It's kind of a pain. But it's not nearly as bad as the article implies.

    My procedure:
    Start -> Right click on EMEditor (my text editor, it's pinned to the menu so it's always there) -> Choose "Run as Administrator"
    Click "Continue"
    File -> Open -> C:\windows\system32\drivers\etc\hosts
    Edit File
    Save

    On XP:
    Start -> Run
    Type: "notepad C:\windows\system32\drivers\etc\hosts"
    Click "OK"
    Edit File
    Save

    Basically, you can't write to the hosts file by default, so you have to elevate an application (text editor, notepad, cmd.exe) to edit it. This is similar to Linux, where you have to use "sudo" or "su", except that there are better/more text-mode editors on Linux (although Vim/Nano/EMACS do run on Windows, you have to install them first).

    Now, EMEditor is Vista compatible (certified even), but it would be nice if it could elevate when a write operation fails due to incorrect permissions. Then you could just edit the file as usual, and elevate when you save.

    I've said it once, and I'll say it again: UAC is going to get better over time. Lots of applications require elevation now (even some games), but as developers update their programs, we'll see fewer and fewer UAC prompts. VMWare, for example, used to require elevation in the 6.0 betas, but it doesn't anymore. Give it a year or two. Apps will stop requiring elevation except for the things that really do affect the system.

    UAC means that software developers will write software that doesn't need elevation. That can only be a good thing in the long run.

    1. Re:Having edited the HOSTS file by Mortimer82 · · Score: 5, Interesting

      Haven't used Vista yet myself, but as someone who has tried in the past to run Windows XP under a normal user account, I believe the objective with Vista's UAC is not so much to help users decide if software is safe, but rather to convince software writers to write their code correct so it doesn't work without administrator access when it doesn't actually need it for a good reason.

  5. Time to stop complainging by pembo13 · · Score: 3, Funny

    How many articles have there been complaining about Vista this week alone? Seriously, it isn't as if you guys are the customers, you're just the consumers more than willing to pay for it. Maybe if there were no alternatives, or it was a project paid for with tax dollars all this complaining would be meaningful, but it is niether; it is a product produced by a for-profit company.

    Windows has been out long enough that it has long since gotten boring to be complain about it. Microsoft's business practicies are a lot more worthy of complaint; even I know there are intelligent engineers doing what one would assume to be their best, inside of Microsoft.

    If Vista is rubbish, do what most people do with rubbish: throw is out, and not discuss it with company. Windows isn't a Linux distro, loud complaining isn't going to change anything

    Peace

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
  6. Unexpected actions by caitriona81 · · Score: 3, Insightful

    What it is most useful for is stopping privileged operations from happening behind your back - malware theoretically has to make at least some noise to infect at a systemwide level with user account control turned on. If it's turned off entirely, you might not get that extra "something's not right here" warning before your antivirus gets disabled and that nasty rootkit gets installed.

    Also, as someone already pointed out, this makes programs that require administrator rights unnecessarily much noisier, and provides a support incentive to software publishers to fix their software so it works unescalated.

    Not great from a usability perspective but for a company that's almost ignored security until recently it's a start.

  7. What the hell is the point? by RzUpAnmsCwrds · · Score: 5, Interesting

    What the hell is the point of all of these articles? Linux users aren't going to switch to Vista. Mac users are already convinced that their OS is Job's gift to man. And Windows users are going to switch to Vista when they buy a new computer.

    Vista is here. The DRM features don't stop me from playing my MP3s, XVID videos, or from running FairUse4WM. It doesn't bring my modest 1.8GHz single-core Athlon 64 box to its knees, even with the Aero Glass UI (of course, my $40 Radeon X1300 helped that - the GeForce 6100 IGP was kind of sluggish. It hasn't stopped me from installing Ubuntu, ripping DVDs, using Daemon Tools, installing unsigned drivers, or doing anything else that I would do to a Windows system.

    UAC hasn't prompted me for anything in the past 4 hours. I see - maybe - 1 or 2 prompts per day. Perhaps that's because I don't go trying to put files in "C:\windows" or screw with system DLLs.

    Firefox works. So does Thunderbird, Office 2003, Visual Studio, Paint Shop Pro, VMWare, Virtual PC, Maple, EMEditor, WinSCP, PuTTY, AVG, SmartFTP, Microangelo, iTunes, Quicktime, Daemon Tools, TI Connect, WinRAR, ATITool, SpeedFan, RMClock, PowerStrip, Prime95, Paint.NET, uTorrent, Opera, NSIS, Java, Flash, Adobe Reader, 3DMark, Warcraft III, Steam, and WoW.

    Oh, and all of my hardware works. On both of my desktops and my notebook.

    So what doesn't work? Display aspect ratio selection doesn't work with NVIDIA's shitty drivers (one reason my desktop has an ATI card now). PDFCreator refuses to work, as does VNC.

    Vista is the next version of the OS with the broadest hardware and software compatibility. $109 is a pretty cheap price for that.

    1. Re:What the hell is the point? by omicronish · · Score: 2, Insightful

      UAC hasn't prompted me for anything in the past 4 hours. I see - maybe - 1 or 2 prompts per day. Perhaps that's because I don't go trying to put files in "C:\windows" or screw with system DLLs.

      My average experience is even less; I can go for several days without a prompt. I've only seen them today due to testing installation of a program I'm writing.

      I see a lot of UAC complaints on Slashdot but very little on details as to what the person is doing to garnish so many prompts. So here's my proposal to Slashdotters: If you've seen more than 5 UAC prompts in one day, what were you doing to cause them?

      Yes, certain scenarios will display a crapload of UAC prompts, such as running your favorite software that prompts, trying to move stuff around in Program Files, installing every app you find on SourceForge, etc., and some of those scenarios are of genuine concern and have noticeable user impact. However, I'm interested in getting these actual experiences and separating them from the rediculous and vague second-hand claims that prompts are spawning faster than bunnies.

    2. Re:What the hell is the point? by shaitand · · Score: 2, Insightful

      okay. So Vista didn't destroy your computing experience. Great.

      'Vista is the next version of the OS with the broadest hardware and software compatibility. $109 is a pretty cheap price for that.'

      Can you think of any compelling reason why you should be paying $109 for a new version of the OS instead of receiving a free service pack that updates the driver database with new drivers?

    3. Re:What the hell is the point? by chabotc · · Score: 3, Informative

      "Oh, and all of my hardware works. On both of my desktops and my notebook."

      Oh then please tell me why Vista degraded my nice SB FX DSP diving my 7.1 system into a software rendered piece of crap which is barely able to keep up with a 0.10$ intergrated sound chip

      All the DRM made direct access to the DSP 'illegal', so it can't be used anymore in vista, nor will it likely ever be

      Creative is advising every game creator to use OpenAL, to bypass this piece of crap situation DRM has brought us, so much for 'vista the ultimate gaming platform' :-)

  8. Now I finally know by WetCat · · Score: 4, Funny

    What was in that large boxes with marking "UAC" in game "DOOM 1".
    Looks like it was Vista...

  9. It serves the same purpose... by drsmithy · · Score: 3, Insightful

    ...As the lower-privileged user and graphical sudo equivalents in OS X and some Linux distributions. It allows the user to run at a lower level of privileges by default and elevate when necessary, limiting the amount of damage malicious code can do on its own.

    Similarly, it suffers exactly the same weakness - the user can inadvertently raise the privilege level of malicious code.

    Hopefully more developers will write their code properly and the number of spurious UAC prompts will drop over time. Given that most developers haven't made any effort to make their applications LUA-friendly in the preceding decade, however, I'm not holding out much hope Vista making it _easier_ for them to get away with it will create any more inventive.

    1. Re:It serves the same purpose... by Anonymous Coward · · Score: 2, Interesting

      Given that most developers haven't made any effort to make their applications LUA-friendly in the preceding decade

      That indeed is a big shame.
      I can understand that Windows programming has attracted a bunch of hobbyist programmers that already are happy when the program they have written performs its (niche) task without logic errors, and do not care about or understand more complex topics like security, error handling, etc.
      However, the same mistakes still appear in "supposedly well written" programs like telebanking applications.

      For example, ABN-AMRO bank distributes an application called "ABN OfficeNet" (for businesses) that is a total piece of crap.
      It does not work correctly in LUA in Windows 2000 or XP. It creates its temporary files in the WINDOWS directory. Its error reporting in case of access problems is a total disaster.
      These people do not understand at all what they are writing and supporting. Their helpdesk losers just state that "you have to have Administrator rights to run this program". Having a company policy that office workers do not get Administrator rights on their WS is just "your problem, not theirs".

      However, now they have found their crap does not work on Vista at all :-) :-)
      We are not running Vista, and are not planning to do so in the near future, but I am anxious to see how they wrestle themselves out of this "problem".
      Hopefully someone fires the hobbyists in their software department and hires someone who understands the matter and the importance of security.

      Of course, those are the same folks who always claim that their computing security is perfect and that every mishap is always the fault of the customer until he can prove that it is the fault of the bank (for which he will not get insight in the sourcecode and technical documentation of their software).

  10. End Users 'Disinterested'? by Naughty+Bob · · Score: 2, Insightful

    Anyone who has ever worked with end-users can tell you that they are generally disinterested in learning anything about computer usage beyond how to use word and make a spreadsheet.
    That's generally because they use computers as a means unto an end, rather than for their own implicit wonderousness. And it's "uninterested". A disinterested judge listens to both sides equally, an uninterested one is asleep.
    --
    "Be light, stinging, insolent and melancholy"
  11. Re:useless but still the right thing by FJGreer · · Score: 2, Informative

    I use a separate user/admin account in windows for the same reason I do not use root as my user account in Linux: I don't want random programs running amok! And most programs (except video games and window's 95/98 era apps) work fine in a limited account once they have been installed. I rather like knowing that the most the bug riddled piece of software I just wrote can only mess up my account (saves restore time from my backup DVD).

    I haven't used Vista yet, but as long as it has at least WinXP grade access controls (properly configured ACL's can do wonders for limiting a virus's ability to sow chaos) I don't see the need for the Allow/Deny box to begin with--especially with a decent firewall/AV software--especially when that software already does useful things like say "We have stopped this program from running because it is infected with the DestroyYourHarddriveVirus/EvilTrojan, do you want to delete it?" (product plug: F-Prot AV makes Symantec look like trash IMHO).

    Anyway, if I know most computer users, anything that asks them a question that will allow whatever they're doing to continue, they are going to hit yes with about 0% by volume thought

    --
    Behold! Uh, what was I going to say?
  12. Re:useless but still the right thing by jimicus · · Score: 2, Funny

    Just like today, when your ISP's stock helpdesk answer is "Disable any firewalls and then try it"?

  13. Re:useless but still the right thing by cornjones · · Score: 4, Informative

    Mod the parent up
    in the long run applications will have to avoid causing UAC prompts and eventually it will be possible to secure the "windows ecosystem" without breaking common programs.

    That is the important point here. There is no reason for many of these programs to be asking for 'administrative' access to do any of this shit. MS can't just cut it off b/c it will break most of it's install base. This is a way to guide software companies into writing programs with a thought to security, rather than just doing it the 'easy way'.

  14. As usual, Microsoft misses the point by Alex+Belits · · Score: 3, Insightful

    Following the example of two of the most annoying programs ever, ZoneAlarm and Norton Firewall, Microsoft implements a feature that requests a permission to do something from the person least likely able to make an informed choice, and absolutely not interested in knowing about it -- current desktop user. However in ZoneAlarm the reason for this is psychological -- if ZoneAlarm didn't constantly remind user that something is threatening his precious computer, user wouldn't know if ZoneAlarm does anything useful at all. In Vista it's pointless because it's not like user has a choice of buying or not buying some feature with it.

    There are few specific APPLICATIONS, explicitly called by the user, that may have to run with elevated privileges, and beyond them there is nothing that is supposed to access system settings, write configuration files or executables. If anything other than those few select applications try to do that, user shouldn't be asked -- the action should be denied, just like it always was in Unix and occasionally even in Windows. If someone has to edit any system files, he knows that he has to run editor as administrator -- and if he doesn't, he has no reason to manually edit them in the first place. If someone runs installer, installer always has to run as administrator.

    The reason why Gnome and KDE desktops have password dialogs is not to ask user if he does or doesn't want to do something privileged -- of course, he does if he just started some administrative application. It's to ask him for a password that malicious application or user with no sudo access can't enter by themselves, and to give him the application's name so he can be sure that the application that will run is the same application that he just asked for. The dialog can just as well be a captcha for users that can't remember their own passwords -- the point is to confirm that a program is started by a real human user in front of the keyboard. A piece of malware can run gksudo, and user will see the dialog with a program that he didn't run -- it's assumed that he will cancel it if he doesn't recognize the name. But this is actually a suboptimal use of sudo, a limitation of typical sudoers file configuration. A much better idea will be to supply sudoers file with all possible applications and arguments that may be used in this manner -- then anything else will be simply denied without any user's interaction, or user will be just notified that something tried to run gksudo with invalid arguments.

    While the decision that administrative application may still run at reduced privileges unless it does something that requires true administrative access is a good idea, switching between those modes is not something that should be asked from user -- it should be asked at the very beginning when application starts, and should be done only for administrative applications.

    --
    Contrary to the popular belief, there indeed is no God.
  15. DoS by zebs · · Score: 4, Interesting

    Could malware create a DoS by launching random tasks - each one requiring admin level access. Would this then repeatedly prompt the user for admin permissions?

  16. No password asked... by descubes · · Score: 2, Informative

    One big difference between UAC and "sudo" or the MacOSX security dialog is that UAC does not ask for a password. Minor convenience (well, probably serious convenience given how frequently UAC pops up today), but major risk. I can leave my Mac or Linux box to someone that does not know the password, without instantly making him / her an administrator on my machine. The same is not true with Vista + UAC.

    --
    -- Did you try Tao3D? http://tao3d.sourceforge.net
  17. Security people should read this presentation by GauteL · · Score: 3, Insightful

    I just recently found a very interesting and scary presentation about security and phishing.

    Basically computer software has conditioned us to automatically press Ok in any dialog and there is nothing we can do about this. Automated actions by the user is inevitable and is present in every action in our life.

    Nobody remembers if they locked the door or not and if you put "If you reach under your chair you will find $500" in a popup dialog, nobody is going to notice it.

    From what I think I got from the presentation:
    * If you want warnings to be at all effective, avoid "false positives" at all costs. That is: Never show the user popups like: "you are sending information unencrypted over the network" (or whatever the IE dialog says) when you press a submit form on a web site, because people don't care and they will learn to ignore all such popups, even the important ones. The UAC is extremely guilty of this.
    * Some good insight into decision makers by users. Hint: people generate options one at a time and reject options that don't work. They never compare options but take the first one that works. This is called singular evaluation approach and is heavily taken advantage of in marketing. Software makers and web site creators should learn from this and modify their web sites accordingly.

  18. It's a deeper difference than that... by argent · · Score: 2, Informative

    An OS X "Administrator" account is not like a Windows "Administrator" account. Under OS X, when you provide an administrator account and password to this kind of dialog what it is actually doing is granting you the permissions, at the OS level, to perform the action. Without going through this dialog even an "administrator" doesn't actually have the rights to perform it.

    That is, in OS X this dialog is authorizing you to perform the action. If you are already authorized (that is if you were careless enough to run as root - the only real "administrator" account in the Windows sense) you shouldn't be presented with a dialog at all, because it's not asking you to *approve* an action you're already authorized to perform.

    The difference between authorization and approval dialogs is obscured by dialogs like the UAC one that are sometimes authorization and sometimes approval dialogs.

    But it's an important one. Approval dialogs are never necessary, technically, they're just there to try and give the user a "last chance" to keep a program from doing something that's possibly dangerous and may be irreversible. Whenever they exist, they should be a red flag, and an indication that the program may need to be restructured so the dangerous or irreversible operation doesn't happen.

    For example, instead of deleting a file, move it to a location to be deleted later. Give the user the opportunity to look in that location and restore the files.

    AND WHEN YOU HAVE DONE THAT, REMOVE THE APPROVAL DIALOG YOU DON'T NEED ANY MORE.

    Sorry for shouting, but I still can't believe that someone thinks it's a good idea for Windows to ask you if you want to move a file to the trash.

  19. LImited options by cdrguru · · Score: 2, Insightful
    Microsoft clearly had limited options for "increasing security" as an objective. If you think back a long ways you can see the effects of some of these choices on other platforms.
    1. The obvious choice would have been to break compatibility and force everyone to buy new software. Nothing from Windows XP would work on Vista if it did anything that required "rights" above those of a ordinary user.
    2. It might have been possible to not break compatibility completely but to heavily restrict the API in ways that actually would break many, many applications. This wouldn't be unexpected because Microsoft has said over and over not to go outside of the Win32 API - but everyone does it. Again the result would likely be massive numbers of applications would fail.
    3. Finally, what they did was something that was possible without breaking any compatibility. If the program wants to do something restricted, just warn the user and let it. For many (if not most) applications this means putting a blanket wrapper around the install which has been done. Not very effective but almost zero application breakage.

    Apple has in recent memory broken compatibility twice. The latest processor switch doesn't seem to have made much of a difference in hard-core Mac users - after all, they were punished with the PowerPC switch not very long ago and stuck around. However, the prospect of re-buying all the software for most people and companies isn't an attractive one. Certainly for security, emulation wouldn't be an available option. Apple, perhaps not completely a result of these compatibility breakages but nevertheless a factor, has about 4% of the personal computer market.

    IBM has had an extremely long run with the same external processor architecture. Today, if you buy a IBM mainframe system it runs essentially a superset of the System/360 instruction set. A program that was written for OS/360 in 1965 stands a very good chance of running today. IBM has had since the 1960's such a commanding lead in the mainframe market so as to push all other vendors out of the business completely, or to force them to jump through IBM's hoops by being completely compatible. It is unthinkable today to even look at a mainframe system that would not be IBM-compatible. For practical purposes, IBM has 100% of the market.

    OK, so which model makes the most sense? Apple with 4% or IBM with 100%? Periodic breaks in compatibility requiring new software or continuous software compatibility for 50 years? There are clearly differences between the personal computer and mainframe markets, but the similar effects of a break in compatibility are quite instructive.


    Why do you think Microsoft has stuck with compatibility for the last 20 years and pushed other considerations aside? Could it be they really like having nearly 100% of the market?