Slashdot Mirror


Microsoft Designed UAC to Annoy Users

I Don't Believe in Imaginary Property writes "At the 2008 RSA security conference, Microsoft's David Cross was quoted as saying, 'The reason we put UAC into the platform was 'to annoy users. I'm serious.' The logic behind this statement is that it should encourage application vendors to eliminate as many unnecessary privilege escalations as possible by causing users to complain about all the UAC 'Cancel or Allow' prompts. Of course, they probably didn't expect that Microsoft would instead get most of the complaints for training users to ignore meaningless security warnings."

571 comments

  1. Of course... by evanbd · · Score: 5, Insightful

    If they'd done this from the start, no one would be complaining. In Linux or UNIX, if a program wants elevated privileges, it requires user intervention. The result is that programs don't expect to have superuser privileges if they don't actually need them, and everyone is happy because the only things that have to be done as root are things you'd expect to require root access.

    1. Re:Of course... by stubear · · Score: 2, Insightful

      They did do this from the start, they just didn't force developers to follow good coding practises when writing apps for the NT platform.

    2. Re:Of course... by Anonymous Coward · · Score: 0

      Of course, they could actually make it *effective* by asking for a password.

    3. Re:Of course... by tepples · · Score: 5, Funny

      If they'd done this from the start, no one would be complaining. In the era of Windows 95, home PCs weren't considered to have enough CPU and RAM to enforce proper privilege separation.
    4. Re:Of course... by CastrTroy · · Score: 4, Informative

      The problem is that even MS hasn't gotten around to removing all the annoying UAC popups based on stuff in their own interface. If you want to rename something in your start menu, you get 3 prompts from UAC. Same goes for moving or deleting something. I get tons of UACs, and most of them are from Windows itself, not other apps.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    5. Re:Of course... by msuarezalvarez · · Score: 1

      I have a rather vivid image of myself entering root passwords to get administrative things done in my 95ish computer... Maybe the home PCs magically became more powerful when you used another OS?

    6. Re:Of course... by Z34107 · · Score: 4, Informative

      It does - if you're on a limited account.

      It's only if you're logged in as administrator that you don't have to provide a password - you already did when you logged on.

      Think of it this way - with UAC, even root has to sudo.

      --
      DATABASE WOW WOW
    7. Re:Of course... by Anonymous Coward · · Score: 0

      The result is that programs don't expect to have superuser privileges if they don't actually need them, and everyone is happy because the only things that have to be done as root are things you'd expect to require root access. I'm guess you haven't tried to deploy a SELinux desktop environment...
    8. Re:Of course... by Chris+Mattern · · Score: 4, Interesting

      In the era of Windows 95, home PCs weren't considered to have enough CPU and RAM to enforce proper privilege separation.


      Odd that the same home PC at the time, running Linux, had no trouble at all enforcing it.
    9. Re:Of course... by CyberLife · · Score: 5, Insightful

      To extend your point, the reason UNIX systems don't have UAC-style privilege elevation is due to its history. UNIX came into being, and was largely developed, during an era in which virtually all computers were large, multi-user systems that sat in a back room. An administrator would have to be sitting at a terminal 24/7 just in case somebody came knocking -- quite an unreasonable expectation. As a result, programmers had to get used to the idea of restricted abilities.

      With the desktop computer model, the situation is quite different. Classically-speaking, the user is sitting right at the machine and is the only one using it. They are the administrator as well as the user. There is no expectation of security since nobody else is involved. Windows derives much of its architecture and style from this method of computing.

      Modern-day computing is rapidly moving back toward the shared-computer model. This is occurring somewhat on the front-end (e.g. individual user accounts on a desktop machine for different users), but mostly it's happening on the back-end. Internet servers are very reminiscent of the mainframe-era multi-user model. This is why UNIX is such a good fit for such tasks -- it was designed specifically for it, whereas Windows has had to play catch-up. UAC is a good example of single-user thinking applied to a multi-user problem.

    10. Re:Of course... by CastrTroy · · Score: 1

      Worked when I installed Mandriva on my laptop. It's quite a bit faster than Vista.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    11. Re:Of course... by tepples · · Score: 1, Informative

      Odd that the same home PC at the time, running Linux, had no trouble at all enforcing it.

      Then I said it wrong. Please let me rephrase: "In the era of Windows 95, home PCs weren't considered to have enough CPU and RAM to enforce proper privilege separation while running a graphical user interface." Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?

    12. Re:Of course... by megaditto · · Score: 1

      No trouble enforcing privileges at all... until you needed to run that setuid script to mount a floppy!

      I seriously doubt you actually have experience using linux in the early days (pre-2000): masochists and the brainfuck geeks sure loved it, but nobody else did.

      And no, linux+GUI was never (and still isn't) as memory-efficient as Windows. You could have win95+explorer, IE3-4, word97, and Borland IDE running all side by side on a machine with P1-133 Mhz, 16 MB of RAM. That's the level of efficiency you could not get from linux at that time (from OS/2 or BeOS yes, linux NO) but you paid for it by giving up security.

      --
      Obama likes poor people so much, he wants to make more of them.
    13. Re:Of course... by Alex+Belits · · Score: 1

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM? With 4M of RAM actually. Graphics adapters were 8-bit then, so everything used less memory.
      --
      Contrary to the popular belief, there indeed is no God.
    14. Re:Of course... by bflong · · Score: 4, Informative

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?

      Yes. And before that it was a 386sx 16mhz. Worked fine. With X. And a web server running in the background, serving over dialup w/ static IP. Uphill. Both ways!

      I'm serious about everything but the uphill both ways thing. I used that thing every day for at least a year. I don't remember it being slow, but I imagine it would seem so today.

      --
      Why is it so hot? Where am I going? What am I doing in this handbasket?
    15. Re:Of course... by MichaelSmith · · Score: 4, Interesting

      Odd that the same home PC at the time, running Linux, had no trouble at all enforcing it.


      Then I said it wrong. Please let me rephrase: "In the era of Windows 95, home PCs weren't considered to have enough CPU and RAM to enforce proper privilege separation while running a graphical user interface." Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?

      No that doesn't make sense either. How about "windows was never meant to be networked so multi user protection wasn't built in from the start"

    16. Re:Of course... by Foofoobar · · Score: 1

      I call bullshit. Those PC's with that same RAM and CPU run LINUX just fine and it has proper privilege separation. Even Current kernels. Mind you the distros are scaled back quite a bit but even back then they ran Linux just fine too; my wife was an early adopter.

      --
      This is my sig. There are many like it but this one is mine.
    17. Re:Of course... by Anpheus · · Score: 4, Insightful

      Last I remember, registering an account on Slashdot didn't give me a user account on the Linux server.

      UNIX being "such a good fit for such tasks" is completely off-base and irrelevant to the discussion. The software that runs on the OS determines my interactions, and the "privileges" being imparted to registered users, such as allowing me to post a message and have my account name appear above it, are not at all imparted by the multi-user sensibilities of the OS the web server is running off of.

      I guarantee Slashdot could run off Windows or Linux boxes and you or I wouldn't know the difference.

    18. Re:Of course... by Anonymous Coward · · Score: 0

      "even root has to sudo" ...see "Ubuntu"...

    19. Re:Of course... by rtb61 · · Score: 1
      Considering M$'s QDos history (quick dirty operating system). The reality is more likely, that they just spewed out an operating system it the quickest cheapest fashion they could. After all win 95 came out after windows for workgroups win3.11 (networking, so no excuse) and after they had already decided to stab their then partner Novell in the back with NT. With NT also having a greatly inflated price structure which partly in turn can only be justified by ensuring that the home version, 95 specifically had none at all.

      With win98 the created the typical M$=B$ marketing illusion of security with a logon for win98, of course you still had to pay much more for that logon to actually mean anything and get winNT.

      Ahh, the corporate manoeuvrings of marketing bullshit, the seeking of maxmium profits and attempting to establish an OS monopoly (with a good measure PR rewriting of history).

      --
      Chaos - everything, everywhere, everywhen
    20. Re:Of course... by jlarocco · · Score: 1

      I think that's part of what the OP meant by "If they'd done this from the start". Security that nobody uses or enforces might as well not even exist.

    21. Re:Of course... by CyberLife · · Score: 1

      I said Internet servers, not web servers. Thus, I was including all of the various things one might wish to do with a remote shared-machine. Many of these things do require one to have a system account.

      Additionally, I said modern system models were reminiscent of the older mainframe approach, not the same as. The point I was making is that multi-user, remote-computing is experiencing a resurgence of popularity; and that UNIX has its roots in that way of doing things, whereas Windows does not. I never said Windows lacked the capability.

    22. Re:Of course... by fizzup · · Score: 5, Informative

      Period PC hardware absolutely was capable of running X11. I bet quite a few idiots like myself did it at the time.

      First, an 80486 was not really period hardware. The Pentium classic was on the market at the time that Windows 95 came out, clocked at 100MHz. It had been around for almost a year at that speed. This processor is a few percent as fast as modern CPUs.

      Now, if you were to put Gnome or KDE on this hardware, it would be a pig. For me, I ran the Open Look Window Manager. It looks like this, which I think looks a little bit worse than Windows for Workgroups. But, man, is it lean.

      All rolled up, that window manager, using colour depth common in the period, is probably more than ten times faster than a modern desktop. Through the mists of time, I'd say that Ubuntu, with modern hardware, seems a good three or four times faster than that old unix box, which fits.

      For what it's worth, the experience was about as fast as the Sun boxes I had used at university a few years before. IIRC, they were running microSPARC I processors at 40Mhz. I don't remember the RAM, though. They ran OpenLook as well,which is why I used it a few years later. I was used to it.

      You should know that X11 was released in 1987. It's not like they wrote and debugged it by desk checking, yeah? It ran on workstations available 20 years ago. Moore's law says there were five doublings of transistors per unit area between 1987 and 1995. To say that hardware in 1995 was too slow to handle security, protection, and a GUI is false on its face.

    23. Re:Of course... by SCPRedMage · · Score: 1

      It's worth noting that you can set Vista up to ask for you password even if you ARE logged on as an admin.

      --
      My sig can beat up your sig.
    24. Re:Of course... by GigaplexNZ · · Score: 1

      And no, linux+GUI was never (and still isn't) as memory-efficient as Windows. I can't say much about the Win 95 days, but that statement is a blatant lie for the current iterations.
    25. Re:Of course... by Tacvek · · Score: 1

      More accurate might be that with UAC, the 'admin' accounts are no longer effectively root, but are members of the wheel group (or equivalent in your preferred distro) which allow the use of sudo to run any command without any password. (The windows normal user prompt though is more like "su -c" as it prompts the user for an admin username and password, where a configured sudo would allow some commands with only the user's own password, or if configured no password at all.

      --
      Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
    26. Re:Of course... by rthille · · Score: 1

      I ran Unix with Display Postscript on a 68030 with 8MB of RAM. It rocked.

      Software doesn't have to suck, there doesn't need to be 47 layers of crap between the CPU and the user.

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
    27. Re:Of course... by Anonymous Coward · · Score: 5, Insightful

      That's about it in a nutshell, but it is a little more complicated than that.

      UNIX legacy lies in Multics which was designed to work along side big iron hardware with hierarchical protection domains that provide the mechanism to restrict the access of a process to resources. UNIX, being directly derived from Multics, benefitted from this lineage by having such robust security throughout it's design at the expense of not being able to run on commodity hardware.

      Windows's legacy lies in DOS, which was designed to run on commodity hardware that completely lacked these capabilities. Without hierarchical protection rings the OS had absolutely no ability to enforce any form of resource management. Even if there were enough hardware resources to allow for the OS to have more than a few resident functions in memory, every application still had full and complete control over all of the hardware, and a lot of them made the most of it for performance reasons. It didn't matter how many users there were; security was simply not an option.

      When Windows NT was being developed the correct choice was made to completely isolate the older processes to an emulator. Unfortunately this meant that any process written within the last 5 years ran like garbage. Towards the end of the 16-bit era programmers got very creative in overcoming both the limitations of DOS and squeezing every last cycle out of the hardware. This made emulation exceedingly difficult and prone to failure. Companies were sticking to Windows 3.x rather than jumping to NT because of the failure to support legacy applications perfectly.

      When Microsoft developed Windows 95 they reversed that decision and kept the 16-bit DOS core, both for compatibility with legacy applications (particularly games), development time and performance. This enabled the large DOS library to work without a hitch on Windows 95 at the sacrifice of locking down the security model. Without that programmers were able to and continued to shirk the basic security guidelines set forth by Microsoft and write applications that required full access, if not direct kernel access.

      Microsoft is trying to have their cake and eat it too. UAC is three things:

      First, it tries to prepare the user for life as a non-admin. Everyone is used to being admin, and if being admin means not having to think about security then people will continue to be admin. However, if admin isn't really admin unless you really mean it, then admin feels like a normal user. The disadvantage to this is that users will become jaded to the prompt, particularly at this stage when it's fairly prevalent.

      Second, it does force the application developers to make correct decisions and follow the written guidelines. An application that does so will never, ever see a UAC prompt and will run perfectly fine under UAC, and under a normal user context. These guidelines have been a part of the Windows Logo process since Windows NT was first released. Hopefully, as more application developers catch on the UAC prompts will become significantly more infrequent, and applications that require escalation for specific tasks will follow the procedures to inform the user of this fast and request escalation internally only for that task.

      Third, it tries to silently handle programs that do stupid things by "virtualizing" their actions. The vast majority of applications that require administrative access only do so because they try to write either to the %PROGRAMFILES% directory or the HKEY_LOCAL_MACHINE hive of the registry. So, with UAC enabled, attempts to write to these locations are silently redirected to the user's profile. The task succeeds, the application is happy and the user is happy.

      You could argue that the route Apple took was better. I wouldn't disagree, but these kinds of business decisions are complex. Apple basically gets to say "fuck you" to everyone every ten years and they largely live with it. I'm not sure the people would be so forgiving with Microsoft, even if doi

    28. Re:Of course... by T-Bone-T · · Score: 1

      For a second, I actually believed you use Vista or have used it. I just renamed Minesweeper with a single UAC prompt. Right after that, I deleted the DIVX icons from the All Users desktop with only 1 UAC prompt.

    29. Re:Of course... by wolferz · · Score: 0

      but... they didn't. For whatever reason, right or wrong, they didn't. Shoulda coulda woulda.

      Also I don't see where they intentionally made UAC prompts pop up more than they had to... though I imagine they might not have gone out of their way to make it pop up less.

      Personally, I usually go a week or more between UAC prompts... and I'm a computer nerd that likes to try out new apps and programs or play with the internal workings of Windows. Right now I've got my C:\Users folder symlinked (actually junctioned since windows symlinks don't work across volumes) to D:\WinHome just because I wanted to see if I could do it. (It works but some apps (Peachtree, MS Office 2003, Adobe Updater) and some patches (any of the language packs, and service pack 1) have fits over it)

      UAC has not come very close at all to annoying me... even after I made it ask for a password each time... and even after I set up Active Directory which makes UAC prompt for a user name each time as well. Honestly I had to SU or SUDO more often in linux than deal with UAC in Vista... but then all I ever use Linux for is to toy with.

    30. Re:Of course... by Obstin8 · · Score: 1

      They are the administrator as well as the user. There is no expectation of security since nobody else is involved. Windows derives much of its architecture and style from this method of computing.

      And then they came out with WFW 3.11. Holy shit - a network!!! 15 years later and they still haven't got their shit together. C'mon - it's all one big dog and pony show. Why defend the monopolist fucktards.

      DOS could reasonably said to have no expectation of security. Windows - post 3.0 - does not have the same excuse. Networking , and network security, pre-dated WFW 3.11 by many, many years. Maybe Bill should have done a bit more than just rip off CP/M.

    31. Re:Of course... by siddesu · · Score: 1

      root doesn't have to sudo on ubuntu.

    32. Re:Of course... by deniable · · Score: 1

      Err, what? You could run NT 3.51 or 4 on some of those home machines and it definitely had a decent security model. (There were plenty of other options, but I'll play with a handicap.)

      You need to look back to CPM and thus MS-DOS. There was one user on an isolated machine, therefore you didn't need separation. Application writers got used to writing software for this environment and every time MS did something about it, the application writers stamped their feet and did things the same as always and the users blamed Bill Gates.

      For example:

      * How long did it get games writers to use Direct X and stop trying to touch hardware. DOS let them do it, so why shouldn't Win 95? Nobody multi-tasks.
      * How many stupid little applications required an NT user to run as administrator. NT 4 came out in 1996 and vendors still had problems a decade later. (Some of it could be fixed with ACL changes, but some of it was just stupid and mean.)
      * XP came along and suddenly all of the home users had real (ish) security and what did most of the application vendors tell them? Run as administrator.

      Don't even get me started on registry evil. The worst offender ever was the IE4 setup. It effectively removed 4MB of RAM by breaking one of the big rules of the registry. (Never put anything large in there. The other biggie that brings us full circle is that user settings go in HKCU not HKLM.)

    33. Re:Of course... by RobertM1968 · · Score: 1

      I have a rather vivid image of myself entering root passwords to get administrative things done in my 95ish computer... Maybe the home PCs magically became more powerful when you used another OS?

      LoL! Isn't that STILL the case? :-)

      We really need a "+1 Sad but True" mod choice...

    34. Re:Of course... by Anonymous Coward · · Score: 0

      That's not quite true... while members of the "Administrators" group are subject to UAC, the real "Administrator" (root's equivalent) account on Vista has no UAC protection whatsoever. What they've done in place is made it a total bastard to gain access to that account.

      It's not very consistent, but that seems to be Microsoft's style. :-/

    35. Re:Of course... by Drinking+Bleach · · Score: 1

      In the Win 95 days, I was able to run Doom without shutting down X11 first. With Windows 95 itself, the GUI was too slow to run Doom at the same; exit back to DOS.

    36. Re:Of course... by UnderCoverPenguin · · Score: 1

      Considering M$'s QDos history (quick dirty operating system). The reality is more likely, that they just spewed out an operating system it the quickest cheapest fashion they could.

      Still no excuse. CP/M, which MSDOS was a ripoff of, had multiuser capability and some limited protection of one user from another.

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    37. Re:Of course... by Anonymous Coward · · Score: 0

      "Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM"

      Just one more horse ass shooting off your braying stupidity, aren't you?

      FYI, TWM was made in 1987, and it isn't even the first X interface. MacIntosh had the first GUI mouse/trashcan set while Gates was still mocking the idea of a GUI. Microsoft had DOS first, which was a black screen with a C:\>_ prompt, DOS was descended from CP/M which was descended from Unix which was started in Bell Labs in 1969 and it HAD BUILT-IN FILE SYSTEM SECURITY EVEN THEN, YOU STUPID FUCK!

      By the way, your shit is not ice cream.

    38. Re:Of course... by radio4fan · · Score: 1

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM? My NeXTcomputer ran X11, NeXTStep and all the bells and whistles on a 25MHz 68040 and came with 8Mb of memory (but I upgraded it of course).

    39. Re:Of course... by init100 · · Score: 2, Informative

      Privilege separation is not something that requires a fast CPU and a big amount of RAM. Separate protection rings were introduced by Intel's 80286 processor, which was released in 1982. Other architectures probably had something equivalent even before then.

    40. Re:Of course... by LO0G · · Score: 1

      "Cheapest fashion they could"?

      Um... This was an OS designed for a machine with 8K of RAM (that's 8192 bytes of RAM), and with no memory protection hardware.

      Even the very first Unix ran on a machine with 8 times that amount of memory. It's not surprising that MS-DOS left things like security on the cutting room floor.

      Don't blame MSFT for the limitations of the hardware.

      And I don't know that anyone at MSFT ever claimed that Win9x had any security, I'd love to see a reference.

    41. Re:Of course... by Anonymous Coward · · Score: 0

      Well, a UAC prompt and also a standard "Are you sure?" and a "This action affects all users". Still 3, but only one of them is UAC.

    42. Re:Of course... by Chris+Colohan · · Score: 4, Insightful

      My first PC (replaced my old Amiga...) was a 486DX/33 with 8MB of RAM. Since I was a geek, I installed OS/2 2.0, Windows 3.1, and SLS Linux 0.95.3. (Aside: my mouse didn't work under Linux. So I kludged the driver to make it work, and submitted the patch to Linus. Now my name is in the kernel, on a driver for a mouse that nobody has made since 1992...)

      Windows was snappy and fast. OS/2 lumbered along (it spent a lot of time swapping, since 8MB was not really enough for it). Linux was zippy fast, unless you started X -- X worked, but was pretty darn slow.

      Compared to the Sun workstations at school which each had 10 NCD X-terminals slaved to them, Linux/X on this machine was fast. But compared to everything else, it was slooooow.

    43. Re:Of course... by BobPaul · · Score: 1, Troll

      On a unix server, each major system process runs under it's own user. There's an apache user, a samba user, an lp user, a mail user, a backup user, a HALdaemon user, a display manager user, a mysql user...

    44. Re:Of course... by igb · · Score: 1

      In the late 1980s I ran X10 and (I think) X11 on Sun 3/50s, with a 15MHz 68020 and 4MB of RAM. It worked well enoug. By the early 90s, X11 was perfectly usable on Sun SLC and ELC machines with 4, 8 or 16MB of RAM. I don't believe that a 1995 33MHz 486 with 8MB of RAM is a substantially slower machine that these workstations of five or ten years previously. Yes, I'm aware that I'm comparing monochrome 1-bit frame buffers with 8-bit colour, but I can't remember the prices, timings or basic performance figures of the Sun IPC which might be a better comparator.

    45. Re:Of course... by Carewolf · · Score: 1

      You can easily run at least KDE 3 on a pentium or 486. It runs om many old RISC CPU who has similar processing power, all it really needs is memory.

    46. Re:Of course... by rtb61 · · Score: 1

      The catch is the couldn't charge substantially extra for multi user. The whole B$ differentiation to inflate the price of windows continues to this day, nothing but greed and marketing lies.

      --
      Chaos - everything, everywhere, everywhen
    47. Re:Of course... by lattyware · · Score: 1

      Root does not exist on a stock Ubuntu install.

      --
      -- Lattyware (www.lattyware.co.uk)
    48. Re:Of course... by jcupitt65 · · Score: 1

      Sure, I used to use X11 on a Sun 3 with 4MB of RAM. X11 was designed in the mid 1980s when computers were really rubbish. X11 will run on cell phones now, as I'm sure you know.

    49. Re:Of course... by Shuntros · · Score: 1

      Dear oh dear.

      Of course it does. It simply has no password set and the policy requires root has a password, hence you have to set one before root can login.

    50. Re:Of course... by petrossa · · Score: 1

      Concurrent CPM later Concurrent DOS ran up to 16 serial Wyse terminals with four tasks per terminal on a 80286. With FBasic it ran some pretty important financial apps. No security probs there, maybe because no one tried but still...

    51. Re:Of course... by Bert64 · · Score: 1

      MS-DOS was designed to run on a machine with considerably more than 8K... Even the first IBM compatibles had 640k i believe.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    52. Re:Of course... by Lost+Engineer · · Score: 2, Funny

      Of course root exists.

      sudo whoami

    53. Re:Of course... by mav[LAG] · · Score: 1

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?

      Very usefully. I had a Cirrus Logic card and Slackware ran X with fvwm without problems in 1994. I had a big virtual desktop and remember running various X apps including lander, eyes, roach, the xv image viewer, emacs, some ancient mpeg player and loads of others.

      --
      --- Hot Shot City is particularly good.
    54. Re:Of course... by NekoXP · · Score: 1

      Of course Unix/Linux developers have been suggesting that you setuid your programs if they need root access and can't be given it (Squid auth daemons like pam_auth, are a modern example). This doesn't require any user interaction.

      What was that CD writer software on Linux that required setuid to burn to a CD? It was only 2 years ago, maybe even less? That didn't require any user interaction, and in fact only a kernel change forced them to rethink the way they did it.

      Linux has all the same problems as Windows, just when an app fails on Linux, they nag the author that crashed (even if it's a kernel bug or a bug in some other app, they nag the author of the thing they were using that went A-SPLODE). On Windows, users instantly blame Microsoft for every nVidia driver bluescreen, every slowdown and crash caused by shitty Antivirus software or AOL Instant Messenger.

    55. Re:Of course... by RAMMS+EIN · · Score: 1

      It also helps that proper *nix programs don't go around popping up windows and making the rest of the computer unusable.

      Security doesn't have to be annoying.

      --
      Please correct me if I got my facts wrong.
    56. Re:Of course... by jonbryce · · Score: 1

      Don't think so. The Amstrad 1512 had 512k, and that was considerably more than the IBMs of the time. 640k was the maximum amount of memory MS DOS could address without resorting to hacks like extended memory.

    57. Re:Of course... by mpe · · Score: 0, Redundant

      The point I was making is that multi-user, remote-computing is experiencing a resurgence of popularity; and that UNIX has its roots in that way of doing things, whereas Windows does not. I never said Windows lacked the capability.

      Windows has had the capability since NT 3. The problem appears to be that application developers often don't understand the basic concepts.

    58. Re:Of course... by quux4 · · Score: 1

      How do you think Windows is different? Please explain.

    59. Re:Of course... by Idaho · · Score: 1

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?


      Yes, a DX2/66 with 4 MB of RAM actually.

      I'm not saying that it worked particularly fast, but then again, installing Windows 95 on that thing would not even work at all.
      --
      Every expression is true, for a given value of 'true'
    60. Re:Of course... by uglyduckling · · Score: 1

      You're quite right, we wouldn't know the difference... until IIS gets hacked and the web server slows to a crawl because it's become a zombie machine for a network of spammers.

      One of the reasons IIS has such a reputation for being compromised is that it's so difficult (not impossible) to lock down a Windows machine, particularly so at the dawn of Windows-based internet services when NT4 was the norm. It's not that difficult on the Unix box to use different accounts for different purposes within the server environment, so that e.g. the SQL backend has one account, the web user authentication (which is not the same as a unix account) has another, etc. If something is compromised, the worst that can happen is the hacker gains access to a specific account that may well be running in a chroot jail, and certainly wouldn't have root privileges.

      Classically on a Windows box, if you compromise IIS you have root/admin access to the box and can do what you like. That's the point. I'm not saying it's impossible, the GP's point is that the Windows 'heritage' makes it more difficult and unintuitive.

    61. Re:Of course... by mpe · · Score: 1

      You need to look back to CPM and thus MS-DOS. There was one user on an isolated machine, therefore you didn't need separation.

      You also had MP/M a multi user version of CP/M; Concurrent CP/M a multitasking CP/M; CP/NET a networked version of CP/M. This was 25 years ago. Using such harware as a Z80 CPU with bank switched memory.

      * How many stupid little applications required an NT user to run as administrator. NT 4 came out in 1996 and vendors still had problems a decade later.

      These are not always "little" applications, nor are they always even 12 months (let alone 12 years) old.

      (Some of it could be fixed with ACL changes, but some of it was just stupid and mean.)

      Assuming you could get the relevent information out tf the clueless vendor.

    62. Re:Of course... by lattyware · · Score: 1

      Let me rephrase then 'You can not use root as usual in a stock Ubuntu install.' What I'm saying is you don't have to sudo as root in Ubuntu, because you never log in as root, hence you don't sudo as root. Sorry for over-simplifying.

      --
      -- Lattyware (www.lattyware.co.uk)
    63. Re:Of course... by mvdwege · · Score: 1

      The original IBM PC came with 64K, expandable to 512K. For the CP/M (of which QDOS was a rip-off) machines of the time, 48K was considered minimum spec, and 64K was more or less mandatory.

      So yes, the grandparent statement was bullshit. And it paints MS in a particularly bad light, because there were secure multi-user OSes out there that could run in those specs, like MP/M and OS/9. Heck, even CP/M 3.0 had the concept of seperate user areas on a single disk.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    64. Re:Of course... by mvdwege · · Score: 1

      Unix does not, in fact, have robust security, especially not in user separation. A security failure in Unix in this area is catastrophic and irrecoverable, because a privilege elevation means you are root, in complete control of the machine.

      What differs is that this is a known issue in the Unix community, and has been a known issue for a long time, and has been fixed by a general community reaction of running away as far as possible, as soon as possible, from root privileges. There is a paranoia in systems administration and development in the Unix world that just is not present in the Windows world.

      Microsoft being Microsoft of course took the NIH way, by fitting a Rube Goldberg construct of objects with ACLs into their system, and then trusting everyone to use it properly. It doesn't help that the rise of Unix led to a bunch of malcontent fugitives from rival systems moving to Microsoft. Check the careers of the writers of the Unix Haters' Handbook for a giggle. For a real belly laugh, read what they said about Unix security back then, and compare it with what Microsoft implemented since then.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    65. Re:Of course... by kitgerrits · · Score: 1

      I think you're confusing "I can't log in as root because the account does not exist" with "I can't log in as root because the install program dit not set a password for it".
      It was a simple (and very effective) way of keeping users from logging in directly as root, so they would never have to use sudo.
      I still know professional un*x admins that simply log in as root, because /sbin/ and /usr/sbin/ are not in the default user path
          (and they have to spell out sudo /sbin/ifconfig).

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    66. Re:Of course... by kitgerrits · · Score: 1

      512K?
      My old Ericsson had 256K. (That was after adding a 128K expansion card).
      Mind you, that was MS-DOS 3.3.

      Those were the days you ran WordPerfect 4.1, because it could be run off a single 5 1/4 (320K) floppy disk.
      Those were the days you had to split your document into several files, because they either could not fit in the memory or on the disk, depending on how much RAM you had.

      I think you're forgetting the point in time old Billy G said his famous mis-quote about 640K.

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    67. Re:Of course... by Kalriath · · Score: 1

      So... identical to Ubuntu's strategy then?

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    68. Re:Of course... by alien_life_form · · Score: 1

      Greetings.

      Look, "decent security model" does not really apply (if targeting coders, let alone users). On Windows 2000, if I recall correctly, scheduler (cron) jobs had to be granted "Logon as a network service" to work (Huh?).

      Cgi (perl) scripts would misteriously issue syntax errors if not running as Admin. Programs using COM need(ed) (elevated) DCOM -related privileges to invoke out-of-process servers. Accessing network shares from a web program (may) require *a domain account with administrative DOMAIN privileges* (that crazy or what?)

      In short the entire privilege architecture under windows is a big hairy mess nobody really understands, with thousands of privileges that you need to assign to perform tasks which are ostensibly unrelated to the names the privileges themselves are given. No wonder everybody (MS included sometimes) chose the path of least resistance (sanity in this case) and went for "run as Admin". That, or spend countless frustrating hours debugging "security" issues, and building wicked installers that need create users, access domain settings, with zero chances of completing trouble free in any real environment, and that therefore no end user can successfully navigate without expert support.

      Frequent popups, bearing cryptic messages (UAC) do nothing other then training 'the click on yes' speed of end users.

      Cheers,
      alf

    69. Re:Of course... by Anonymous Coward · · Score: 0

      Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM?

      Yes. And before that it was a 386sx 16mhz. Worked fine. With X. And a web server running in the background, serving over dialup w/ static IP. Uphill. Both ways!

      I'm serious about everything but the uphill both ways thing. I used that thing every day for at least a year. I don't remember it being slow, but I imagine it would seem so today. Me too. My first linux install was a Slackware 4.0 on a 486 DX2/66 with 8Mb of RAM and 100 Mb of disk space. I had X and even sound blaster sound :). My parents never really understood why their disk suddenly moved from 400 Mb to 300 Mb and what was this strange command prompt at start-up...
    70. Re:Of course... by makomk · · Score: 1

      On Windows, every major system process traditionally runs as System, which is the equivalent of root on Linux. (I think Vista and Server 2008 might finally be starting to fix this.)

    71. Re:Of course... by tepples · · Score: 1

      You could run NT 3.51 or 4 on some of those home machines and it definitely had a decent security model. Then why did Microsoft even market Windows 95 rather than Windows NT for home use?
    72. Re:Of course... by timmarhy · · Score: 1

      what nonsense are you fucking babbling about? no OS forces coders to follow any standards. they are only limited by the security model the OS employs, and even then there is nothing stopping them circumventing it with stupidity. i've seen many examples of things that NEED to run as root in the OSS world, which really shouldn't

      --
      If you mod me down, I will become more powerful than you can imagine....
    73. Re:Of course... by Richard+W.M.+Jones · · Score: 1

      Windows's legacy lies in DOS, which was designed to run on commodity hardware that completely lacked these capabilities. Without hierarchical protection rings the OS had absolutely no ability to enforce any form of resource management. Even if there were enough hardware resources to allow for the OS to have more than a few resident functions in memory, every application still had full and complete control over all of the hardware, and a lot of them made the most of it for performance reasons. It didn't matter how many users there were; security was simply not an option.

      While they maybe didn't enforce it at the hardware level, operating systems like Minix and Coherent did feature all of the user-based security features of equivalent Unix systems of the time, and they ran on 8086 (ie. 16 bit PCs) upwards. (Minix, when running on 386+, does have memory protection).

      No one who wrote Minix software (as I recall) ever deliberately bypassed the security mechanisms because they were all Unix programmers and wouldn't have thought about writing software that way. So the DOS/performance thing was more cultural than about the hardware itself.

      In fact 8086's segmented memory model did give you some protection against simple programming errors because unless your program accidentally changed a segment register (pretty unlikely) it was effectively confined to the 64K of RAM starting from its data segment. This means it would mostly overwrite only itself and the bit of spare RAM following.

      Rich.

    74. Re:Of course... by BobPaul · · Score: 1

      Root doesn't have a password and can't be logged into directly, so the user logs in with an "administrator" user (an account that's a member of the admin group) instead. By default, everyone in the admin group has sudo access to all commands.

    75. Re:Of course... by Weedlekin · · Score: 4, Informative

      "UNIX, being directly derived from Multics, benefitted from this lineage by having such robust security throughout it's design at the expense of not being able to run on commodity hardware."

      Except of course Microsoft's Xenix, which Altos ported to the 8088 in 1982, and SCO offered for the IBM PC in 1983 (MS licensed Xenix source code OEMs and software companies rather than selling the finished product directly to end-users). A lot of people seem to forget that MS were UNIX licensees in 1979 and added several BSD elements to the V7 code they got from AT&T when designing Xenix. All of this happened quite a while before they bought QDOS to satisfy IBM's requirement for a CP/M-like system.

      "Windows's legacy lies in DOS, which was designed to run on commodity hardware that completely lacked these capabilities."

      Windows' legacy is actually the Lisa and Macintosh, which were what inspired MS to write it. It's a single user system because the Mac was a single user system, and MS chose to use DOS as a launcher because they were aiming it at users of machines that already had DOS and software for it on them. If they'd chosen to use a different OS with a different file structure that required different software, they'd have risked pissing off their potential customer base. Selling a graphical shell that ran on top of DOS but offered multi-user and and pre-emptive multitasking on the other hand would have pissed off IBM, whose contract with MS forbade them from offering those facilities in DOS or DOS-based software to ensure the PC didn't compete with their then lucrative minicomputer business. And as neither were necessary for a Mac-like experience, MS decided to take the route that rubbed the least people up the wrong way.

      --
      I'm not going to change your sheets again, Mr. Hastings.
    76. Re:Of course... by TheRaven64 · · Score: 1

      The first NeXTstation, released in 1990, had a 25MHz Motorola 68040 and 8MB of RAM. It ran an object-oriented GUI on top of a Mach-based UNIX OS. The Cube that predated it (and cost more) had similar specs and ran not only the first web browser but also the first web server. Consumer-grade hardware five years later was more than up to the task of doing the same thing five years later - and the i486 release of OPENSTEP demonstrated this. Unfortunately, with a price tag of $499, and no ability to run Win16 programs, few people experienced it.

      --
      I am TheRaven on Soylent News
    77. Re:Of course... by deniable · · Score: 1

      Where to start? WfW 3.11 had networking and it could technically act as a server, but with very limited access controls. Most of the networking was as a client.

      The partner screwed by NT was IBM not Novell.

      The password added to Windows 98 was the same one that was there in WfW and Win 95. BIG CLUE: It had nothing to do with access to the local machine. It unlocked the password list for access to network resources. EVEN BIGGER CLUE: There was a secret back door hidden under the ESC key. (This got you on to the box, without automatic access to network shares.)

    78. Re:Of course... by deniable · · Score: 1

      Application and hardware support. Vendors of applications and drivers didn't really get on board with NT until 5.1 (XP) came out.

    79. Re:Of course... by quux4 · · Score: 2, Informative

      I just checked an XP system I had running. Of 78 processes, 15 (19%) running as SYSTEM.

      On Vista, 18 out of 64 (28%) running as SYSTEM.

      On an Ubuntu (Dapper) system: 73 out of 119 (61%) were running as root.

      On a Fedora (FC4) system: 117 out of 138 (85%) were running as root.

      On a CentOS system: 76 out of 96 (79%) were running as root.

      All are fairly default systems - no extra-special attention given to lockdown, and certainly none of the services/daemons were changed to run as nondefault users. The FC4 and CentOS systems are servers; the others are desktop systems.

    80. Re:Of course... by yuna49 · · Score: 2, Insightful

      Nor was Windows designed to be multi-user in the first place, either. It's roots were in DOS - one computer, one user. Even running with Netware, the workstations were still fundamentally single-user systems. The NOS controlled access to storage and peripherals.

      Having a GUI interface had nothing to do it.

    81. Re:Of course... by yuna49 · · Score: 1

      I must have been a masochistic brainfuck then. We were serving web pages and handling email and nameservice on 386/486 boxes running Linux as early as 1994. Still do, though the hardware is a bit beefier.

      How would you have built a Internet-capable server in 1994 on the x86 platform? There was Windows, which really had no support for TCP/IP-based services at the time, various commercial *nix products like Unixware, SCO or Xenix, and Linux. It took us two days to discard Unixware as an option (what a loser), while products like SCO or Xenix were way too expensive for our needs. That left Linux. We started with Slackware and the 1.1.59 kernel; I've never looked back.

    82. Re:Of course... by TheRaven64 · · Score: 1

      Microsoft being Microsoft of course took the NIH way, by fitting a Rube Goldberg construct of objects with ACLs into their system, and then trusting everyone to use it properly. This wasn't exactly a NIH problem. VMS and most Real Operating Systemsâ used a similar model, and their users looked down on toy operating systems like UNIX for not supporting it.
      --
      I am TheRaven on Soylent News
    83. Re:Of course... by TheRaven64 · · Score: 1
      You could avoid the CD writer needing to be setuid (in 2002, when I last tried this) by changing the permissions on the device node to make the writeable by anyone in the group allowed to burn CDs. Another solution was to make it owned by the cdwriter user and have the CD writing app also owned by this user and setuid and have the app only executable by people in the group. This meant that any user in the group permitted to write CDs could do so, but only using applications authorised to do so.

      We used to have a machine with a CD writer set up in a lab on campus. This was great for people downloading ISOs, since they typically had a slow modem at home, while the university connection could get 300KB/s. They then just popped a CD in the CD writer, ran ssh'd to the machine with the writer and ran xcdroast (we later wrapped this up in a little shell script and made it an icon on the desktop) and burn CDs, without having to kick the person sitting at that machine off their important xblast game.

      --
      I am TheRaven on Soylent News
    84. Re:Of course... by timmarhy · · Score: 1
      "installing Windows 95 on that thing would not even work at all."

      bullshit. that was the first pc i installed win95 on. a dx2/66 from osborne computers.

      --
      If you mod me down, I will become more powerful than you can imagine....
    85. Re:Of course... by yuna49 · · Score: 1

      I'm replying to myself to avoid a flamefest from BSD advocates. Yes, the BSDs were an option, but we started with Linux, and it met our needs. Linux was also in a period of rapid development in 1994, and its culture felt closer to our goal of developing low-cost, all-purpose Internet appliances for nonprofits and smaller businesses. (What a poor business plan this turned out to be, but that's for another day.)

    86. Re:Of course... by Anonymous Coward · · Score: 0

      It's two prompts now after SP1, and only for those items in your start menu that are visible to all users. This makes sense as you're asking to make a system-wide change. If the item was installed as visible only to you, you don't get an escalation prompt. Right click on your start button and do both an "Open" and and "Open All Users." Only those icons in the latter are impacted by UAC.

    87. Re:Of course... by LO0G · · Score: 1

      Sorry, 64K. And OS/9 was a secure OS running on an 8088 with no hardware memory protection and no paging ability? How'd they pull that off?

    88. Re:Of course... by Opportunist · · Score: 1

      I won't blame Microsoft for the limitations of the hardware of the past. I blame them for dragging those limitations along into a time when they don't exist anymore.

      Win311 was never meant to be used in an "insecure" network. Actually, the whole networking was slapped onto it more or less rather than being a real part of it. The same holds true for Win95. The reason is simple: There was a "serious" OS line available from MS, Windows NT. There you had all that user access control, you had the whole (more or less) security and privilege system, with users, groups and applicable permissions for them. Win95 was, on the other hand, more "customer friendly", more colorful and most of all, much more friendly to the hacked software (especially games) that wanted direct hardware access because, well, it was faster, and time was essential back then when you wanted to have any sensible graphics speed at all.

      By the time 2k hit the market, it would have been a perfect time to drop some of the legacy ballast. If you needed it, just stay with the old system. But that's something that doesn't fit nicely into the philosophy to sell. A computer not updated because the software it has to run doesn't work on your new system is a license not sold. Maybe if ME wouldn't have been such a complete flop...

      Bringing security and multiuser (and layered privileges) into an existing system is a very, very hard task, and usually doomed to fail. Either you break compatibility with software that relies on having comlete privileges, or you end up with something like Vista.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    89. Re:Of course... by Anonymous Coward · · Score: 0

      Lies, Damn Lies and Statistics.

      As a counter point I did a ps-ef on my box. I show 146 processes on my Gentoo box, 70 of them being root. Not too good. If I compress the tasks on my system to be comparable to Win XP, I'm left with 6 or 7 root processes. So 7 out of 83 or 8%. That's still more then I'd like, but there's only so fine I can go without running a SE Linux system. There is a SE version of Windows available isn't there?

      In the end, they both have vulnerabilities, and the raw numbers mean squat.

    90. Re:Of course... by thePowerOfGrayskull · · Score: 1

      They did do this from the start, they just didn't force developers to follow good coding practises when writing apps for the NT platform.

      *looks at DOS1-6, Win31, Win95, Win98, Win98SE, and WinME*

      It seems to me that most consumer-targeted apps were primarily created for the platforms I just listed. This allowed developers a very long period in which to form bad habits .
    91. Re:Of course... by Nimey · · Score: 1

      95 would "work" with 4MB of RAM--the official system requirements were, IIRC, a 386DX with 4MB of RAM--but it'd be terribly slow & spend much of its time swapping.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    92. Re:Of course... by Nimey · · Score: 1

      When I had My First Linux PC, the few times I'd run X on it it was in Window Maker, which worked relatively decently on

      Pentium-83 Overdrive
      12MB FPM DRAM
      Cirrus 5424 video w/512K
      no secondary cache
      Debian 2.1

      but my monitor was shit & wouldn't do above 60 Hz, so I stayed in console almost the whole time I had that computer.

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    93. Re:Of course... by Richard_at_work · · Score: 1

      Most system services in Windows XP, 2003 and 2008 (no idea about Vista as I have never used it) run either as an ordinary user account, 'Local Service' or 'Network Service' which grants specific rights much lower than an ordinary user.

    94. Re:Of course... by Richard_at_work · · Score: 1
      IIS rapidly lost that reputation after IIS 5 was released - it was rewritten practically from the ground upward and includes running as a non system account as standard.

      Classically on a Windows box, if you compromise IIS you have root/admin access to the box and can do what you like. That's the point. I'm not saying it's impossible, the GP's point is that the Windows 'heritage' makes it more difficult and unintuitive. If you compromise IIS today (or at any time since IIS 5 was released), you get access to the Network Service account or to whatever account you ran that specific application as (you can run different application pools under different users).

      I used to think IIS was totally insecure like you seem to think - that is until I educated myself and found otherwise.
    95. Re:Of course... by Chris+Mattern · · Score: 1

      I seriously doubt you actually have experience using linux in the early days (pre-2000): masochists and the brainfuck geeks sure loved it, but nobody else did.


      I started using Linux in 1993. Started out with SLS, which I did have difficulties with, but quickly switched to the new-fangled Slackware and had much more luck with that. Never looked back since (these days I use Debian, though).

      That's the level of efficiency you could not get from linux at that time (from OS/2 or BeOS yes, linux NO) but you paid for it by giving up security.


      Bullshit. The Unix security model takes almost no resources to implement. It was fully implemented almost from the start, and ran first on the PDP-11/20, a box that had the amazing memory capacity of 56 K. Windows didn't have a security model because it was based on DOS, a glorified program loader for which its creator (who was *not* Bill Gates and who called it the "Quick & Dirty Operating System") did not bother to provide one. This attitude continued as personal Windows, which was based on DOS, was not regarded as a multi-user system and was not regarded as a networking system. The problem wasn't that of performance, the problem was that Microsoft did see it as necessary to spend the time and money required to graft a security model onto it. Eventually it became overwhelming obvious that the system *did* need a security model, and Microsoft finally deployed one by moving everybody over to the NT lineage, which had it, with Windows XP. But they couldn't get away from the bad habits inculcated by programming for a system with no security model; even Microsoft themselves continued to release applications that required you to be root in order to run them. And now they're still stuck with it.
    96. Re:Of course... by Anonymous Coward · · Score: 0

      The culprit is sloppy coding practices.

      Game companies are particular offenders in requiring superuser access. Remarkably, EA is one of the best in enforcing proper coding practices.

      Alt-tab works
      Running as limited under XP works
      Data files are saved under /My documents/Games/EA Games/etc

      Done it from the start? You mean with Windows 3.1? 95? 98? They are starting now, finally, and people are going to complain. Let them complain. There's many things to criticize Microsoft for, this is not one of them.

      One can however, criticize the particular implementation on user privileges.

    97. Re:Of course... by Auckerman · · Score: 1

      I had compiled Linux from floppy on to a 386 and a 486 to use a work station to access to VAXs in the lab. Hand compiled X-Win on top of that. It ran fine. So yes, PCs clearly had enough RAM and CPU power to run "enforce proper privilege separation". Funny thing is, Linux better both Win 3.1 and Win 95 on the same hardware.

      --

      Burn Hollywood Burn
    98. Re:Of course... by amsr · · Score: 1

      Right except windows NT has its roots in VMS, which IIRC a multi-user system. So somewhere along the way they got lost...

    99. Re:Of course... by mvdwege · · Score: 1

      Don't move the goalposts. Nobody said anything about running on 8088 only. Neither did anybody say anything about hardware memory protection nor paging.

      The ability to seperate users and enforce decent privilege seperation existed before the IBM PC, and on hardware that was decidedly less powerful. Period. MS has no excuse except bad design and/or laziness for the weaknesses of Windows.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    100. Re:Of course... by mvdwege · · Score: 1

      For the purposes of a low-barrier-to-entry midrange system, it was overkill. This was exactly why K&R decided to drop all that Multics ballast for their game system, and replaced with a 'good enough' security system.

      Microsoft, probably influenced by Cutler's VMS heritage, decided to overlook all that work done by the Unix world, and decided to implement a byzantine system of ACLs and objects, and then went and set it with lax defaults and trusted the entire world to act sanely, security-wise.

      Whichever way you look at it, the theoretical advantages are outweighed by the real-world needs of the users and administrators of the system. Users will always pick the easier option, so the smart way to handle security is to give them simple tools to manage security, so that they see security as less of a burden. Unix got it right for its target audience, and despite its theoretical flaws in security design, the average Unix system is more secure in actual practice than the theoretically more secure Windows systems.

      As for VMS and other 'Real' Operating Systems, there is a reason why they have been relegated to obscurity. Only in very few specialised situations is the additional burden of management outweighed by the benefits of more security.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    101. Re:Of course... by LO0G · · Score: 1

      Actually rtb61 started with the assertion that MS-DOS could have been built as a proper multi-user operating system back in 1982. Others then claimed that there were operating systems that offered real multi-user capabilities on 8088 hardware.

      I'm just challenging those assertions. MS-DOS and Windows were designed to run on systems that most *nix solutions would laugh at. The first PC *nix implementation (written, I believe by Microsoft (286 Xenix)) was for the 80286 (which shipped some time around 1984).

    102. Re:Of course... by mvdwege · · Score: 1

      The first one to mention 8088 hardware in this subthread is you. Do you think I'm fucking stupid, that you try to get away with so transparent a lie?

      And regardless. If OS/9 could run on an anemic Tandy Color Computer, with full multi-user capabilities, the hardware Microsoft had at its disposal is no excuse for the lameness of MS-DOS.

      Mart
      --
      "I know I will be modded down for this": where's the option '-1, Asking for it'?
    103. Re:Of course... by Anonymous Coward · · Score: 0

      Oh, come on.... My Win95 PC was a P120, and it could run Windows just fine with privilege separation. Considering the "Funny" you got, I have to assume you're kidding.

    104. Re:Of course... by SanityInAnarchy · · Score: 1

      Almost.

      On Ubuntu, admins can sudo, but they get prompted for their own password.

      On Vista, apparently non-admins can sudo, but they get prompted for an admin password. Admins can sudo without a password, but with a prompt.

      But yeah, it's pretty much a straight ripoff of sudo, claiming it as their own innovation, and failing miserably because of all the legacy apps which won't cooperate.

      --
      Don't thank God, thank a doctor!
    105. Re:Of course... by SanityInAnarchy · · Score: 1

      You could argue that the route Apple took was better. I wouldn't disagree, but these kinds of business decisions are complex. Apple basically gets to say "fuck you" to everyone every ten years and they largely live with it.

      Yes and no.

      What they get to say is, "No, we won't help you develop new apps with practices which were a bad idea from the beginning."

      And what they do is, they actually end up running all that old software, under various layers of emulation and virtualization. I've heard of people running a 68k app on a modern Intel Mac -- that's Rosetta to emulate PPC, so that Classic can emulate OS 9, which then emulates a 68k CPU so the app can run. And it runs better in that environment than it does on the original hardware.

      This is also the environment Microsoft is rumored to be planning for Windows 7 -- basically, write a brand-new API that solves all of these issues, and run the old apps in a virtual machine. (I could have told them that five years ago -- run old apps under something like Wine, and either write or borrow a brand-new, rock solid OS.)

      Now, Linux gets to say "fuck you" to everyone every six months or so. Basically, the assumption is that old apps can always be recompiled (as most are open source), and sometimes it's easier to just throw away the cruft and deliberately break apps than to carry it around for another generation or so. But that seems to be mostly at the kernel level -- userland has been the way it is for a very long time, so the app support is actually there for us to be able to do very interesting things without having to tell the app about it. (Where is chroot on Windows?)

      --
      Don't thank God, thank a doctor!
    106. Re:Of course... by T-Bone-T · · Score: 1

      I'm pretty sure the UAC prompt has those covered. So no, only one thing to click on, not three.

    107. Re:Of course... by Allador · · Score: 1

      Nor was Windows designed to be multi-user in the first place, either. It's roots were in DOS - one computer, one user. And by 'windows' you mean the long extinct 9x line of windows operating systems, which were based originally in DOS.

      The NT line, which is what became win2000 and xp and vista and 2003server and 2008server, was, and is, multi-user.
    108. Re:Of course... by Allador · · Score: 1

      How would you have built a Internet-capable server in 1994 on the x86 platform? You wouldnt. You'd do like everyone else did and put a Sun box up and be done with it.

    109. Re:Of course... by Allador · · Score: 1

      The other biggie that brings us full circle is that user settings go in HKCU not HKLM Just out of curiosity, what is the concern with that? I'm just not sure what you mean by that sentence ... but seems to imply that having user hives separate from the system hive is a bad thing. If thats what you mean, can you explain why?
    110. Re:Of course... by Allador · · Score: 1
      You've got alot of this stuff close, but wrong on the details.

      On Windows 2000, if I recall correctly, scheduler (cron) jobs had to be granted "Logon as a network service" to work (Huh?). Not quite. The user that the at jobs ran as had to be granted 'logon as a service' user rights. Which was reasonable at the time, as that was being invoked from the AT service.

      Programs using COM need(ed) (elevated) DCOM -related privileges to invoke out-of-process servers. Under very special cases, but not generally.

      Accessing network shares from a web program (may) require *a domain account with administrative DOMAIN privileges* (that crazy or what?) Only crazy if you actually had the details right, which you dont.

      Accessing network shares from a web program may require a 'domain' account. Thats it. There are other ways to do it too (ie, same user/pass on both boxes used to access the network resources).

      What this really meant was that if a process running on one machine needed to access network shares on another machine, it would need credentials to do so. The rest was just implementation details of HOW you would do that. In most cases the file server shares were a domain box, so the easiest way to do it for most folks was to run the anonymous user in IIS as a domain account, so that it could cross machines.

      There WAS some funkiness about cross-machine network access if you were logging into your website with a user/pass, rather than using anonymous. Then you had to user kerberos to make it work right, and it was funky.

      That ultimately is a side-effect of a windows truth. You cannot spawn a process as a user unless you know the user's password. In many unices you can. There's plenty of reading if you really want to get into it, but thats the root cause.

      In short the entire privilege architecture under windows is a big hairy mess nobody really understands, with thousands of privileges that you need to assign to perform tasks which are ostensibly unrelated to the names the privileges themselves are given. Huh. Guess the last 10 years of my professional life was just imaginary then, and same for all the people I've trained in the meantime.

      Or maybe its just DIFFERENT from what you are used to, and you dont like to learn new things, so you choose to not learn about it.
    111. Re:Of course... by Allador · · Score: 1

      This was changed in Vista SP1. Prior to SP1, in most cases it would require 3 UAC prompts.

    112. Re:Of course... by T-Bone-T · · Score: 1

      I had read about that being one of the changes but I've never had to do more than one UAC prompt for anything and I've had Vista since June.

    113. Re:Of course... by Alex_Ionescu · · Score: 1

      You just contradicted yourself there.

      " if you're logged in as administrator that you don't have to provide a password " => True, so no UAC prompts if you're logged on as admin.

      "with UAC, even root has to sudo." => False, as you've just said, if you're root (Administrator), there's no UAC.

    114. Re:Of course... by samurphy21 · · Score: 1

      Agree with parent. I had a 386sx25 with 4 to 8 megs of RAM running Blackbox on X11. It was my first Linux system, running Slackware 3.something at the time. It was set up to be an internet router in the days before dlink, and it ran Apache to host my collection of cartoon porn.

      Being Slackware, these were the days I used to compile my own kernels. It often took most if not all of an overnight session to complete a new kernel.

    115. Re:Of course... by yuna49 · · Score: 1

      You might have put up a Sun box, but we and our clients had better uses for that money.

    116. Re:Of course... by Z34107 · · Score: 1

      Not quite.

      UAC prompts for admin accounts have allow/cancel buttons.

      UAC prompts for limited accounts require an admin username/password in addition to clicking a button.

      --
      DATABASE WOW WOW
    117. Re:Of course... by alien_life_form · · Score: 1

      You've got alot of this stuff close, but wrong on the details.
      [....] The details of part of the occurrences are either a) too long and boring b) partly forgotten or c) both. Most of the ''incidents'', however, were related to having a webapp accessing a local (long running) COM server, scheduled as such or as a service, which did - in turn - access other out-of-process servers.

      [...]
        Not quite. The user that the at jobs ran as had to be granted 'logon as a service' user rights. Which was reasonable at the time, as that was being invoked from the AT service.

      Programs using COM need(ed) (elevated) DCOM -related privileges to invoke out-of-process servers. Under very special cases, but not generally. See above. I wish I had a dollar for every hour we spent trying to figure out DCOMCFG.exe

      That ultimately is a side-effect of a windows truth. You cannot spawn a process as a user unless you know the user's password. Clearly, not the most brilliant architectural choice... In the specific case there's also a bit called "allow service to access desktop"...don't get me started on that.

      Only crazy if you actually had the details right, which you dont. [...]
      Or maybe its just DIFFERENT from what you are used to, and you dont like to learn new things, so you choose to not learn about it. Right. I'm a lazy slob. And so are all the 3rd party device drivers and app developers which failed to "get windows security right" over the last 20 years. Too bad they did not think to hire you instead. That must include a largish part of the Microsoft engineers, witness - for instance - the countless times in which controls marked "safe for scripting" actually were not.

      This is a classical case of blaming a problem on someone else's behavior. But the demography of the situation is not favorable, or we wouldn't be having this conversation.

      This is not a windows-only thing BTW: SELinux, that suffers from shortcomings similar to the windows security model, is almost universlly disabled.

      However, let's assume that this level of complexity is really necessary (which I do not believe for a moment).

      In that case, it would also be necessary to have a reasonable way to determine which (minimal) set of rights an application needs to perform a given task (and the answer is not 'technet': a log message saying "you need privelegea A, B and C-J to do that" is more like it.). That was never the case, and, given the Vista near disaster, still isn't.

      What happens is that the app fails (silently) when switching accounts (or perhaps when someone, somewhere, changes a password or tweaks a group policy) - and having divined that it must be somehow related to security, several hours are spent to try and find out which particular set of rights are now needed.

      Hell, give it root, it works as a beauty.

      Don't take my word for it: look for yourself at what the situation IS (different from what "it should be" if only everyone had thought of purchasing your worthy consulting services).

      Cheers,
      alf

    118. Re:Of course... by tepples · · Score: 1

      Privilege separation is not something that requires a fast CPU and a big amount of RAM. But is it possible to run proper protection, a graphical user interface, applications for this platform (Win32), and legacy applications for the OS vendor's last two platforms (DOS and Win16), without a lot of RAM? I just want to understand Microsoft's rationale for releasing Windows 95 instead of Windows NT 3.51 Home Edition, Windows 98 instead of Windows NT 4 Home Edition, and Windows Me instead of Windows 2000 Home Edition.
  2. A difference so subtle, I nearly missed it by starglider29a · · Score: 4, Insightful

    Mac OSX has prompts for authorization also. It doesn't bother me like Vista does. Why not? I didn't really catch it... until I realized that I could ignore the dialog box and get something done before allowing an update/reboot or whatever. Something that simple and the whole problem goes away!

    1. Re:A difference so subtle, I nearly missed it by cnettel · · Score: 4, Informative

      You can configure to be like that with group policy. The official reason for the current default was that no ordinary process should be able to interfere with user input or fake the UI (i.e. showing some other always-on-top window with a different text that moves away just before the click etc etc). If you can accept that, just turn UAC into "same-desktop" mode, while not turning it off completely.

    2. Re:A difference so subtle, I nearly missed it by smittyoneeach · · Score: 0

      How I despise the Windows reboot fetish.
      Every bit as ronngg as the fusion of disk partitions and file systems embodied in that monument to Keep Le User a Dumb Git, Eh? (KLUDGE), C:\

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    3. Re:A difference so subtle, I nearly missed it by Justabit · · Score: 3, Funny

      You have come to a sad realization...Cancel or Allow? http://www.youtube.com/watch?v=VKM1cAtAdtQ

      --
      "Persistance is Fertile" - Me. I can quote myself if I want to.
    4. Re:A difference so subtle, I nearly missed it by retnuh1 · · Score: 1

      well theres that and the fact that the OS X version tells you useful information. That or I slept through the class on how to read GUID.

    5. Re:A difference so subtle, I nearly missed it by dwater · · Score: 3, Funny

      never mind that old one...did you see the South Park one youtube referenced after it finished :

      http://www.youtube.com/watch?v=Id_kGL3M5Cg&NR=1

      Now that's funny :D

      --
      Max.
    6. Re:A difference so subtle, I nearly missed it by dwater · · Score: 2, Funny

      and it gets better when Linux joins :

      http://www.youtube.com/watch?v=h4iyksLeo7w&feature=related

      --
      Max.
    7. Re:A difference so subtle, I nearly missed it by Anonymous Coward · · Score: 1, Informative

      Clearly you don't run as multiple users on the same box. Finder as an interface is very unfriendly regarding permissions, even the "Shared" user folder really isn't. Frequently the simple permission command Apply to All Enclosed Items just won't traverse a directory tree at all, and by default it's not possible to ignore permissions selectively on folders.

      Thankfully it's quick to switch users, but too often I get a whole series of prompts when I want to move or delete a file, or worse, a program will crash because a destination folder is not writeable. As a result I keep my user passwords VERY short, which has it's own problems... essentially the lauded security of the keychain is being self defeating, as I just want to keep it out of my face.

    8. Re:A difference so subtle, I nearly missed it by spintriae · · Score: 1

      Mac OSX has prompts for authorization also. It doesn't bother me like Vista does. Why not? Because you're an Apple fanboy? What do I win?
    9. Re:A difference so subtle, I nearly missed it by RockModeNick · · Score: 1

      for what it's worth, I've found canceling the auto reboot and logging off then on makes every software or high level update I've tried work fine. I'm guessing I'll only have to actually reboot for low level security updates.

    10. Re:A difference so subtle, I nearly missed it by The+MAZZTer · · Score: 1

      Actually a simpler example would be using Windows API functions to simulate a click on a Allow button in a UAC dialog. It's perfectly permissible within the Windows API to allow one processes to interact with another process' windows... the automation program AutoIt is built around this concept. So UAC uses a special separate desktop which doesn't allow other processes to manipulate its window. Services are no longer allowed to have UI for a similar reason IIRC.

    11. Re:A difference so subtle, I nearly missed it by Asm-Coder · · Score: 1

      I wondered what exactly you were talking about, so I looked it up. As far as I can see, you are correct, except, that behavior can only be set on Enterprise and Ultimate editions, so it's moot for almost anyone who got Vista pre-installed, and will only work for people at work if their IT staff will enable it. Nice touch, but limiting it to the two editions where security is of greater importance kinda killed it.

    12. Re:A difference so subtle, I nearly missed it by Anonymous Coward · · Score: 1, Informative

      It's controlled in the back by a simple registry key that all versions of Vista will honour. The Group Policy UI might be missing, but the setting's still there, and there are programs to replace that UI (TweakUAC comes to mind).

    13. Re:A difference so subtle, I nearly missed it by p0tat03 · · Score: 2, Insightful

      I run Mac OS X too. The reason why it doesn't bug you that much is because it... actually doesn't bug you that much. The only times you'll ever be asked to sudo is when installing or patching things. There are very few times when doing my normal everyday things that I've ever been asked to sudo.

    14. Re:A difference so subtle, I nearly missed it by BobPaul · · Score: 1

      Much like gksudo taking control of the mouse and keyboard.

    15. Re:A difference so subtle, I nearly missed it by f8l_0e · · Score: 1
      Go back there and read the comment by squigglyp. If he's not a slashdot user, he friggin should be.

      SquigglyP (36 minutes ago) We'd all love to own Ferraris, but I do alright with my Hyundai. Granted, the experience is important, but I would argue it's better to drive with Linux's manual transmission than Windows' or Mac's automatics. If you want to look flashy on the track, or actually feel want to feel the power and have real control over the experience. Am I taking this analogy too far now?
    16. Re:A difference so subtle, I nearly missed it by Kalriath · · Score: 1

      Services can have a UI, but it asks the user to switch to the secure desktop (the same one UAC prompts on) to view the service's UI.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    17. Re:A difference so subtle, I nearly missed it by Weedlekin · · Score: 1

      "Mac OSX has prompts for authorization also."

      But the only time users generally see them is when installing stuff that wants to write things outside their home directory, which is something that doesn't happen very often during day-to-day operation.

      "I could ignore the dialog box and get something done before allowing an update/reboot or whatever."

      System modal dialogs are IMO very badly misused in Windows, both by MS and other software companies, who pop them up for all sorts of trivial reasons instead of reserving them for things that actually merit blocking all user interaction with the system. If I'm typing things into my keyboard that don't require constantly looking at the screen, I don't need an anti-virus program to throw up a system modal dialog telling me it's finished updating itself, thereby losing everything I thought I was typing in. And it's even worse when Windows emits one with several options, each of which has an accelerator key that can be triggered by accident when typing, thus initiating an action I don't want before I've realised that the thing was there.

      The difference between Windows' intrusive modal dialogs and the OS X system of making icons on the dock bounce when they want to tell you something is like comparing a polite "excuse me" by somebody who requires attention to having them blast an air horn in your ear.

      --
      I'm not going to change your sheets again, Mr. Hastings.
  3. If this is true... by pionzypher · · Score: 4, Informative

    It is an idiotic approach. Vista is the one being annoying....how could someone predict that end users would blame the applications and not the os that's to blame? Not to mention the whole issue of purposely designing a ui to annoy paying customers, to pressure 3rd parties to change.

    Bad idea all around if this was their intention at design.

    --
    I'll believe in corporations having personhood when Texas executes one... - advocate_one
    1. Re:If this is true... by corsec67 · · Score: 2, Insightful

      Yep, the proper way to do this would be to have UAC like crazy when running an app in debug/test mode, and leave the customers alone. If they want to put pressure on the 3rd party developers, then they should do that directly, and not mess with everyone in hopes that the pressure would kind of go back to the 3rd party developers.

      That assumes that 3rd party developers care at all about the customer experience, which if you look at Norton/McAfee, is very dubious.

      And then give the customers something reasonable, like how sudo works on *nix.

      --
      If I have nothing to hide, don't search me
    2. Re:If this is true... by MRiGnS · · Score: 1

      Maybe they wanted to /show/ the world how bad su/sudo works in the world of unixoid operating systems, by looking at the way it works and exaggerating it by some means. I think this is called reality satire. I'm nut sure, but how can anyone treat their customers like this.

    3. Re:If this is true... by Shihar · · Score: 5, Interesting

      I don't think that is what he really meant. What MS is trying to do is actually the right thing. MS wants to make it access privileges more like Linux. It wants to make it so that random programs can't run a muck with admin privileges. This is MS's attempt to get application makers to stop requesting privileges that they don't need because they are too lazy to program it the right way.

      Look, I'll be the first to decry Vista as a piece of shit, but despite all of Vista's flaws, trying to restrict access of programs is a good thing.

      Personally, I think that MS is slowly learning. MS is in no danger of losing its business division so long as companies demand backwards compatibility, but in personal computing it is getting kicked around. MS looks old and faded while Apple has a solid product combined with a marketing machine of d00m (Microsoft always sucked at marketing). MS needs to make changes or else it is going to get run over by Apple. Lock in isn't going to last forever in the face of a comparable, if not outright better, product and vastly superior branding and marketing.

      I mean hell, what do you think of when you think of Apple? Shinny plastic with a hipster in a coffee shop. What do you think of when you think of MS? A moldy office.

    4. Re:If this is true... by Anonymous Coward · · Score: 2, Insightful

      Not that I disagree, and I realize bashing Vista is a quick way to feel like you fit in, but how else are you going to pressure third party vendors to not write crappy applications that need admin privileges for stupid reasons? Every Win32 program in existence seems to think it needs to put its settings into an INI file located in the program files directory.

      A big reason for Windows sucking is the third party applications. Look at what XP did with the tray: introduced this little arrow that hides infrequently used icons because every marketing assmunch realized they could brand the user's computer and most of the users wouldn't be able to do anything about it. Meanwhile, it became common to see half the task bar being eaten by the tray and 25 stupid icons just sitting there. (Sun doing that with Java says a lot about the platform.) It is the tragedy of the commons playing out on the user's desktop, and the users are the ones losing. Meanwhile, nobody seems to care, it is business as usual.

      With regard to UAC, I'm curious to what you think is a better solution. Not that I like the current one, but I rate it as the least-worst option that I can think of, other than virtualization.

    5. Re:If this is true... by corsec67 · · Score: 1

      I'm nut sure, but how can anyone treat their customers like this.


      Welcome to the world of monopolies. If your "customer" can't avoid purchasing your product, then you can get away with a lot of crap that simply wouldn't be tolerated in a market with more equal competition.

      Sudo works just fine if applications that only do userland stuff don't trigger the sudo dialog. Remembering your sudo privileges for a while is a huge thing that UAC lacks. MS's UAC could easily be considered a satire of sudo.
      --
      If I have nothing to hide, don't search me
    6. Re:If this is true... by ColdWetDog · · Score: 1

      I think the concept you're looking for is reductio ad absurdum (reduction to the absurd). And no, you don't want to go there with a real product. It's just for bars, courtrooms and legislative sessions.

      --
      Faster! Faster! Faster would be better!
    7. Re:If this is true... by MRiGnS · · Score: 5, Interesting

      MS needs to make changes or else it is going to get run over by Apple. Lock in isn't going to last forever in the face of a comparable, if not outright better, product and vastly superior branding and marketing. I'm pretty sure MS isn't as afraid of Apple as they are of Linux. You might be able to buy/bribe/whatever stock holders, but almost impossible to buy out GNU/Linux. Even if they would get Linus on their side, there would be some nerds releasing GNU/Xunil (That's the point where you might laugh) just a couple of minutes after the announcement. The only thing they may fear is in fact FOSS reaching critical mass.

      MS is in no danger of losing its business division so long as companies demand backwards compatibility, but in personal computing it is getting kicked around. I wonder what happens as windows7 is supposed to break the binary compatibility
    8. Re:If this is true... by Anonymous Coward · · Score: 4, Insightful

      Remembering your sudo privileges for a while is a huge thing that UAC lacks. MS's UAC could easily be considered a satire of sudo. So, I'm a malware developer - My software sits in the background and waits for you to do something that requires UAC. Then after a few moments, I use the remembered UAC authorization to install my spyware.

    9. Re:If this is true... by toadlife · · Score: 3, Informative

      The same thing is possible in Ubuntu right now.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    10. Re:If this is true... by Technician · · Score: 1

      It is an idiotic approach. Vista is the one being annoying....how could someone predict that end users would blame the applications and not the os that's to blame? Not to mention the whole issue of purposely designing a ui to annoy paying customers, to pressure 3rd parties to change.

      I was wondering if Microsoft figured on the number of people who will simply skip Vista altogether? Apple and Ubuntu are doing great. My dad moved to the former and I moved to the latter. If it's unusable, it's unusable.

      --
      The truth shall set you free!
    11. Re:If this is true... by gnuman99 · · Score: 1

      They did put pressure on app developers. Remember the DLL hell? Visual Studio 2005 and 2008 now uses SxS (Side-By-Side) DLLs, even for C library. And you have to provide a valid manifest or the app will run in legacy mode (virtlized registry and file system "reflection" and other BS).

      UAC sucks because there is no admin-only, locked down account and user account. There is just one account with elevation. Installing and other admin tasks should be done with admin account. An account where DirectX, browser plugins, and other crap is disabled.

      But then again Windows users would bitch that they can't install things and it is too hard to click the Window button + L to switch users to do admin tasks.

    12. Re:If this is true... by Samgilljoy · · Score: 1

      It is an idiotic approach. Vista is the one being annoying....how could someone predict that end users would blame the applications and not the os that's to blame? Not to mention the whole issue of purposely designing a ui to annoy paying customers, to pressure 3rd parties to change. Bad idea all around if this was their intention at design. At the risk of being annoyingly irrelevant, these stupid tactics remind me of the misguided perversion of the concept of civil disobedience promoted by dumb-ass protesters these days. In their idiotic self-righteousness, they forget that civil disobedience is about annoying the government; whereas they make life miserable for the average citizen, who then complains to the government, which is then supposed to do something to appease the protesters. It never actually works, but if you're dumb enough, you can believe that you're saving the world that way. In sum, Microsoft's strategy might as well have been pulled out of the ass of the most inane, vapid, ignorant, self-absorbed, unemployed counter-cultural wannabe you can imagine.
    13. Re:If this is true... by Anpheus · · Score: 1

      The nice thing about Linux is that they don't need to offer GNU/Xunil.

      No amount of pestering from Microsoft will un-GPL Linux, only a huge and unlikely legal endeavor.

      In which case the geeks will all just move to Europe where software patents don't exist.

    14. Re:If this is true... by Anonymous Coward · · Score: 0

      Keep in mind that this idea applies to both UAC *AND* sudo. Elevated privileges only work if the user is vigilant about their system.

    15. Re:If this is true... by Anonymous Coward · · Score: 0

      Well. I always got a GUID instead of the name of the application that wanted the privileges so it is even more stupid to think a user will blame anyone other than MS.

      The second point is that a user does not care WHO is at fault, they just want it to work and most people didn't start off with Vista so knew that it was Microsoft's fault that the messages were being displayed when they 'upgraded'.

      It amazes me that they say they spend so much money on end-user research when even my kids can point out the idiocy of some of the things they do these days.

      Steven.

    16. Re:If this is true... by gad_zuki! · · Score: 1

      >It is an idiotic approach.

      Yeah, heaven forbid we start taking security seriously. Users are not going to be secure sitting there with full admin rights and clicking left and right on any shiny thing.

      Yes its somewhat annoying but these are growing pains. People and developers need to get used to understanding the serious business of running a net-enabled computer safely and securely.

      Even MS knows how incredibly lazy Win32 developers are. If they had some way to run an app as elevated by default then all developers would simply make their app elevated and walk away. Fuck them if they cant follow some basic guidelines. No more "create c:\temp" folder or writing to %systemroot% because thats what they learned in college 10+ years ago.

      Dont like it? Dont develop for the platform. The times are changing. We need some young blood here not dinosaurs who complain that a security prompt is "annoying" and that its "hard" to write an app that respects profiles and basic security guidelines.

    17. Re:If this is true... by carlzum · · Score: 1, Interesting

      I think the critical mass is nearly reached if my experience is any indication. I work for a large US health care company and nearly all of our new projects rely heavily on OSS (Linux, ActiveMQ, MySQL, Jasper, etc). Our CIO is fairly progressive and pushing for more OSS adoption (in fact we have to justify using closed source software before a project is approved). When there's a well publicized Windows virus or vulnerability he has to assure the higher ups we have a plan in place and that it won't affect our systems. He has a team preparing Linux desktops for operations groups like the call centers and claims processing. This is a much easier sell than upgrading XP to Vista.
      In a heavily regulated industry obsessed with privacy and security, Linux on the desktop is a competitive advantage. Any audit or bid for a government contract requires a lengthy description of IT's security policies and procedures. When Company A manages customers' personal information on locked down Linux-based workstations and Company B uses an aging version of XP or Vista, Company A's environment is perceived as more secure, IMO.
      The funny thing is, cost rarely comes up as a reason for choosing OSS. Features, more/better choices, and interoperability (on enterprise applications at least) are the reason we use OSS. The majority of our applications are web-based, and our vendors are increasingly using standard formats like EDI and XML rather than Excel spreadsheets. I see our Office "lock-in" decreasing every year. OSS has already won the war on the servers and, to my surprise, will soon make its way onto a significant number of desktops.

    18. Re:If this is true... by Stormwatch · · Score: 0

      What MS is trying to do is actually the right thing. MS wants to make it access privileges more like Linux. It wants to make it so that random programs can't run a muck with admin privileges.
      I've played with Linux a bit, and no distro ever asked me to confirm after I try to change the friggin' wallpaper!
    19. Re:If this is true... by gwait · · Score: 1

      They aren't afraid of either. The big danger is Google.
      I mean realistically, the only thing people need windows for is to run MS Office, and games.
      The other main application is the web.
      The rest is noise floor.

      The thing with office, is that office 97 is good enough for 95% of the market.
      Now that other free open source alternatives are at least as good as office 97, the cracks in the MS Dam are starting to show (and why Microsoft went over the top to destroy ISO's credibility with the OOXML vs ODF hijinx).

      Another front is IT support.
      If/when somebody (google or others) offers a free office that is good enough, and runs on anybody's reasonably compliant web browser, then they won't care if their home PC dies in a fiery death of viruses, because all their data and apps are running somewhere else on someone's professionally administered server farm.

      The web is the new OS, that's what google have been building towards, and what Microsoft are afraid of. Who will give a rats ass what OS your standard web browser is running on?

      Now if someone would put together a "Windows XP Live DVD" with active X installed, and a windows game installer, then you could run your windows gaming with the benefits of a standalone game machine (just boot it and run it - it's a clean windows install every time with no viruses and bloating registry, and random configuration changes when you weren't looking ), then it wouldn't matter what OS you normally use, you can always boot your favourite PC game from DVD.
      This will free the Gamers from the tyranny of the OS monopoly. Virtual machine installs of windows are damn close to this now, but have licensing issues with Microsoft, who are not happy about making it so easy to chose the right OS for the task at hand.

      --
      Bavarian Purity Law of Rice Krispie Squares: Rice Krispies, Marshmallows, Butter, Vanilla.
    20. Re:If this is true... by glitch23 · · Score: 1

      Look, I'll be the first to decry Vista as a piece of shit, but despite all of Vista's flaws, trying to restrict access of programs is a good thing.

      I don't think you'll find anyone to disagree with you. The problem is the implementation. I think this should have been dealt with as an issue between MS and 3rd party developers not between MS and customers. MS does everything else (e.g. bundling deals, etc.) behind the end user's back. I guess when it comes to the actual design/implementation of their products they push it out to the customer to deal with prior to being completely flushed out instead of dealing with it at the source and then presenting it to customers once 3rd parties are on the same page with MS. I mean, when Windows 3.x uses .ini files and we had to switch to the registry in Windows 95 (is that when it was?) the customer never had a choice in the matter and I'm guessing MS communicated their plans to 3rd party developers so they could be prepared for the massive sea change to come.

      --
      this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
    21. Re:If this is true... by LO0G · · Score: 5, Interesting

      But not with UAC. The normal integrity level application can't sniff anything about the UAC elevation. And the elevation password dialog runs on a separate secured desktop so the malware can't access it.

      Windows is not *nix, the Windows developers learned from the mistakes of sudo.

    22. Re:If this is true... by kestasjk · · Score: 1

      I wonder what happens as windows7 is supposed to break the binary compatibility They'll include a way to run old Windows apps, they know that it'd be suicide not to.
      --
      // MD_Update(&m,buf,j);
    23. Re:If this is true... by dhavleak · · Score: 2, Interesting

      I don't think that is what he really meant. What MS is trying to do is actually the right thing. You're dead right.

      I attended RSA and I was present at David Cross's talk today. His intent seemed more to grab the attention of a group of people with high-level to detailed security concepts, and it got the desired result. Unfortunately for him, some reporter/blogger blew it out of context and out of proportion, writes a sensational headline, and the result is this thread. What I got from the talk was "we knew UAC would bug users, but it was still the right thing to do -- we had to fix this bad habit of developing apps to require admin privs when they don't need them -- and this was the only way to achieve that."

      Poor dude will probably get his head bitten off for this little sound bite he worked into his speech.

    24. Re:If this is true... by Bert64 · · Score: 1

      Java on windows puts its tray icon and runs in the background so you can update it...
      It does this, because there is no centralised update mechanism it can plug into.
      Java on linux installs using the standard package manager, which checks for updates to all installed packages centrally, without needing a separate update process for each installed application.
      Windows is sorely lacking a centralised package repository that lets users update everything in one place, and install apps quickly and efficiently.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    25. Re:If this is true... by Anonymous Coward · · Score: 0

      I've used Vista for almost a YEAR now and at no point has it asked me to confirm changing the wallpaper.

      Stop spreading FUD. Seriously. Gripe about real things if you want to, but stop making up reasons to attack Vista in an infantile effort to show how bad it is.

      And I'll agree that UAC was actually a good idea, MS want devs to stop writing their programs in a stupid manner. It may not necessarily be perfect, but it's a very necessary step.

    26. Re:If this is true... by alien_life_form · · Score: 1

      With regard to UAC, I'm curious to what you think is a better solution. Not that I like the current one, but I rate it as the least-worst option that I can think of, other than virtualization. Drastically simplify the permission system (with an emulation layer to preserve bacckward compatibility). A security framework that nobody understands and constantly gets in the way of getting things done is worse than useless.

      For a different example, look at SELinux, as bad as windows security, for exactly the same reasons, and disabled by most every sysadmin I am aware of.

      "Set SELinux=0" must be one of the most frequent instructions given on Linux these days. (As frequent as the question "How do I disable UAC?")

      alf

    27. Re:If this is true... by Anonymous Coward · · Score: 1, Insightful

      OK, and what exactly stops me from simply doing my very own dialog that looks exactly like UAC? What exactly stops me from redirecting the call for issuing an UAC prompt to my dialog instead?

      Right: nothing. Almost.

      One thing, disabled by default, is the SAS (you known, Ctrl+Alt+Del). If enabled, it requires the user to press it, which only the UAC dialog is able to ignore. Almost, since it doesn't matter - do your dialog in DirectX or OpenGL with a transparent surface, and you'll still be able to force your dialog to always be on the top.

      Also, some third party components like VMware allow you to trap SAS on behalf of the system, or your malware.

      Once having aqquired the admin password, I can use CreateProcessAsTokenW() to elevate to admin privileges.

      What comes then is a matter of configuration: By default I can do anything I want, since once I'm running with admin rights while being logged in as a user UAC thinks that I've already elevated and doesn't ask any more.
      But even if it is configured to ask again, there are some actions which don't trigger requests, for example the usage of the SE_BACKUPRESTORE_PRIVILEGE - which allows me to write to the raw disk as well as override all ACLs; that is a complete compromise.

      The cause are two big problems:
      - SAS doesn't worl because DirectX and OpenGL are considered as too privileged.
      - The UAC provides no means to authenticate itself. Why not letting a user choose a picture at install time which is then stored at a safe location with only NT-AUTHORIYT\SYSTEM being able to read, such that only the UAC dialog is able to present it to the user?

    28. Re:If this is true... by Anonymous Coward · · Score: 0

      Oh, and before someone asks: sudo in all variants shares the same problem.

      BTW, for Windows version before Vista this problem is actually a bit more tangible: With both surun and SuperiorSU you can switch to the WinLogon desktop, which can present such a picture as the background image, and the picture itself can be protected such that only SYSTEM may read it.

    29. Re:If this is true... by apt-get+moo · · Score: 1

      Or maybe they're just blaming 3rd parties for something MS also didn't get right with 2k and XP. Runas would often fail if you wanted to install programs or device drivers requiring admin rights. MS should have had the time to find a more stable and user-friendly approach, but UAC still seems to be on the half-way for both.

      --
      ...."Have you mooed today?"...
    30. Re:If this is true... by Anonymous Coward · · Score: 0

      "I mean hell, what do you think of when you think of Apple? Shinny plastic with a hipster in a coffee shop. What do you think of when you think of MS? A moldy office."

      This is called branding: associating an image with a product. However, it has nothing to do with reality. By and large, you'll find most hipsters in a coffee shop using a laptop from Dell, HP or any of a number of sources ... most of which will be running a version of Windows rather than a flavor of Linux (the only other mainstream choice unless you hack OSx86 onto your system). Buying from Apple will always mean a limited set of models, configured the way Apple says. Everyone else wanting to shop around on price or customize their hardware needs to find an OS that supports the remaining millions of combinations that are not assembled by Apple.

    31. Re:If this is true... by LO0G · · Score: 1

      Actually there's a group policy that you can set that requires the SAS before you can enter a UAC prompt to mitigate that threat. It's not on by default because even Microsoft figured it would be too annoying. See here for more details.

      But for those customers who are worried about that threat, there's a mitigation that's built in.

      The backup and restore privileges are disabled in a UAC token (you can verify this trivially with process explorer). Which means that you need to elevate to enable them. And once you've elevated, there's no point in asking you again, since you're already an admin.

      If VMWare is hosting malware that bypasses the SAS prompt, that's out-of-scope for UAC, because you essentially have installed a hardware rootkit.

    32. Re:If this is true... by thePsychologist · · Score: 1

      What if the application takes a screenshot every five seconds? And then pattern matches each one for the dialog? I'm not saying this will work. I've no idea if it's possible for an application to take a screenshot without UAC priveleges itself.

      --
      "What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
    33. Re:If this is true... by Stormwatch · · Score: 1

      Well, I recall it *did* happen to me. I bought my comp used, maybe the seller configured something differently? Anyway, I didn't keep Vista for long, soon wiped to XP for a while, then wiped that and installed a hacked Mac OS X.

    34. Re:If this is true... by zx-15 · · Score: 1

      If you are so paranoid about the possibility of malware being installed on Ubuntu, just use $sudo -k, or better yet, add an alias to your ~/.bashrc. Something like
      alias sudo='sudo -k'
      Problem solved.

    35. Re:If this is true... by dafing · · Score: 1
      Do you really see Linux taking off anytime soon? (and yes I do know this is slashdot :) )

      In NZ, we have a couple computers on sale by mainstream retailers. Theres a parallel importer that puts out flyers everywhere, they have a pretty darn cheap box, running ubuntu. Now, I have played around with it, with the live cd etc. But imagine what Grandmas gonna do when she gets her new computer and it doesnt do anything that shes expecting, she learned on Windows!

      Personally I find Linux...yes I know this is slashdot... weirder to use FOR A DESKTOP COMPUTER. Im not saying linux isnt the best thing since ever when it comes to servers and the like. I'd just take my 12 inch Powerbook running OSX 10.5 over any flavour of linux anyday.

      It seems that linux is always "just" about to break through into the mainstream. Think about, like IBM and Apple etc supporting open source, but has it really changed the makeup of who uses linux?

      The PS3 comes all ready for you to put Linux on it, under the settings menu it has "install new os" and tells you about formatting the hdd for it, how to get Linux etc etc. Could you really tell people to go and buy a PS3 and install linux on it, all ready to work with a usb/bluetooth keyboard and mouse, plus your tv, over a normal windows/mac computer?

      I just dont see linux being the main os in any hurry is all, or even a contender.

      --
      --- ...or a new slashdot signature. Dear aunt, let's set so double the killer delete select all
    36. Re:If this is true... by zoips · · Score: 1

      Umm...there is never any real reason to log into the Administrator account. Just create a normal user account and then allow UAC to do privilege escalation.

    37. Re:If this is true... by LO0G · · Score: 1

      How does that help? You don't need admin privileges to read the content of the screen.

      If you're worried about an application spoofing the elevation dialog, enable the option that requires the secure attention sequence (C-A-D). That will require you to enter C-A-D, which cannot be intercepted and/or spoofed.

      If you're worried about this threat in your enterprise, deploy the change via group policy and every user will have to enter C-A-D before they can accept an elevation prompt.

      On the other hand, if you're that worried about malware threats, why are you letting your users run as administrators in the first place? Just run them as standard users and don't let them elevate at all.

      It's by far the safest option available.

  4. At last, a little truth from MS by Whuffo · · Score: 0, Troll
    It's about time someone there admitted that they designed that thing to annoy its users. People have been complaining about various annoyances in Windows for years now and even us skeptics don't think that the MS programmers are so stupid that they did it by accident.

    It also puts the claim that Vista is "easier and faster" firmly in the BS category. Definitely not faster - and they designed it to be annoying.

    Such arrogance; I wonder how much longer they'll be able to play this game...

    1. Re:At last, a little truth from MS by Anonymous Coward · · Score: 0

      Such arrogance; I wonder how much longer they'll be able to play this game... Just as long as idiots keep buying their crapware. All versions of Windows have had stupid 'features'. It's always been a second-rate OS. People don't seem to care. I'm surprised Vista is getting as much bad press as it is, but still, Microsoft makes money hand over fist.
    2. Re:At last, a little truth from MS by unlametheweak · · Score: 5, Insightful

      No they didn't design UAC to annoy users. This was a crass statement made by a Microsoft employee. No company would design something to annoy users. This was a poor use of self-deprecating rhetoric that will be exploited to the extreme. It's a dumb statement for a Microsoftie to make, and really dumb for the media to exploit.

      "Stupid is as stupid does", somebody once said.

    3. Re:At last, a little truth from MS by Anonymous Coward · · Score: 0

      They have been saying this since before Vista was released.

      And the purpose isn't just to be assholes. The purpose is to make users bother developers about it, so they would write their shit right.

      But sure, M$ is evil, down with M$! Everything they do is malicious!

    4. Re:At last, a little truth from MS by vandelais · · Score: 0, Offtopic


      Such arrogance; I wonder how much longer they'll be able to play this game...

      If the game is Alpha Centauri, "DRONE RIOTS!"
      --
      Game: Player 'Donald J Trump' now has AI skill level 'experimental'.
    5. Re:At last, a little truth from MS by smittyoneeach · · Score: 1

      Oh, Redmond has jumped the shark in a big way.

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    6. Re:At last, a little truth from MS by pavera · · Score: 3, Insightful

      I'm sad to hear that. This was the most logical explanation of UAC's existence I have heard. If you are correct that means MS actually had a different object/goal in mind for UAC, that they actually thought it would improve security, that they actually thought that it WASN'T annoying, that this thing got passed off on multiple levels throughout the dev process as being a) useful, b) a desirable feature, c) accomplished a purpose.

      UAC does none of those things in the real world. It is a horrible security mechanism, it slows down every day usage of most PCs, it causes endless annoyance to users. If this feature was designed solely for the purpose of alerting 3rd party devs to the numerous unnecessary privilege escalations they are using, it almost would be worth it/make sense. If not, it is proof that MS has absolutely no clue what users want, need, or what is a good feature.

    7. Re:At last, a little truth from MS by FudRucker · · Score: 1

      umm, are you here for/from damage control?

      --
      Politics is Treachery, Religion is Brainwashing
    8. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      As somebody posted in a previous article "Gartner Analysts Warn That Windows Is Collapsing"; UAC would be more worthwhile if it was more Linux-like (had password authentication as oppossed to Allow-Deny options). It's a step in the right direction IMHO. I don't think M$ designed this for ill effects :) In the long run I think it is good to "force" or persuade developers to get on the bandwagon. Security is always difficult; windows has traditionally had poor security. Let there be a "learning curve". In the long run I think it's worth a bit of inconvenience.

      Microsoft has always been traditionally lax on security to make things easier for users, now that M$ is making security a priority people are bitching. No shit, and not surprising. Give M$ Kudos for going in the right direction.

    9. Re:At last, a little truth from MS by SendBot · · Score: 3, Insightful

      No company would design something to annoy users. I've got two words for you: "alarm clock"
    10. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      umm, are you here for/from damage control? In some ways I wish I were. Most often when I did call centre tech support supervisors with foreign accents would complain about my English skills (I'm NOT kidding). It's ironic because on IQ tests (I score in the 98th percentile in language skills) and on essays and exams marked by people who have doctorate degrees in English literature, etc... I have always gotten A+'s.

      So nope, I really doubt if I would succeed in a company like Microsoft. Quite frankly most interviews I get with Human Resource Professionals and Recruiters I observe bad grammar, like for example; HR types asking about my verbal abilities when they really mean my oral abilities. I see the same shit with technical questions asked by Managers. People have bad assumptions and knowledge, and if you don't speak on their same level (however condescending that may appear) they will assume you are stupid.
    11. Re:At last, a little truth from MS by Mongoose+Disciple · · Score: 3, Informative

      UAC does none of those things in the real world. It is a horrible security mechanism, it slows down every day usage of most PCs, it causes endless annoyance to users.

      This kind of statement has been puzzling to me since I installed Vista on one of my machines, since I don't see UAC pop-ups unless:

      1) I'm installing something new.
      2) I'm running some executable I just downloaded through my web browser, or
      3) I'm running something written in the 90's.

      The first two cases being times I'm glad the prompt is there and the third being more or less acceptable to me since we're talking about 9+ year old software. Often I'll go weeks at a time withotu seeing a UAC prompt.

    12. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      No company would design something to annoy users. I've got two words for you: "alarm clock"

      You, Sir, are a Prick.

      Damn. You've got me :(
    13. Re:At last, a little truth from MS by Anpheus · · Score: 1

      The problem was that he misspoke, and that lead to misinterpretation. It isn't designed to annoy users, not at all. Users will be annoyed as collateral damage. It's designed to annoy -developers-, and if that means bugging users into bugging developers, or forcing the developers themselves to endure UAC dialog after UAC dialog because their program does things the wrong way, then so be it.

      But it's mainly to annoy developers, not users.

    14. Re:At last, a little truth from MS by Spy+der+Mann · · Score: 1, Informative

      No company would design something to annoy users.


      Hello... clippy?
    15. Re:At last, a little truth from MS by spintriae · · Score: 0

      "Stupid is as stupid does", somebody once said. Whoever said that was stupid.
    16. Re:At last, a little truth from MS by zakezuke · · Score: 1

      No they didn't design UAC to annoy users. This was a crass statement made by a Microsoft employee. No company would design something to annoy users. This was a poor use of self-deprecating rhetoric that will be exploited to the extreme. It's a dumb statement for a Microsoftie to make, and really dumb for the media to exploit. 1) Create a new feature that annoys users
      2) Sell new software with less annoyance
      3) Profit!

      There are better ways to implement UAC, it seems pretty clear that their sloppy implementation was designed to get users to complain to their vendors to update their shit to the new paradigm. Problem is, this new paradigm was not fully adopted within the walls of microsoft.

      --
      There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
    17. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      If you're trying to convince people... I'm not trying to convince anybody. And no I did not get A+'s for run-on sentences. In fact I never used run-on sentences in any of my essays, nor in my oral presentations. I am wondering why you would imply this... uhm, no matter... I think I know; you are LEET.
    18. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      And, AC, tell me which part of my sentence(s) you consider "incoherent". If you can't understand simple English then I will try to help you.

    19. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      One last comment. Are you a Human Resources Professional? ... Your comments are trollish like I would expect from such types. You are sad and pathetic.

    20. Re:At last, a little truth from MS by dangitman · · Score: 1

      It's designed to annoy -developers-, and if that means bugging users into bugging developers, or forcing the developers themselves to endure UAC dialog after UAC dialog because their program does things the wrong way, then so be it.

      So, in other words, it's designed to annoy users? You do realize that "bugging" is a synonym for "annoying", don't you? If it were designed to annoy developers, then why wouldn't they go directly to the developers? Annoying users in order to annoy developers is still annoying users.

      --
      ... and then they built the supercollider.
    21. Re:At last, a little truth from MS by dangitman · · Score: 1

      Problem is, this new paradigm was not fully adopted within the walls of microsoft.

      Damn straight. If anybody ever wants me to adopt a paradigm, I'll punch them in the fucking mouth. I already pay enough in child support.

      --
      ... and then they built the supercollider.
    22. Re:At last, a little truth from MS by Anonymous Coward · · Score: 0

      This kind of statement has been puzzling to me since I installed Vista on one of my machines... There's your problem right there, bud. It's a lot harder to spread FUD about Vista when you've actually gone ahead and done something rash like actually using it.

      Get with the slashdot program: If it's MS software then a)dont ever use it, and b)complain about it loudly like you actually know what you are talking about (but really just repeating the same crap you've heard from others).
    23. Re:At last, a little truth from MS by Anonymous Coward · · Score: 0

      Try unzipping a program in your program directory and then creating a shortcut to it in your start menu I counted 3 prompts there.. for just 2 actions!

      All I can say is that I'm glad I had moved 100% to Linux before Vista (Was about 85% Linux 15% W2K) and was only playing with it out of morbid curiosity since I had be FORCED to buy it with the laptop I got... but then I reformatted it.

      Enjoy that money MS, it's the last you'll see from me, and you only got it because I was in a hurry and needed a replacement machine on the spot because I milked my old one to death... not a mistake I'll make twice I assure you!

    24. Re:At last, a little truth from MS by Anpheus · · Score: 1

      No, the purpose is not to annoy users. The purpose is to annoy developers. If, through a chain of causality you can annoy developers by annoying users, then yes, it is "designed to annoy users." But that's not the goal, that's merely the means to an end. The goal is to annoy developers about using more permissions than they need.

      If their goal was to annoy users, there are myriad ways they could accomplish that without achieving any goal at all. And in some respects, they've succeeded in annoying users with no foreseeable goal.

      But saying that they intended to annoy users is really, really awful. A slip that shouldn't have been made and now will be misinterpreted ad nauseum. This is like saying the goal of the new Office Ribbon menu was designed to annoy users. No, it just -happened- to annoy users. But what it also did was reduce the number of clicks do do even complex actions in Office. It vastly reduced the number of clicks, and it made it incredibly easy to find hotkeys. (Hold down alt while you're in Office 2007 and -be amazed-. It's the best hotkey system ever.) Annoying users just happened to be a side effect. I'm sure they'd rather have been able to implement the Ribbon without annoying users, just as I'm sure they'd like to get developers not use admin permissions without annoying users. Alas, that's hard to do, as people are (a.) stubborn and (b.) don't understand that they should blame the app programmers and not Microsoft programmers for permission problems.

    25. Re:At last, a little truth from MS by dangitman · · Score: 1

      Whatever the purpose, the result is totally fucked up, and does annoy users. Does Microsoft ever think about the consequences of its actions?

      --
      ... and then they built the supercollider.
    26. Re:At last, a little truth from MS by ArAgost · · Score: 1

      Look in the comments, we have people getting multiple requests for renaming/moving files.

    27. Re:At last, a little truth from MS by cnettel · · Score: 1

      Try running Vista as a real standard user, and you'll see it asks you to authenticate as an admin, with password.

    28. Re:At last, a little truth from MS by necrogram · · Score: 1

      UAC really shines in low rights mode. under XP if something needed elevated privileges, the app would just bomb. Under vista, if you need to elevate, you get a prompt for admin level credentials.

    29. Re:At last, a little truth from MS by Anpheus · · Score: 1

      You frankly, just don't get the purpose of all of this.

      The goal here is to mitigate security risks because developers got used to admin privileges.

    30. Re:At last, a little truth from MS by NotBornYesterday · · Score: 1

      Mod parent down: Ignorant. From here:

      David Cross, a product unit manager at Microsoft, was the group program manager in charge of designing User Account Control (UAC).

      There. Credentials established. He was in charge of designing it.

      "The reason we put UAC into the (Vista) platform was to annoy users--I'm serious".

      There. Intent established.

      The media aren't exploiting it. They are reporting it. When the company with world's dominant desktop OS and dominant desktop productivity suite puts a group program manager on stage at a public event with press in attendance, and he specifically reveals that the reason for particular piece of so-called security software is to "annoy users" ... THIS ... IS ... NEWSWORTHY.

      The Gump quote is the only piece of your post I agree with. Speaking of which, his comments included the following stats:
      - 80% of the warnings were generated by 10 apps
      - Some undisclosed number of those 10 apps were from ( ... wait for it, wait for it ... ) Microsoft. How the hell are they going to encourage 3rd party developers to clean up their act when they can't even build good code in house?

      More:
      - 66% of sessions now run without prompts. (means chance of annoying prompt = 34%)
      - 88% of users have not turned off UAC. (means 12% are so fed up they switch it off)
      - 7% of UAC permission dialog boxes get a "No" click. (means that 93% of sheeple^h^h^h^h^h users automagically click "Yes". Alternate explanation: Those 7% are too afraid of "Yes", and click "No" by default.)

      --
      I prefer rogues to imbeciles because they sometimes take a rest.
    31. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      "The reason we put UAC into the (Vista) platform was to annoy users--I'm serious". Aside from believing that this person (David Cross) is a psychopath, I can't help but to believe this is just a rhetorical statement. Poor communication skills != psychopathic tendencies. The fact that UAC can be easily turned off suggests that, if his mission was to annoy users then he failed badly (for this very reason).

      The media aren't exploiting it. You undermine the marketing potential (for the media and its articles that it can "sell" to the public).
    32. Re:At last, a little truth from MS by pavera · · Score: 1

      That is not my understanding. In my experience UAC does not ask for a password at all. It is simply a "cancel or allow" dialog. You don't enter a password or in any other way "grant" higher permissions, it isn't like the "run as..." command that has been around since windows 2000.

      At least that has been my experience/understanding of UAC.

    33. Re:At last, a little truth from MS by necrogram · · Score: 1

      that is the default behavior for users with admin privileges. When the user that's being prompted isnt an admin, then UAC prompts for admin privileges. its actully RunAs 2.0. WithGPO you can turn off UAC, set it to silently elevate for admins, Allow/Deny, or require credentials. But then again, I've just been labbing all this before i certify vista on my network. you can try this you self with an standard user, or read the docs http://technet2.microsoft.com/WindowsVista/en/library/00d04415-2b2f-422c-b70e-b18ff918c2811033.mspx?mfr=true

    34. Re:At last, a little truth from MS by Mongoose+Disciple · · Score: 1

      Look in the comments, we have people getting multiple requests for renaming/moving files.

      If I move/rename a file under Program Files I get asked once. Otherwise... no.

    35. Re:At last, a little truth from MS by Opportunist · · Score: 1

      And that's the fallacy that doesn't make sense to me. Don't MS have some sort of first level support? Do they ever listen to those guys?

      Everyone who ever sat in 1st level support had at the very least one of these calls:

      "What System do you use?"
      "Word (alternatively 'Excel')"

      People don't even think of there being a distinction between the operating system and programs. Their computer is a thingamajig box that does what it should (hopefully. If not, call support). And just like they expect a calculator to add and subtract, a microwave to heat stuff fast, they expect their computer to be a word processor. Or a CAD tool. Or a SAP frontend. Or whatever else they work with. That their system is from Microsoft and their SAP frontend from, well, SAP? "Don't pester me with technical details, I just work with the damn thing!"

      So what does the average user see?

      1. His old computer "worked".
      2. His new computer nags him.

      Who's the culprit? The computer. So he asks his admin, if he's so inquisitive at all, where that nagging screen comes from, and his admin will tell him it's the new security feature from MS. Who's the culprit for the user? MS. Because MS did something so his computer doesn't "work" anymore.

      3rd party computer companies won't care about UAC nagging as long as users blame MS. And users will blame MS since they changed something and not for the better, at least from their point of view. Since the application programmer didn't change anything, MS is the bad guy here.

      At least from the perspective of the user.

      Didn't it ever occur to MS? Ask anyone who ever worked in 1st level support for longer than a month, and he would have told you that!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    36. Re:At last, a little truth from MS by Opportunist · · Score: 1

      Yeah, but those things are there to be annoying. Actually companies outdo each other in inventing such pesky little devices that are more annoying than the others. I recently heard of one that, if you put it to snooze, starts to walk away from the bed and nags you out of reach. How much masochism does it take to voluntarily buy something like that!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    37. Re:At last, a little truth from MS by SanityInAnarchy · · Score: 1

      From what I can tell:

      #1 is fine and acceptable.

      #2 is a bad thing to encourage. Package managers are generally a more secure and more efficient system than ad-hoc downloads. But you would stil get a prompt.

      #3 seems like a case for using another OS, as there's nothing written in the past 9+ years that would have me using Windows as a primary OS. Games, maybe, but those can be run in a VM, and are still not a reason to run anything but the game on Windows. (Which is good for Windows, actually -- the Windows installations that I put nothing but games on are much faster and more reliable than the ones I actually use.)

      --
      Don't thank God, thank a doctor!
    38. Re:At last, a little truth from MS by dangitman · · Score: 1

      Except that goal is not achieved. If anything, it makes security worse, because people automatically click "allow" without reading or thinking about the dialog.

      --
      ... and then they built the supercollider.
    39. Re:At last, a little truth from MS by Anpheus · · Score: 1

      People will do that no matter what, until the end of time. Every example of dangling a carrot, a picture of a bunny or a cute cat in front of a user will result in them doing whatever you ask them to do. Want to see a cute cat picture? Run this program. Or save it and then run it as administrator.

      That's always going to be the case until we can cut down on the number of programs requiring this "run as administrator" user intervention. If we can get Windows devs to the point where 99% of programs can run with low rights, and only 1% run only with admin rights, then we get to the point where we can convince non-savvy users that something is up if a program requires administrator anything, or if a dialog pops up. Then we can get to the point where instead of having relatively innocent yellow dialogs, every UAC prompt is a bright red warning sign. The reason they can't do that -now- is because it would intimidate users, the reason they can't recommend against hitting "OK" in the UAC is because it would unnecessarily warn against the majority of applications. That's clearly wrong. We need to change that.

      The only way that goal can be reached is by reducing the number of developers who expect admin permissions. That can only be accomplished by punishing them in some way for doing so, by adding loops for users to jump through (we know they will, anyway) and encouraging developers to reduce that. Then, and only then, can we increase the severity of the warning and the wording therein when an application wants admin rights.

    40. Re:At last, a little truth from MS by SendBot · · Score: 1

      You, Sir, are a Prick. Work with what you're good at, I always say :)
    41. Re:At last, a little truth from MS by Mongoose+Disciple · · Score: 1

      #3 seems like a case for using another OS, as there's nothing written in the past 9+ years that would have me using Windows as a primary OS. Games, maybe, but those can be run in a VM, and are still not a reason to run anything but the game on Windows.

      Ultimately, the nature of my work is such that I'll have at least one Windows machine for the foreseeable future.

      Games are mostly it in the 9+ years category, excepting odd business applications that I'm replacing, etc. They could be run in a VM, but generally clicking once that, yes, it's okay to run Diablo I find to be less hassle than firing up a VM.

    42. Re:At last, a little truth from MS by SanityInAnarchy · · Score: 1

      They could be run in a VM, but generally clicking once that, yes, it's okay to run Diablo I find to be less hassle than firing up a VM.

      Diablo, I'd expect to run well under Wine; forget a VM.

      I guess I'm just to the point now where, even if I was developing an app for Windows, I would much rather be working with a VM and with Linux.

      --
      Don't thank God, thank a doctor!
    43. Re:At last, a little truth from MS by unlametheweak · · Score: 1

      3rd party computer companies won't care about UAC nagging as long as users blame MS. And users will blame MS since they changed something and not for the better, at least from their point of view. Since the application programmer didn't change anything, MS is the bad guy here.

      At least from the perspective of the user.

      Didn't it ever occur to MS? Ask anyone who ever worked in 1st level support for longer than a month, and he would have told you that! Well, it's a bit of a late reply (for slashdot), but I thought you may be interested.

      Funny thing is, is that I did work as a 1st level tech support for longer than a month, and I happened to have worked on the Vista campaign from its initial launch. I'm not there anymore (M$ closed down a lot of their call centres for lack of demand). I can't remember UAC being an issue, or at least not an overbearing issue. In fact I had the impression that most folks who initially bought Vista were already quite familiar with it (like business people and techie types). There were a lot of compatibility issues (the Mac itunes issue came to mind, as I remember trouble-shooting that and other media issues before they became well-known in the media). From my impression much of the issues were drivers and software that just weren't compatible with Vista, and yes M$ does go out of its way to educate and help software developers make their software compatible. I'm no M$-fanboy, but I do think my experiences dealing with M$ first hand gives me a unique perspective. That being said, from the customer service side of things (when dealing with both "Partners" and retail customers), I have had the impression that M$ does listen and they do try to accommodate more than other companies (I've done first level support for quite a few large companies, and in my opinion M$ is one of the best in regards to how much they attempt to accommodate the customer).

      Vista does have its problems, but as the person who posted the original comment to which so many people are replying, I must say that this person (David Cross) is speaking through his ass, and does not represent the opinions of anybody in Microsoft.

      Best regards,

      UTW
  5. Reminds me of one wise man's words! by MRiGnS · · Score: 0, Flamebait

    mission uaccomplished!

  6. oblig. by cvd6262 · · Score: 4, Funny

    It appears you are trying to make a snide comment.
    [Cancel] [Allow]

    --

    I'd rather have someone respond than be modded up.

    1. Re:oblig. by poopdeville · · Score: 1

      Computar, make it sew.

      --
      After all, I am strangely colored.
  7. VISTA is awesome, real world story by n1_111 · · Score: 0, Funny

    My son has a $600 HP laptop that is running home premium edition and sp1 (absolutely no problems) Kid figured out UAC completely. It really goes away after the first day or two. All yo uhave to do is read the prompts and understand when and why you are prompted. UAC is awesome, makes my and my kid's laptops super secure and reliable.

    1. Re:VISTA is awesome, real world story by Anonymous Coward · · Score: 0

      Fortunately Vista on a $600 laptop gives you plenty of time to read those popups....

  8. Do you feel like root access, punk? by Anonymous Coward · · Score: 0

    I didn't expected [sic] that they would say something like that.

    I find it amusing that that article compares UAC to Clint Eastwood. Ironically, I think UAC would actually be less annoying if it called me a 'punk'.

  9. At last - an MS Success! by fatmal · · Score: 5, Funny

    It Worked!

  10. And Microsoft was the biggest offender. by khasim · · Score: 5, Insightful

    You cannot force someone else to follow a particular coding practice when your coders do not do so themselves.

    1. Re:And Microsoft was the biggest offender. by InsertCleverUsername · · Score: 4, Interesting

      > You cannot force someone else to follow a particular coding practice
      > when your coders do not do so themselves.

      It's shamefully pervasive. In my years of developing software for Windows, I've rarely seen other developers NOT running Windows as admin. --basically developing apps. completely blind as to what permissions they may or may not need. (I finally got religion 5-6 years ago after a nasty virus.) Now, every time I log in, I get several ugly little error messages due to HP drivers and other startup bits and pieces not having God access under a normal user account. I think Win developers --QA and project owners too-- need to feel some personal UAC pain.

      --
      Ask me about my sig!
    2. Re:And Microsoft was the biggest offender. by repka · · Score: 5, Insightful

      Any particular examples? Application designed following guidelines of win95 (e.g. Office) will work properly in Vista and will not even require folder/registry virtualization (btw, I assume a lot of effort went into this feature to minimize UAC prompts and it for some reason is rarely mentioned among usual rants about them).

      I consider the opposite: Microsoft spends too much effort for app-compat. Would Win2k have defaulted users to be "restricted", while win98/ME were viable alternatives (i.e. MS could still cash in on their sale) for compatibility, this effort could have been much more successful and, nowadays, when you try to get Intuit Quickbooks to start under limited user (you don't have much choice in college setting), you didn't have to give write access to whole CLASSES_ROOT registry branch (don't get me started on this...).

      So in short, yes, I believe UAC is a great compromise, which forces lousy coders to reconsider their approach to the stuff they ship.

    3. Re:And Microsoft was the biggest offender. by nmb3000 · · Score: 3, Insightful

      You cannot force someone else to follow a particular coding practice when your coders do not do so themselves.

      While what you said is true, it can be simplified: You cannot force someone else to follow a particular coding practice.

      For a variety of reasons Windows users grew accustomed to running as full administrators. Large vendors (aka customers) made assumptions when developing for Windows. These assumptions cause problems for a Windows end user (aka the customer) trying to use the large vendor's (aka the other customer's) program. If the user calls the vendor the answer is "run as admin". This conflict is only bad for Microsoft because the end user will put usability over security every day and the large vendor may get sick of dealing with "Windows bugs" and choose a different OS to develop (develop, develop, develop) for.

      Microsoft was really damned if they did and damned if they didn't. It may well be their own fault (due to the original design of DOS) but unless you have a time machine nobody can change that. It seems to me that, while I find UAC to be annoying as hell, they probably did the right thing. By making it pervasive it will help get the Windows security paradigm changed faster than if it was just a gentle suggestion. At the very least they are trying to put it back on the software vendors to focus on security when creating their products--something good for everybody.

      --
      "What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
      /)
    4. Re:And Microsoft was the biggest offender. by morgan_greywolf · · Score: 2, Insightful

      The bottom line is that Microsoft here sounds like a drug addict blaming his problems on everybody else. They are essentially blaming application vendors for their security fuckups. Here's all you, as a logical person, need to know:

      1) Who is the purveyor of the most popular development tools for use on Windows? Microsoft.
      2) Who is the purveyor of the most popular development training materials for use by budding Windows developers? Microsoft.
      3) Who certifies Microsoft Certified Developers? Duh. Microsoft.
      4) Who is supposed to be leading their ISVs by example? Microsoft.
      5) What's the common denominator here? Microsoft.

      Microsoft is responsible for making their platform insecure. They are responsible for training developers to use unnecessary security elevations. And they do it themselves.

      If Microsoft, like a drug addict, would just admit that their past and present security failings are their own fault, they would be one step closer to recovery.

    5. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 5, Insightful

      I doubt it'll happen, though. It seems like the most widely-disseminated "Vista tweak" is how to turn off UAC. Regular users (including your average Windowsland programmer and others who might consider themselves technologically sophisticated) don't see UAC as a feature, they see it as a bug.

    6. Re:And Microsoft was the biggest offender. by Jurily · · Score: 5, Interesting

      Yes, it forces coders.

      However, if you're a windows user, and you just upgraded to vista, you see these warnings/questions. What's your first response?

      1. Man, I wish these crappy coders would learn when to require root access
      2. Stupid Vista... I should go back to XP

      Upgrading the security model from a non-visible one to one that requires user attention can be a bitch. MS has a lot of difficult decisions to make these days.

      Just see http://www.joelonsoftware.com/items/2008/03/17.html.

      (Now, if only someone could show me how to embed nice links here... :) )

      P.S. I use Gentoo.

    7. Re:And Microsoft was the biggest offender. by Silver+Gryphon · · Score: 5, Insightful

      Interestingly enough, Visual Studio 2005 and 2008 under Vista can't access a project stored in a local IIS website unless running as admin. You're explicitly prompted to run the entire session under Administrator account. The alternative is to change your project storage to disk instead of IIS -- maybe not a bad idea, but contradicting their new HTTP based projects of 2002/2003 (as Web services were promoted then too, now web services are actively discouraged for security and scalability reasons. Lessons learned, I guess.)

      Clicking "Run as administrator" is easier and just reinforces the "click through all these dialogs" mentality. I think MS went too far in some of the dialogs; their new push to give detailed explanations is counterproductive, as I don't want to read an essay at that particular time.

      http://msdn2.microsoft.com/en-us/library/aa964620(VS.80).aspx

      Still, I agree -- running as admin is dangerous; Linux and Unix had a great approach from their beginnings. Windows needs to catch up to that, and it'll involve a massive effort on the part of the users and developers. Having Ubuntu Linux prompt similar to UAC helps reinforce the principle of running with lowered privileges, and shows that Windows isn't any more evil now that it has UAC, it's just that things were so non-secure before that it's hard as hell to conform to the new guidelines.

    8. Re:And Microsoft was the biggest offender. by evanbd · · Score: 3, Informative

      (Now, if only someone could show me how to embed nice links here... :) )

      It's a web site. You use HTML. Why most forums insist on making up their own weird and varying markup systems when they're busy using a perfectly good one is completely beyond me, but somehow it's common enough that people expect it.

      (You may have to change your posting options to "HTML formatted." You may then end up wanting to actually include formatting tags in your comments in order to get them to display properly.)

    9. Re:And Microsoft was the biggest offender. by Stormwatch · · Score: 3, Insightful

      Well, links in BBCode are a bit easier and quicker to write than HTML.

    10. Re:And Microsoft was the biggest offender. by VGPowerlord · · Score: 2, Insightful

      While you can blame Microsoft for training issues, Microsoft's own products work just fine as Limited Users.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    11. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 4, Informative

      Posting anonymous because it's off-topic, but as someone that develops community sites, I'll tell you why using HTML sucks.

      The first reason is output validation. Trying to strip out HTML you don't want users to use without mangling the output is very very hard. This happens on Slashdot all the time, when people use less-than and greater-than symbols in their text -- the parser thinks that they're writing HTML that shouldn't be allowed, and it gets stripped. (Preview, blah blah, whatever. It shouldn't happen.) Unless you're running an intelligent auto-correcting validator like Tidy, or you're parsing the document into a valid object model and then deleting nodes that way (both quite CPU expensive options, compared to running some regular expressions against a string), you're almost certainly going to end up with bad code coming out the other end (either because the parser strips something, or because the end user doesn't know how to write valid HTML), which sucks. With a BBCode, Markdown, or similar parser, you can skip over any invalid markup without breaking the output.

      The second reason is convenience features -- instead of making the user write <p><a href="http://slashdot.org/~evanbd">evanbd</a> said:</p><blockquote><p>It's a web site. You use HTML.</p></blockquote>, you can just have them write [quote=evanbd]It's a web site. You use HTML.[/quote], and the parser will convert that intelligently into valid HTML. If you decide down the line that you want to change the code that's outputted for whatever reason, all you need to do is change the application logic and clear out the caches.

      So, you see, there ARE good reasons. And to be fair to the poster, before this new comment system, Slashdot used to say below the post box what HTML could be used. Now, it's much less intuitive about what markup method to use.

      Cheers,

    12. Re:And Microsoft was the biggest offender. by ozmanjusri · · Score: 2, Interesting
      while I find UAC to be annoying as hell, they probably did the right thing.

      I agree in principle, but not in practice. Firstly, UAC presents a minimal barrier to the installation of malware with its "The publisher could not be verified" message.

      Once that's clicked through, and the program's run ONCE with system privs, that software can make any changes it wants to your system, even if UAC is fully enabled. A keylogger to intercept passwords, autostart at boot, wipe the user files, anything, and all without a peep from UAC.

      UAC's value is in protecting users from themselves, not malware authors, and by making the prompts a type of social engineering tool (the irritation factor) intended to get customers angry with devs, instead of MS directly pressuring software developers themselves or with their dev tools, Microsoft has minimised it's value to computer users.

      --
      "I've got more toys than Teruhisa Kitahara."
    13. Re:And Microsoft was the biggest offender. by zoips · · Score: 1

      The article was...interesting...but, to me, it basically screamed that it's better to just live with cancer, take some pain meds, and die a little bit each day (and eventually just be dead) rather than bite the bullet and go through the nauseating and nightmarish chemo regimen that will eventually, with luck, cure the disease (wait, was I supposed to use a car metaphor...?).

      UAC is ugly, and a hack, but frankly, if it gets us where we need to go, good. Things always get worse before getting better it seems. </cliche>

    14. Re:And Microsoft was the biggest offender. by SerpentMage · · Score: 2, Interesting

      The problem here is not the dialog box. The problem here is Windows security! Windows security with its ACL's is bone headed complicated and it requires administrative rights more times than not.

      I use Linux and while there are times a dialog box pops up, it is not needed as often.

      Here is an example of boneheadedness. I write Excel applications that tie together with .NET. When I need to debug I need to run the Excel spreadsheet AND process to debug in administrative roles... WTF?

      The problem relates to how COM grants you rights to do certain things as a user. And when you are debugging you need more rights... WTF? Under Linux it would not matter because both are running in the context of the user and hence it can be debugged.

      Why these problems on Windows? ACL's....

      --

      "You can't make a race horse of a pig"
      "No," said Samuel, "but you can make very fast pig"
    15. Re:And Microsoft was the biggest offender. by VJ42 · · Score: 1

      Yes, becaue
      <a href=(url here)>Title here</a> is so much quicker than
      [url=(url here)]Title here [/url]

      </sarcasm>
      they both require 33 key-strokes, so why's either quicker?

      --
      If I have nothing to hide, you have no reason to search me
    16. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      Once that's clicked through, and the program's run ONCE with system privs, that software can make any changes it wants to your system, even if UAC is fully enabled. A keylogger to intercept passwords, autostart at boot, wipe the user files, anything, and all without a peep from UAC. Just like ubuntu
    17. Re:And Microsoft was the biggest offender. by Ortega-Starfire · · Score: 1

      Because I don't write html for a living or bother with it as a hobby, so when I want to punch in a url in a forum post, trying to remember "a href" is always going to take me longer than "url". Every fucking time I have to go to google to find the damn thing. bbcode works better for users that would rather spend their time doing things other than HTML.

      --
      ---- Liquid was a patriot ----
    18. Re:And Microsoft was the biggest offender. by ozmanjusri · · Score: 1
      Just like ubuntu

      Which is why Ubuntu installs software from trusted repositories.

      --
      "I've got more toys than Teruhisa Kitahara."
    19. Re:And Microsoft was the biggest offender. by kitgerrits · · Score: 1

      That might have something to do with people that do not have in-depth knowledge of HTML.
      Not everyone sees a copy-pasted URL as a Http REFerence that starts and ends at two Anchor points.

      Some people just want to post a link to another site.

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    20. Re:And Microsoft was the biggest offender. by xtracto · · Score: 1

      Still, I agree -- running as admin is dangerous; Linux and Unix had a great approach from their beginnings.

      Haha, did you tried to use sound in Linux about 5 years ago? it was either run the app as root or run it without sound... It was not from the beginning, usability has come a loooooong way in Linux.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    21. Re:And Microsoft was the biggest offender. by Kalriath · · Score: 1

      Invalid argument. One can write an installer just as easily for Ubuntu as Windows, and it can cause just as much havoc if it demands administrative rights from the same type of user.

      The issue is always the user when talking about malware, not the software design.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    22. Re:And Microsoft was the biggest offender. by Kalriath · · Score: 1

      Can't really complain about the training either. They piss and moan a lot in their training materials about how you should test as an LUA (Limited User Account) because... well, assumptions are bad mmkay?

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    23. Re:And Microsoft was the biggest offender. by TheRaven64 · · Score: 5, Interesting
      ACLs aren't a problem in themselves. Having fine-grained security is a good decision for a kernel, because it allows you to build other security models on top easily. It's much easier to implement the UNIX security model on Windows than the other way around.

      The problem is the user interface. As the OpenBSD people keep telling us, sane defaults are the most important thing in security. If you default to insecure, or you default to secure, but so irritating people turn off the security, then your system is not secure.

      With respect to your specific problem, requiring elevated privileges for debugging actually does make sense, and I consider it a bug in other operating systems that it's not the case. A process that attaches to another as a debugger can inspect all of that process's memory, and even the contents of registers. If the process is something like your password manager, then it doesn't matter that it stores all of your passwords encrypted on disk and doesn't release them without a pass-phrase if the first piece of malware that gets on to your system can poke around in its memory and read them. Ideally, you would be able to simply flag regions of memory as off-limits to a debugger, but the next best thing is to require elevated privilege. Starting with 10.5, I believe OS X allows a process to set a flag preventing debuggers from attaching, but I've never tried it.

      --
      I am TheRaven on Soylent News
    24. Re:And Microsoft was the biggest offender. by makomk · · Score: 1

      Just implementing BBcode or similar by running regexps over the input isn't necessarily safe, though, especially once you reach a certain level of complexity. For example, I know some of the major forum software out there (like VBulletin) has run into issues with invalid combinations of BBcode tags producing broken HTML that makes XSS attacks possible.

    25. Re:And Microsoft was the biggest offender. by TheRaven64 · · Score: 1
      Both are more to type than the Markdown version, which would be [Title here](url here), which is only 22 keystrokes. It's worth defining a different markup language if you can define something simpler, easier to type, and as expressive as you need.

      The main point of bbcode, as far as I can see, is that it is simple to parse. Slashcode builds a DOM tree, strips out all tags that aren't in an allowed set, and exports the DOM tree as HTML (or possibly XHTML now). With bbcode, you escape all angle brackets as HTML entities and then just do a global replace on bbcode elements to turn them into HTML. It's a classic example of a bad UI decision being made to make programmers' lives easier.

      --
      I am TheRaven on Soylent News
    26. Re:And Microsoft was the biggest offender. by X0563511 · · Score: 2

      Well, unfortunately the internet - and computers in general, are complicated systems. Cry me a river.
      </elitist-bastard>

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    27. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      The problem relates to how COM grants you rights to do certain things as a user. And when you are debugging you need more rights... WTF? Under Linux it would not matter because both are running in the context of the user and hence it can be debugged. AFAIK, MS is moving to replace COM (or maybe *just* DCOM) with WMI... which is supposed to be a more intelligent system.
    28. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 5, Funny
      "It's much easier to implement the UNIX security model on Windows than the other way around."

      Why in hell would anyone want to implement Windows "security" on Unix?

    29. Re:And Microsoft was the biggest offender. by ZERO1ZERO · · Score: 2, Informative
      Totally spot on. But as long as the input form has some instructions it's neither here nor there e.g. I didn't know till now apparantly

      URL:http://example.com/ will auto-link a URL (enclose in angle brackets). Let's see http://slashdot.org/

      No idea how to escape code blocks to show the exact code though.

    30. Re:And Microsoft was the biggest offender. by TheLink · · Score: 1

      "Linux and Unix had a great approach from their beginnings"

      Great? What's so great about their approach in their beginnings? Sorry, I expect far better than the early crappy Linux/Unix approach. How many decades have passed already?

      When Joe Average runs a downloaded app why should it have full access to Joe's documents and email?

      Why should Joe Average have to solve a version of the halting problem without being able to read the program's source code? "Is this program going to halt when I run it" is similar to "Is this program going to hurt me badly when I run it". The last I checked, the halting problem is still unsolvable.

      I hope the future Linux/Unix approach would involve better sandboxing, in a way most users can manage, understand and most importantly, be happy with.

      My proposal is:
      http://lists.opensuse.org/opensuse-bugs/2007-09/msg02994.html
      https://bugs.launchpad.net/ubuntu/+bug/156693

      --
    31. Re:And Microsoft was the biggest offender. by kitgerrits · · Score: 1


      So, how much time have you dedicated to 'educating' your fellow denizens of the internet?

      Microsoft is a useful company for helping us, elitist bastards identify proficiency with computers.
      It is our duty, as progenitors of computer knowledge, to identify this proficiency
          and usher these people into the open-source community.

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    32. Re:And Microsoft was the biggest offender. by Avtuunaaja · · Score: 1

      Umm... wtf? chmod a+rw /dev/dsp ?

      No way you had to run apps as root just to let them use sound.

    33. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0
      HTML is still processed in "Plain Text" format, so there is no need to switch unless you like wrapping everything in

      tags :)

    34. Re:And Microsoft was the biggest offender. by mobets · · Score: 1

      In UNIX, how would you grant a specific user (not the owner) write access to a file while only granting read access to another group and no access to every one else?

      --

      It was me, I did it, I moved your cheese
    35. Re:And Microsoft was the biggest offender. by spikedvodka · · Score: 1

      I call bullshit....

      running linux 8 years ago... all you had to do was add your user to the "sound" group, and then it "just worked" if it worked as root

      the issue was that /dev/sound was only accessabile to the sound group (or obviously root)

      --
      I will not give in to the terrorists. I will not become fearful.
    36. Re:And Microsoft was the biggest offender. by cdf123 · · Score: 3, Informative

      setfacl -m u::r,g::r,u:bob:rw,o::000 afile

      There you go, the user (owner) has read, the specific user (bob) has read/write, the group has read, and others have nothing. Looks easy to me...

    37. Re:And Microsoft was the biggest offender. by ThePhilips · · Score: 2, Interesting

      You just add extra group, put the the person in the group, change the group of the file to the new group and make it writable by the group.

      It was proven (mathematically and practically) that UNIX model with ugo+rwx and directories allow one to emulate effect of ACLs. It's not straightforward - but it is possible.

      On other side, Windows has problems because on one side engineers try to implement near perfect solution (e.g. NT). But then when you try to build OS on top of it you find that your simple program which under UNIX takes 5 lines under Windows takes about 200 lines of code.

      UNIX security model isn't ideal: it has compromise included. But thanks to that it keeps many developers sane - and many users happy.

      Windows tries perfect security - but nobody could program for it. Well, except for the SysInternals folks. But this is just exception confirming the rule.

      --
      All hope abandon ye who enter here.
    38. Re:And Microsoft was the biggest offender. by TheRaven64 · · Score: 1

      You just add extra group, put the the person in the group, change the group of the file to the new group and make it writable by the group. You can't do this, only root can do this. Unprivileged users are not able to create new groups. With ACLs (used by VMS, Windows, and newer *NIX systems) an unprivileged user can share a file with any arbitrary unprivileged user without invoking a privileged operation. This is not possible with the classical UNIX security model.
      --
      I am TheRaven on Soylent News
    39. Re:And Microsoft was the biggest offender. by drsmithy · · Score: 1

      It was proven (mathematically and practically) that UNIX model with ugo+rwx and directories allow one to emulate effect of ACLs. It's not straightforward - but it is possible.

      I'd like to see that proof, because I can't imagine how it would be possible. Traditional UNIX security doesn't give you granularity any better than per-group, whereas ACLs give you per-user.

      (To say nothing of concepts that simply don't exist in the UNIX security model, like separate permissions for "write" and "delete", or the lack of a superuser.)

    40. Re:And Microsoft was the biggest offender. by ozmanjusri · · Score: 1
      Invalid argument. One can write an installer just as easily for Ubuntu as Windows

      You've just told me, and anyone else with a clue, that you've never used Ubuntu.

      --
      "I've got more toys than Teruhisa Kitahara."
    41. Re:And Microsoft was the biggest offender. by Opportunist · · Score: 1

      How does UAC make you reconsider your programming style? You still get games (we're not talking some sort of "important" software here, just games), telling you in no uncertain terms that you have to run it with admin privs or it won't work. 99 out of 100 times, it's because of the copy protection (thanks, Sony!).

      And behold, people accept that. They buy the game, they run the game, they shrug and accept it. And as long as people accept being forced to run applications with admin privileges and don't refuse games that make such ridiculous requirements, this won't change. Why should a company change its coding style and reinvent their code if the customer doesn't care?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    42. Re:And Microsoft was the biggest offender. by Opportunist · · Score: 1

      What I'd pay to see Ballmer start a twelve-step program... though I guess MS would go bankrupt when he reaches the "make amends for errors" step.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    43. Re:And Microsoft was the biggest offender. by Ethanol-fueled · · Score: 1

      Because my last Ubuntu install told me that I was not to be trusted to set up a root account, even as I was the ownwer of the machine. sudo-i cannot do everything that a true root account can.

    44. Re:And Microsoft was the biggest offender. by wigle · · Score: 1

      Yea, I think this site assumes that 10+ years is enough time to learn some of the basic HTML tags.

      --
      ::wigle::
    45. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      "I think Win developers --QA and project owners too-- need to feel some personal UAC pain."

      Yes. So, Microsoft's solution was ... to pass the pain on to users, who would then complain to developers on their behalf.

      Brilliant.

    46. Re:And Microsoft was the biggest offender. by NoOneInParticular · · Score: 1

      Want to get to the root account? try 'sudo su'.

    47. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      >new HTTP based projects of 2002/2003

      They sucked since day 1 for serious developers. Obvious to everyone but MS.

      > now web services are actively discouraged for security and scalability reasons

      Not sure what you mean here (apart from huge complexity of WS-*)

    48. Re:And Microsoft was the biggest offender. by Lonewolf666 · · Score: 1

      For a variety of reasons Windows users grew accustomed to running as full administrators. Large vendors (aka customers) made assumptions when developing for Windows. These assumptions cause problems for a Windows end user (aka the customer) trying to use the large vendor's (aka the other customer's) program. If the user calls the vendor the answer is "run as admin". This conflict is only bad for Microsoft because the end user will put usability over security every day and the large vendor may get sick of dealing with "Windows bugs" and choose a different OS to develop (develop, develop, develop) for.

      Microsoft was really damned if they did and damned if they didn't. It may well be their own fault (due to the original design of DOS) but unless you have a time machine nobody can change that.

      So far I agree, but I wonder if they picked the right time and method to do something about it. Opportunities that come to mind:

      -Around 1995, don't do Windows 95, instead bring DirectX and USB to NT. Introduce a DOS emulation on Windows NT to keep most old applications running. For applications outside the emulation, introduce Ubuntu style elevation. Yes it could have been annoying too, but at that time NT was mainly used in larger companies where people are not supposed to install their own stuff anyway. And if support has trouble with it, well... $MEGACORP complaining to the software vendor will have more effect than Joe Sixpack complaining.

      -Today, stuff the old API into virtual machines. One per application. Let the applications manipulate their own install directory but nothing else. Use whatever Sci-Fi technology you want for the rest of the OS ;-)

      As it is, I suspect they are harder on their customers than in both the above scenarios.
      --
      C - the footgun of programming languages
    49. Re:And Microsoft was the biggest offender. by morgan_greywolf · · Score: 1

      While you can blame Microsoft for training issues, Microsoft's own products work just fine as Limited Users.


      I call bullshit. Also, see this search for more.

    50. Re:And Microsoft was the biggest offender. by thsths · · Score: 1

      > as Web services were promoted then too, now web services are actively discouraged for security and scalability reasons. Lessons learned, I guess.

      That is not the way I remember it. When ActiveX came out, I remember a public outcry from the security guys. Basically they said that even Microsoft can't be so stupid to just run any odd executable found on the web. But Microsoft completely ignored any criticism, went ahead with ActiveX, and thus created the biggest security problem even seen. Just look through the Windows updates, half of them are still cleaning up broken ActiveX applets. And as long as Windows Update is realised as an ActiveX applet, I would conclude that Microsoft has not learned any lesson.

      ActiveX has to go. The world is not going to be safe as long as it is still necessary to run Windows.

    51. Re:And Microsoft was the biggest offender. by morgan_greywolf · · Score: 1

      Maybe now they do, but as someone who has taken Microsoft training in the past, that wasn't always the case.

    52. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      Despite the fact that you're modded troll (which I don't agree with, but whatever), I wanted to let you know someone appreciated the line "!s fists!"

      That was pretty clever (unless, of course, thats common and I've just been living under a rock for years)

    53. Re:And Microsoft was the biggest offender. by Crayon+Kid · · Score: 3, Insightful

      OK, so it can be done, but let's not get carried away and call it "easy". :)

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    54. Re:And Microsoft was the biggest offender. by njh · · Score: 1

      Actually, sudo can be set to allow users to manage their own groups. Ubuntu's user-accounts control panel lets you do precisely this. In any case, Linux has had arbitrary file acls for nearly a decade now: man acl:
                This manual page describes POSIX Access Control Lists, which are used to
                define more fine-grained discretionary access rights for files and direc
                tories.

      In practice, groups are perfectly adequate for single user machines, and facls are at least as powerful as the windows model.

    55. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      Do you need a fancy graphical user interface?

      Awww, someone is afraid of the big bad terminal!

    56. Re:And Microsoft was the biggest offender. by koreanbabykilla · · Score: 1

      or even better sudo passwd
      then you can su

    57. Re:And Microsoft was the biggest offender. by amsr · · Score: 1

      I guess... except when I upgraded from Mac OS 9 to Mac OS X, I understood and welcomed the auth dialogs when I was installing software and editing system settings. I understood that this was protecting me against malware. It was billed to be a "good thing" by Apple, and Apple explained that this allowed them to do things like multiple accounts, etc.. Users actually revolted against app vendors who didn't follow the ADC guidelines to make their Apps work on OSX and not require admin rights to run. Anyone remember Quark! :-)

      Of course it could be that in the case of OSX, there were so many other cool new features compared to OS9 that people generally overlooked the minor annoyance of typing their password when they installed software. Perhaps MS problem isn't UAC, its the lack of other reasons to move to Vista - and thus get used to and put up with UAC.

    58. Re:And Microsoft was the biggest offender. by Kalriath · · Score: 1

      How? Ubuntu is an operating system. Unless it's a very crappy one, someone could write essentially a self extractor which writes an extra line to the init file (or whatever most recent distos use) and demand the user elevate them to do it. Why, even Sun themselves used to do it back in the day (remember StarOffice installs on Red Hat? Yeah, those sucked)

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    59. Re:And Microsoft was the biggest offender. by doas777 · · Score: 1

      Actually I'm a developer using MS Visual studio and MS SQL server. in Vista, I have to set both of them to run as admin just so they can work correctly. even more annoyingly, since there is no good runas method in vista (because of user/process isolation), our admins have decided to use UAC as the means for running tasks under another session, so I have to put my username and password in every time they launch.

    60. Re:And Microsoft was the biggest offender. by bhtooefr · · Score: 1

      I would argue that it's actually just as easy to hit an Ubuntu system as it is a Windows system.

      Take a binary application that happens to be a trojan, packaged in a .deb. The user expects to have to elevate it to root, because installing stuff ALWAYS requires a privilege elevation. Once the privileges are elevated, install scripts can do whatever they want.

    61. Re:And Microsoft was the biggest offender. by D+Ninja · · Score: 1

      Right. Just what I was going to say.

      (No wonder people don't adopt *nix.)

    62. Re:And Microsoft was the biggest offender. by e4g4 · · Score: 1

      As far as shell commands go - that one is pretty trivial; if, however, you are so terminal averse that that little one-liner scares you, there's Eiciel for Linux, which is a gnome app for ACL management.

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
    63. Re:And Microsoft was the biggest offender. by nuzak · · Score: 1

      > Starting with 10.5, I believe OS X allows a process to set a flag preventing debuggers from attaching

      It requires the cooperation of the debugger. Recompile the debugger and it ignores the flag. It was meant to keep Apple's sooper-seekrit Intellectual Property in iTunes and the like away from the filthy unwashed. I'm sure recompiling is a DMCA violation of course, so it served its purpose.

      --
      Done with slashdot, done with nerds, getting a life.
    64. Re:And Microsoft was the biggest offender. by SanityInAnarchy · · Score: 1

      Which is an ACL, which is part of the Windows security model, but not part of the traditional UNIX one. I think that was the point: You can build Unix with ACLs, but it's harder to build ACLs with Unix.

      --
      Don't thank God, thank a doctor!
    65. Re:And Microsoft was the biggest offender. by SanityInAnarchy · · Score: 1

      Trying to strip out HTML you don't want users to use without mangling the output is very very hard.

      Not really. Add a checkbox to enable HTML. If it's not enabled, escape those less than symbols for them -- and detect URLs, and other things.

      Preview, blah blah, whatever.

      Do the preview in Javascript. Not Ajax, just straight Javascript, client-side, as they type. Gracefully degrade to a preview button.

      Unless you're running an intelligent auto-correcting validator like Tidy, or you're parsing the document into a valid object model and then deleting nodes that way (both quite CPU expensive options, compared to running some regular expressions against a string

      Regular expressions can be both CPU intensive and wrong. Just look at a real email validator, which I would paste here, but the lameness filter won't let me.

      Tell me that isn't error prone, or at least CPU-intensive. (And remember, you're dealing with individual comments, most of them short -- and it's a massively parallizable problem.)

      The second reason is convenience features -- instead of making the user write

      evanbd said:

      It's a web site. You use HTML.

      , you can just have them write [quote=evanbd]It's a web site. You use HTML.[/quote], and the parser will convert that intelligently into valid HTML.

      Or you could just make the blockquote by itself, and rely on the fact that a properly threaded view will show who you were replying to, anyway.

      There's also many better choices for convenience, and most BBCode is going to be generated by the wanna-be-WYSIWYG buttons on the forum.

      If you decide down the line that you want to change the code that's outputted for whatever reason, all you need to do is change the application logic and clear out the caches.

      Or apply CSS.

      And to be fair to the poster, before this new comment system, Slashdot used to say below the post box what HTML could be used.

      Oh, they got rid of that? I didn't realize... I'm deliberately still using the old comment system.

      --
      Don't thank God, thank a doctor!
    66. Re:And Microsoft was the biggest offender. by ch0ad · · Score: 1
      well it's also a discussion forum... and 99%* of all forums use [url=www.google.com]get your search on[/url] format... so like maybe there is a point to be made in using a "standard" tag style for forums and web pages but you have to realise you sound like a bit of a twat when you say

      Why most forums insist on making up their own weird and varying markup systems when they're busy using a perfectly good one is completely beyond me, but somehow it's common enough that people expect it.

      * maybe

    67. Re:And Microsoft was the biggest offender. by Allador · · Score: 1

      instead of MS directly pressuring software developers themselves or with their dev tools, Microsoft has minimised it's value to computer users. How exactly would MS 'directly pressure software developers'?

      The vast majority of 3rd party dev companies have absolutely no relationship with MS whatsoever. At most, they use Visual Studio, but even a very large percentage use VS6, which really predates the 'everyone should run as non-admin' in the mainstream IT mindset.

      The problem is that there is really NO way for MS to pressure developers. There just isnt any.

      So MS is forced into this terrible choice. They have to draw a line in the sand somewhere, but unfortunately, the bulk of the cost up front is going to be borne by users in the form of irritation and confusion over UAC.

      It's a crappy situation, but I havent seen any better alternatives proposed. 'Pressuring software developers' sounds great on paper, but isnt really practical in the real world.
    68. Re:And Microsoft was the biggest offender. by evanbd · · Score: 1

      You do realize that HTML is the old markup language, and BBCode and such are the new, invented ones, right? And furthermore, that /. is older than BBCode? The perfectly good standard is HTML, not BBCode.

    69. Re:And Microsoft was the biggest offender. by Allador · · Score: 1

      Did you even read either of those two links you included? I dont think they say what you expect them to say.

      The first is an article originally published with the first release of WinXP, over 5 years ago. The second is a random search on MS.com, most of the results of which dont have anything to do with your argument.

    70. Re:And Microsoft was the biggest offender. by Allador · · Score: 1
      I see alot of hand-waving in your post, but very little of specifics.

      In what specific ways are you claiming that 'Microsoft is responsible for making their platform insecure'?

      Who is the purveyor of the most popular development tools for use on Windows? Microsoft. And these tools are full of lots of guidance to make sure your apps run as non-admin, and how to do so. And have been for years.

      Who is the purveyor of the most popular development training materials for use by budding Windows developers? Microsoft. And these training materials are full of encouragement and guidance to make sure your apps run as non-admin, and how to do so. And have been for years.

      Who certifies Microsoft Certified Developers? Duh. Microsoft. And if you are a certified MCSD, then you have been trained to make your apps run as non-admin, and how to do so. And have been for years.

      But I'm not really sure what that has to do with anything, as the vast, vast majority of software written for windows was not written by folks with MCSD certs.

      Who is supposed to be leading their ISVs by example? Microsoft. And they have been, for years. By the time office 2003 came out (you know, 5 years ago), the vast majority of MS apps ran fine under non-admin. Even back to Office 2000, Office ran fine as non-admin, but there were some minor quirks.

      What's the common denominator here? Microsoft. I'm not sure what that has to do with anything, other than Microsoft is the most involved with the Microsoft ecosystem. Big surprise there.

      They are responsible for training developers to use unnecessary security elevations. Can you be specific about this? The vast majority of developers for windows apps arent trained by Microsoft at all. Most have absolutely no interaction with MS whatsoever.

      And they do it themselves. Can you provide specifics? Hopefully better ones than the links you provided down below, which werent relevant to the discussion.
    71. Re:And Microsoft was the biggest offender. by rastos1 · · Score: 1

      Which is an ACL, which is part of the Windows security model, but not part of the traditional UNIX one.
      That was POSIX ACL. IMHO, it is Unix that is closer to POSIX, not Windows.
    72. Re:And Microsoft was the biggest offender. by NulDevice · · Score: 1

      In certain environments that I've had to work in, the only way to actually use Visual Studio's debugger was to run as admin. The workaround to allow a non-admin-user to attach to a running process was just about as much of a security risk as running as admin.

      It's a horrible design flaw no matter how you look at it.

      --

      ----
      "I used to listen to Null Device before they sold out."

    73. Re:And Microsoft was the biggest offender. by ewanm89 · · Score: 1

      I still see windows development happen as admin, and Linux development as user...

    74. Re:And Microsoft was the biggest offender. by Anonymous Coward · · Score: 0

      This is exactly what I did about 5 hours after getting my new Vista laptop, I would have done it sooner if I'd known it could have been done!

    75. Re:And Microsoft was the biggest offender. by surajbarkale · · Score: 1

      Compare it to equivalent windows command line. The GUI in windows is simple if you are part of a domain.

      --
      With Great Power Comes No Love Life! - Samit Basu
  11. Microsoft and the United Aerospace Corporation by the_other_one · · Score: 3, Funny

    whatcouldpossiblygowrong

    --
    134340: I am not a number. I am a free planet!
    1. Re:Microsoft and the United Aerospace Corporation by Nimey · · Score: 1

      Your spelling, evidently: that's a funny way of spelling "Union".

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    2. Re:Microsoft and the United Aerospace Corporation by Anonymous Coward · · Score: 0

      All your moonbase are belong to Bill Gates!

  12. If I had to sudo to run each app in Linux... by Deviant · · Score: 4, Insightful

    I think there is going to be quite a bit of criticism of MS for this but basically you see UAC prompts where you would have to do a su or sudo to get the job done as a starndard user in Linux/Unix. The reason you don't have to do those all the time in Linux is that the application writers do not write their apps to require constant root priviledge escalations. There is one app that I couldn't get working properly in Fedora 8 without running it with a sudo - Nero Linux - and it annoyed me quite a bit.

    MS needs to drag both its users and those who write windows applications along to the limited security model we all need each other to be using for the good of the internet. It was always going to be painful.

    The one criticism that I have of the system/model in practice is the start menu - and that is all MS! I try to organize my start menu and I see several dialogs. I would be much more on-board with only one Cancel or Allow for an operation like that...

    1. Re:If I had to sudo to run each app in Linux... by lp_bugman · · Score: 1

      Did you try
      chmod g+rw /dev/dvd
      and add your self to the group owning it?

      --
      BSD licensed software can't be stolen....
    2. Re:If I had to sudo to run each app in Linux... by v1 · · Score: 1

      There are also several titles that will not INSTALL under OS X unless you are logged in as an administrator. Some of them simply cry and die and tell you to login as an admin, and others prompt for an admin l/p, and then either get an error because they are doing something semi-privileged like accessing an admin write only folder (without invoking the borrowed privs, just assuming you are an admin group member), or they fail to install properly. (installer gets a generic or undecipherable error) I've even seen Apple installers fail in this way.

      Fortunately these are extremely rare under OS X. Lifetouch CDs are annoying doubly, they will not install unless you are logged in as an admin, then they botch the installation such that the (Shared) image files are only readable by the user that installed them. Since we are installing onto user desktops, and they are not admins, this means we have to login to install it, then we have to dump into terminal and fix the permissions on the data folders so the non-admins can use the stuff.

      Canon print drivers will prompt you for an admin l/p, but then the drivers fail to install properly if you are not logged in as an admin. (no error msg)

      Apple Remote Desktop Admin requires you to be logged in as an admin before you launch the installer, even though it will immediately be asking you to authenticate to perform the installation.

      Getting back to Lifetouch, the LT rep was there and said like it was nothing, "well just make them an admin and it'll work fine." THOSE are the people we need to deal with. The really astonishing thing is this is software that many schools are using, and I can't believe that very many of the other schools' techs have figured out how to fix the installation like I did, so they have probably tossed in the hat and made their secretaries admins on their machines just to concede to the software vendors bad coding.

      I am SO GLAD this is not a common issue on Mac like it is on Windows. Though with Vista's annoyatron at work I suppose they will have to start behaving.

      --
      I work for the Department of Redundancy Department.
    3. Re:If I had to sudo to run each app in Linux... by Dude+McDude · · Score: 1

      The one criticism that I have of the system/model in practice is the start menu - and that is all MS! I try to organize my start menu and I see several dialogs. I would be much more on-board with only one Cancel or Allow for an operation like that... Are you talking about deleting/moving shortcuts? If so, the start menu shortcuts you are tinkering with are ones that have been installed for "all users", so deleting/moving them is considered a system-wide change; that's why you're getting UAC prompts.

      Besides, you should free yourself from organising your start menu and just use the start menu search box to find/run your programs.

    4. Re:If I had to sudo to run each app in Linux... by fermion · · Score: 1
      The reason why MS computers are so popular, and I know this from my own coding practice, is that MS attempts to make coding as trivial as possible. IN the process they encourage any number of worst practices. For the most part is does not matter as the OS, over powered computers, and generally faulty hardware makes it either unimportant or unclear that the software is the problem.

      This is not a derogatory remark. The MS philosophy has lead to a golden age of cheap computer and cheap software. Say what you wish, but 15 years ago $500-$1000 for software that could handle all office tasks was cheap. Now such software is commonplace, and charging $500 for it is like charging $500 for an MP3 player with only a gig of memory, but that has to do with the MS inability to innovate, not bad software.

      What it going to be the problem is if MS makes it as difficult to write software for MS OS as for say, Mac OS, given that writing for the later, at least in theory, could be easier to port to other *nix, while writing for MS locks you into arbitrary legally contract of which you have no control. Which is to say MS has no real incentive to force developers to write more secure or more stable programs, as such a shift would force MS developers to learn new skills. Most developers don't know how to deal with these issues, and most OEMs don't want to pay those that do. For instance, to scan I have to scan from root because the developers did not create a program that could work from a limited account. Clearly infection from the MS world, in which minimizing initial cost is of the paramount importance.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    5. Re:If I had to sudo to run each app in Linux... by alextmqazwsx · · Score: 1

      There are also several titles that will not INSTALL under OS X unless you are logged in as an administrator. Some of them simply cry and die and tell you to login as an admin, and others prompt for an admin l/p, and then either get an error because they are doing something semi-privileged like accessing an admin write only folder (without invoking the borrowed privs, just assuming you are an admin group member), or they fail to install properly. (installer gets a generic or undecipherable error) I've even seen Apple installers fail in this way. i have seen even worse. the canon driver for our scanner (canoscan toolbox) refuses to install without being logged in as root. even though it prompts for the password it just randomly errors out.

      oh and some programs will prompt for admin password even if i am logged in as root.
    6. Re:If I had to sudo to run each app in Linux... by Deviant · · Score: 1

      I understand that the entries involved are for all users and thus I understand why I am being prompted for what is a system-wide change. What I don't understand is why I need to answer three seperate dialogs to move one shortcut between folders there. One surely would do...

    7. Re:If I had to sudo to run each app in Linux... by v1 · · Score: 1

      Though I have never seen the former, I have twice seen the latter.

      Sad, isn't it?

      --
      I work for the Department of Redundancy Department.
    8. Re:If I had to sudo to run each app in Linux... by Dude+McDude · · Score: 1

      I understand that the entries involved are for all users and thus I understand why I am being prompted for what is a system-wide change. Ok sir/madam!

      What I don't understand is why I need to answer three seperate dialogs to move one shortcut between folders there. One surely would do... If you have SP1 installed you should only see two (not what you want, but it's better than three ;) ).
    9. Re:If I had to sudo to run each app in Linux... by ciggieposeur · · Score: 1

      There is one app that I couldn't get working properly in Fedora 8 without running it with a sudo - Nero Linux - and it annoyed me quite a bit.

      k3b doesn't require sudo on my Debian system.

      Do you need nero for DVD authoring?

    10. Re:If I had to sudo to run each app in Linux... by Anonymous Coward · · Score: 0

      Ironically enough, the one app you mentioned is proprietary software written by a company with a long history of writing Microsoft based software. Coincidence? I think not!

    11. Re:If I had to sudo to run each app in Linux... by @madeus · · Score: 1

      "root" isn't even presented an account under Mac OS X (as with Linux distributions like Ubuntu technically the account exists, but it doesn't have a password set on it so you can't log in with it - nor is it displayed in the GUI).

      I do not believe for a minute that your drivers do not install unless logged in as root.

      It's crazy that you'd be logged in as root at all. I've only ever done that on mac OS X to fix a broken account (where the password for the other accounts on the system was unknown).

  13. It's drugware, not software. by Anonymous Coward · · Score: 0

    Well, Im not surprised. The customer is not even on their priority list. They are like a Drug cartel. First fix is free, from there they'll charge you as much as posible to use their product for the next one.

  14. Not that bad a strategy, really. by danielsfca2 · · Score: 4, Insightful

    I'm not MS's biggest fan. But this isn't the worst strategy ever.

    It's actually pretty logical that if you make running these retarded apps annoying, you can force the vendors to fix them.

    But MS faces a big obstacle in that strategy--the fact that moving back to XP fixes the problem as well, from the user's perspective. And of course, the fact that doing so also makes today's computers 3x more responsive.

    It's a shame... I would love a world where Vista caught on but UAC didn't have to pop up ever unless something truly administrator-ish were really going on. Then all my users could be Users.

    1. Re:Not that bad a strategy, really. by calebt3 · · Score: 4, Interesting

      The hard part is getting consumers to blame developers, too.

    2. Re:Not that bad a strategy, really. by CastrTroy · · Score: 1

      It's very hard, because if you run the same app on XP, you don't experience any of the annoying popups. So therefore, it has nothing to do with the app, and everything to do with Vista.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    3. Re:Not that bad a strategy, really. by Jacob0531 · · Score: 2, Interesting
      As a primarily Windows user since 1999, I just wish they had introduced UAC (or encouraged limited users more) with XP SP2. Vista's biggest complaint may have been resolved by now. I've wanted to run Windows as a Standard User easily since Windows 2000. Quite honestly, it's been nearly impossible until recently. If what Mr. Cross says is true, it has worked (despite the public backlash against Vista).

      Vista has had many issues (UAC and Drivers being my biggest complaints), but it has been my primary OS since NVIDIA finally released a stable driver back in December.

      It's taken nearly a year since commercial introduction, but it is now a quite stable OS. I haven't seen a system crash since December (previously 90% + due to NVIDIA's drivers), UAC has been virtually non-existent (except for truly system-level changes and BOINC until version 6 is official), and DWM has been truly a blessing since day one (despite the overhead, this was my primary reason fory trying Vista in the first place -- I hardly ever see a stupid wall-of-mirrors or flickering of Windows; and the very few times I do, it's at an app level, not an OS/WM level).

    4. Re:Not that bad a strategy, really. by xWeston · · Score: 1

      I'd rather just troll and call you an idiot than actually explain it.

      Kthx (not posted anonymously, just have no mod points and saw that this was "insightful" which it isn't in the least)

    5. Re:Not that bad a strategy, really. by Zebra_X · · Score: 1

      HAHAHHA - you have to be kidding me. You can't defend this - Microsoft, never communicated that the the purpose of UAC was to encourage vendors to sign their code and reduce prompts.

      The fact of the matter is that there is no way to truly get rid of the prompts.

      For example, I have an application that uses WCF - but you can't run it in normal mode because it requires socket level access. Great! Elevation at every turn. Of course if you register it as a service which is the normal case, then everything is good - but it is still running with admin privs.

      Of course, I can start decorating every single freaking method in my code with security demands so that vista knows that i should elevate - but this too is nothing but a chore. Considering the compiler already knows that i'm using call that require elevation.

      Vista went the wrong way in so many directions. It was a clean slate OS basically, and instead of looking toward what could be the engineers developed an OS encumbered with restrictions and conditions for scenarios that may or may not exist. Ultimately these cause major problems for users. I will cite only one example of a solution looking for a problem: Audio playback limits the throughput of Gigabit ethernet adapters. The perceived problem was: The quality of audio playback would be compromised by network interrupts. The "solution" to this renders a gigabit ethernet transfer 10% effective. That is, there is a 90% reduction in ethernet throughput during audio playback. This issue is STILL not fixed.

      Mental masturbation over problems that don't exist (audio still skips on vista despite this "improvement") don't help anyone.

      Someone needs to reign the organization in and stop focusing on perceived problems and start providing a better user experience.

    6. Re:Not that bad a strategy, really. by r_jensen11 · · Score: 1

      I'm not MS's biggest fan. But this isn't the worst strategy ever.

      It's actually pretty logical that if you make running these retarded apps annoying, you can force the vendors to fix them.

      But MS faces a big obstacle in that strategy--the fact that moving back to XP fixes the problem as well, from the user's perspective. And of course, the fact that doing so also makes today's computers 3x more responsive.

      It's a shame... I would love a world where Vista caught on but UAC didn't have to pop up ever unless something truly administrator-ish were really going on. Then all my users could be Users. It's logical that they wanted to solve the problem. What is not logical is that they didn't expect the end users to be pissed at the 3rd party software companies instead of Microsoft. Why is it illogical? Because for those people only had to do 1 change ("upgrade" from XP to Vista) and suddenly everything becomes "broken." I would say that it's logical from the user's viewpoint that since they only changed their operating system (which said that it's compatible, etc, with supposidly no fuss) and all of these problems are cropping up, that they would have no reason (and would be pretty illogical) to blame the 3rd party software companies.

      Car analogy:

      I'd think of a car analogy if I could, but it's several hours past my bed time and I'm very tired.
    7. Re:Not that bad a strategy, really. by JamesP · · Score: 1

      I guess it would have been easier to annoy the developers by just throwing chairs at them.

      --
      how long until /. fixes commenting on Chrome?
    8. Re:Not that bad a strategy, really. by Anonymous Coward · · Score: 0

      People put up with constant bluescreens and need to reboot for the stupidest things for years with win95, 98 and ME. This isn't any different; most users will think that's just the way the computer is.

  15. What a half-assed way to go about it. by dpbsmith · · Score: 5, Insightful

    This approach could have worked. But if they really meant for it to work, then developers would have been required to embed usable contact information in the application. When the UAC prompt came up it would explain that this was a result of an action taken by the application, and that if it seemed unnecessary to you, you should click a button and send feedback to the developer.

    It would also identify and tag the particular circumstances so that there could be a option, "don't warn me about this again."

    This latter option would have been particularly useful during the beta phase.

    After a couple of years, Microsoft might then assume that developers had been given adequate warning and adequate feedback, and the option to ignore warnings could have been retracted.

    What Microsoft did doesn't sound as if they serously wanted the approach to work. They just wanted to be able to say that users "didn't want" security, just the way Detroit said for decades that car buyers "didn't want" safety.

    1. Re:What a half-assed way to go about it. by retnuh1 · · Score: 1

      That would have been the smart way to do it. But seriously that really goes against the mid management design by comity that vista portrays so well.

    2. Re:What a half-assed way to go about it. by Dogun · · Score: 3, Insightful

      The problem is that the UAC prompt also has to work with legacy applications which don't have contact information. :)

      'don't warn me about this again' - presuming an app was trusted once at install-time, it's just going to go write the 'oh, the user allowed me permanantly, it's ok' setting wherever it turns out that is stored. Then they have no incentive to fix their design issues.

      The problem isn't UAC, it's the fact that windows developers aren't writing for the standard user.

    3. Re:What a half-assed way to go about it. by rastoboy29 · · Score: 3, Insightful

      Worse, I think they  just did it as a CYA strategy, as opposed to trying to find a real solution.  It's an attitude all too prevalent in corporate America.

      Having spent most of my professional life at small companies, when I started working at larger ones in the last few years I was appalled, disgusted, and amazed to see that MOST of the employees spent their time worrying only about CYA, as opposed to doing a good job.

      What a bunch of fucking pussies.

    4. Re:What a half-assed way to go about it. by Anonymous Coward · · Score: 0

      It would also identify and tag the particular circumstances so that there could be a option, "don't warn me about this again."

      I think that alone would have been extremely useful and would have served as a good way to slowly transition users and developers to what I agree is a much better security model. The former would have viewed it as something similar to those browser warnings ("You're attempting to close a window with multiple tabs ... [ ] Warn me if I do this again" type stuff), while the latter would have realized it'd probably be best to avoid unnecessarily annoying (or quite possibly scaring) users of their apps.

    5. Re:What a half-assed way to go about it. by harry666t · · Score: 1

      > The problem isn't UAC, it's the fact that windows
      > developers aren't writing for the standard user.

      Hell, you're damn right! I could as well code up an app for Linux that'd spam the user with root password prompts.

    6. Re:What a half-assed way to go about it. by maxume · · Score: 1

      Getting developers to follow suggested policy is the problem being addressed. A solution that requires developers to follow a suggested policy isn't going to get you all that far.

      The APIs needed to run as a limited user have been around since at least Windows 2000, developers(including Microsoft) have been ignoring them for that long. All UAC did was make it feasible to change the default user account setup to not be highly privileged, by simplifying temporary escalation of rights. Without UAC, you are stuck in XP land, either running as a limited user and using the convoluted system for running whole programs as a different user, or running with Administrator rights.

      --
      Nerd rage is the funniest rage.
  16. Turning off UAC doesn't require UAC confirmation by Anonymous Coward · · Score: 0, Insightful
    I'm not a user of any version of Windows, but out of curiosity I glanced at the instructions for disabling UAC, and noticed something striking:

    Turning off UAC doesn't involve a UAC-mediated privilege elevation.

    WTF? Even if UAC has the narrow goal of guarding against malware rather than a malicious user sitting at the console, doesn't this completely defeat the purpose?

    (It seems that it does require a reboot, but that's hardly a barrier. Some piece of malware can just silently flip a registry key to turn off UAC, and then wait until the next time you reboot to finish 0wning you.)

  17. Frustration Detection patent by OMNIpotusCOM · · Score: 4, Funny

    It does make sense, when you think about it, since they've found step 2 and patented a frustration detection system.

    I have to steal this comment from one of the posts from that story, but...

    Step 1: Make frustration and annoying software
    Step 2: Patent frustration detection system
    Step 3: Profit.

  18. This is no different by iminplaya · · Score: 1

    than the banks blaming the customers and making them jump through hoops because the banks' own lame security practices. The banks and Microsoft, Apple, etc should be held responsible. The customers need to demand it.

    --
    What?
  19. Just a typo.... by Naughty+Bob · · Score: 4, Funny

    If this is true.... I think it's just that the story submitter accidentally included the letters UAC in the headline.
    --
    "Be light, stinging, insolent and melancholy"
    1. Re:Just a typo.... by Anonymous Coward · · Score: 0

      > I think it's just that the story submitter accidentally included the letters UAC in the headline.

      Dammit man, where the hell were you when I was writing that headline? :-)

      At least I got the "Your Identity Worth Less Than $15" headline right, though. Even Ars Technica mentioned it obliquely after I scooped them on that story...

      - I Don't Believe in Imaginary Property

  20. So by jav1231 · · Score: 1, Insightful

    Wow! Microsoft thinks of its users as pawns in a pissing match between them and developers? Why not? They think of them as pawns in their pissing match with the DOJ, their vendors, the conquest of the world... Fuck you, Microsoft!

  21. C:\Program Files\ by WoTG · · Score: 4, Interesting

    This reminds me of the c:\program files\ as a default install folder. I think it started with Windows 95. I read somewhere, years after the launch, that it was specifically chosen to force programmers to handle long file names properly.

    Funny, even now, I usually create a c:\programs\ directory for everything that doesn't have a proper installer. 10 years and counting.

    IMO, the UAC did not have to be as annoying as it is. All they needed was a "allow admin stuff to happen for 5 minutes" dialog so that installing a program would only take one prompt. Too smart for their own good...

    1. Re:C:\Program Files\ by CastrTroy · · Score: 1

      Well, that also explains "Documents and settings". Anyway, I think that MS's standard folder names are a bit like a kid with a new toy. The finally had long file names, and they went crazy creating the longest most impossible to type file names they could come up with.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:C:\Program Files\ by Anonymous Coward · · Score: 2, Insightful

      c:\progra~1\ would be the workaround there, fyi

      Dos programs used to handle it like that with (and my memory is a bit fuzzy here) FAT32 methinks. The legacy is still in there even though the modern cmd.exe can handle long names in quotes. Now, if only they could learn how to properly escape special characters...

      If you're stuck with a browse box and no option to type in the path manually I guess you're pretty much out of luck...I'd kill for decent symbolic linking in Windows, shortcuts are like a bad joke

    3. Re:C:\Program Files\ by tepples · · Score: 2, Interesting

      All they needed was a "allow admin stuff to happen for 5 minutes" dialog so that installing a program would only take one prompt. Had Microsoft made it system-wide like some antivirus utilities do, any malware running in the background could detect that the 5 minutes have started and do its dirty work.
    4. Re:C:\Program Files\ by CastrTroy · · Score: 1

      Well, they could provide an option so that the process continues to have root privileges. Other processes would continue to run with regular privileges, but the process you already gave permission to wouldn't ask again.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    5. Re:C:\Program Files\ by tepples · · Score: 1

      Well, they could provide an option so that the process continues to have root privileges. Other processes would continue to run with regular privileges, but the process you already gave permission to wouldn't ask again. Malware could still shatter the process that got elevated, posing as an assistive technology for users with disabilities.
    6. Re:C:\Program Files\ by El_Oscuro · · Score: 1

      The first thing I do when I set up a Windows box is make everyones home directory C:\home\%USERNAME%. Much easier after that.

      --
      "Be grateful for what you have. You may never know when you may lose it."
    7. Re:C:\Program Files\ by Anonymous Coward · · Score: 0

      Did you even read the article you referenced? Lower-privileged apps can't access (and thus shatter) higher-privileged apps.

    8. Re:C:\Program Files\ by oaklybonn · · Score: 1

      The finally had long file names, and they went crazy creating the longest most impossible to type file names they could come up with. Which reminds me of the color schemes up through Windows 3.1: We have 16 colors and we're going to use them ALL!!
    9. Re:C:\Program Files\ by zakezuke · · Score: 1

      This reminds me of the c:\program files\ as a default install folder. I think it started with Windows 95. I read somewhere, years after the launch, that it was specifically chosen to force programmers to handle long file names properly. Of the things that Microsoft did with win95.... \program files isn't one of them. Sure it was annoying to have to learn progra~1 for software that couldn't handle filenames at first, but establishing a standard place to shove programs made freaking sense. The pre95 era was a nightmare as users saved documents pretty much where the default folder was, which to be fair could be just about anywhere.

      It's one of those cases where it didn't actually matter what they were called, and where they were located... programs there.... documents there.

      --
      There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
    10. Re:C:\Program Files\ by WoTG · · Score: 1

      Yep. I had to type that in thousands of times over the years. The problem is that I can't count to 8-2 in my head. And Progra~1 looks ugly....

    11. Re:C:\Program Files\ by Anonymous Coward · · Score: 0

      Except that for the next 5 minutes the weakest link of the chain becomes a random application nobody knows about.

      Too easy to infect an application (say, IE or Firefox) wait the first time the user requests a priviledged operation (say, save a file in C:\downloads) and attack for the next 5 minutes (say, infect everything under C:\Program Files).

    12. Re:C:\Program Files\ by Anonymous Coward · · Score: 0

      Oh wait, but what happens is an old script does
      c:\>cd program files
      ??

      Or worse:

      c:\>rd program files

    13. Re:C:\Program Files\ by TomC2 · · Score: 1

      Except in classic form, Office 95's default install location was c:\msoffice !

    14. Re:C:\Program Files\ by tepples · · Score: 1

      Malware could still shatter [wikipedia.org] the process that got elevated, posing as an assistive technology for users with disabilities. Lower-privileged apps can't access (and thus shatter) higher-privileged apps. They can if they pose as an assistive technology for users with disabilities. From UIPI:

      UI Accessibility Applications can bypass UIPI by setting their "uiAccess" value to TRUE as part of their manifest file. This requires the application to be in the Program Files or Windows directory, as well as to be signed by a valid code-signing authority, but these requirements will not necessarily stop malware from respecting them. Additionally, some messages are still allowed through, such as WM_KEYDOWN, which allows a lower IL process to drive input to an elevated command prompt. Unlike hobbyist developers of PC software, developers of spam bots are usually funded well enough to be able to afford the $2,495 for the code signing certificate over the course of a five-year commercial life of an operating system.
    15. Re:C:\Program Files\ by harry666t · · Score: 1

      > c:\progra~1\ would be the workaround there

      Not really. What if there was a "C:\Programs and Stuff\" folder *before* "Program Files" was physically created on the partition? And you've got your stuffs broken again.

    16. Re:C:\Program Files\ by Anonymous Coward · · Score: 0

      Funny, I too create a C:\Programs\ directory. Not because of improper installers, but simply to keep the things I've installed separate from the things that came with windows in C:\Program Files\

      Sure makes keeping track of things easier.

    17. Re:C:\Program Files\ by Opportunist · · Score: 1

      It gets really funny when you look at Windows in other languages. In German, for example, the "C:\Program Files" directory is "C:\Programme". For a German at least, it's fairly easy to spot companies who are unable or unwilling to rely on environment variables and simply hardcode some path into their code (IBM, Sony, I'm looking in your direction).

      Still, the whole deal didn't work out. Why? Because programmers quickly figured out that "Program Files" as well as "Programme" (and most likely the same translated version in most other languages) works just fine if you just call it "Progra~1". Yes, it's even a step down the ladder from using the hardcoded path (because that could in theory be something completely different), but it worked. So what happened? Right. Companies didn't adapt their code to handle filenames longer than 8.3 characters, or even spaces in the filenames, they simply used the crutch installed in Win95 so the DOS part of the system could somehow access those long filenames.

      What was the logic consequence from that? Well, that at least XP (can't test with Vista right now) does still support this crutch, because (you guessed it) many software companies used it to circumvent the new rules MS imposed on them, and if 2k or XP didn't support it, the software wouldn't work anymore, people wouldn't use the new system because their old software doesn't work anymore... the usual MS problem (following the creed: incompatibility may lead to a licence not being sold).

      I wish I had a Vista box with me right now to test it, but I would bet that this old "progra~1" crutch still works.

      And that's what's "wrong" or "broken" here. MS tries to "force" developers to accept and use a new standard. No doubt here this new standard is better, more flexible and so on. Breaking out from the ancient 8.3 filename model and finally getting filename that at least give you a hint what the file is about was a very good step ahead. What was broken and wrong was that the crutch existed to allow old programs to work. As hard as it may sound, the creed of compatibility at any cost is actually hurting Windows.

      Software companies are companies. They will not bend to new standards just because. If there is a cheap way out, they will take it.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    18. Re:C:\Program Files\ by Opportunist · · Score: 1

      This actually led to many very interesting software problems in the late 90s. You'd be amazed how many (and how many rather reputable) companies used the "progra~1" crutch so they wouldn't have to deal with spaces and longer filenames (in other words, they used an 8 char buffer for the filename and couldn't move away from it for some reason).

      And since you gave a perfectly good example, you already know just which very interesting side effects this had. Especially after a recovery from a filesystem that barfed for some reason.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    19. Re:C:\Program Files\ by Opportunist · · Score: 1

      Even if you assume that the certificate is revoked as soon as it is detected as malware (but ... I wouldn't rely on that, after all, they paid...), those 2.5k are well spent if the malware may circulate for at least a day or two.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    20. Re:C:\Program Files\ by Anonymous Coward · · Score: 0

      I read somewhere, years after the launch, that it was specifically chosen to force programmers to handle long file names properly.

      I thought it was done to force programmers to support spaces in file and directory names. Same thing as "My Documents".

  22. Re:Turning off UAC doesn't require UAC confirmatio by Anonymous Coward · · Score: 4, Informative

    This is incorrect. The registry key in question is protected by permissions and by default requires you to be running as Administrator in order to make changes. If UAC is on, then to get a command prompt, regedit, etc running with Admin rights requires UAC approval somewhere along the line.

    UAC is not about confirming specific actions like changing registry keys. It is about giving Windows permissions to use admin-level privileges. For example, once you allow a command prompt to run with your admin token, it can then launch admin-level tasks without any new prompts.

  23. Like "Program Files" and "My Documents" by flyingfsck · · Score: 3, Interesting

    Microsoft added spaces in system directories to annoy users too I'm sure and specially neglected to make links to network folders work with spaces and left it like that for the past 13 years, to ensure that you cannot copy and paste a spacy network path from Windows Explorer into Outlook and email it to someone else in the company. All that only to annoy their users...

    --
    Excuse me, but please get off my Pennisetum Clandestinum, eh!
    1. Re:Like "Program Files" and "My Documents" by CastrTroy · · Score: 2, Interesting

      Just like they don't give you an option to stretch the wallpaper image without screwing up the aspect ratio. A feature that would take 20 minutes to program, but it's left out, simply to annoy the users.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:Like "Program Files" and "My Documents" by brentrad · · Score: 3, Informative

      Before pasting your network link, type <<, paste the link, then >>. Like so:

      <<\\network name\here>>

      Outlook will remove the first < and last >, and turn it into a clickable hyperlink. Not at all obvious, but it is possible to do it.

    3. Re:Like "Program Files" and "My Documents" by El_Oscuro · · Score: 3, Informative

      Putting double quotes around them will work too. Almost as intuitive as vi. I just figured out the quote trick a few days ago, and I have been trying to get this to work for years. Frustrated, I just *tried* it, and OMG it actually worked! Maybe someday, I will be able to enter an outline without Word scrambling my fonts at random intervals...

      --
      "Be grateful for what you have. You may never know when you may lose it."
    4. Re:Like "Program Files" and "My Documents" by Anonymous Coward · · Score: 0

      Almost as intuitive as vi.

      *head asplodes*

    5. Re:Like "Program Files" and "My Documents" by brentrad · · Score: 2, Informative

      They finally took the 20 minutes, and fixed that in Vista. For desktop backgrounds, you now have 5 options:
      1) fit to screen (ignores aspect ratio)
      2) tile
      3) center (original picture size)
      4) maintain aspect ratio (stretches to fit screen while maintaining aspect ratio)
      5) crop to fit screen

  24. Settings in INI files? by tepples · · Score: 1

    Every Win32 program in existence seems to think it needs to put its settings into an INI file located in the program files directory. Would it be wrong to keep putting the settings in an INI file, but keep that INI file in %APPDATA% if the application is installed to a fixed disk?
    1. Re:Settings in INI files? by Anonymous Coward · · Score: 0

      Nope, that is actually how it is supposed to be done:

      %APPDATA%\(company)\(program) or the like. That is where settings go. Documents should go in My Documents, as usual. But for the love of all that's good, don't make folders in the user's My Documents folder. Everytime I see "My eBooks" I cringe...thanks Acrobat!

    2. Re:Settings in INI files? by gwait · · Score: 1

      Actually aren't you forgetting the registry? That monolithic single point of failure for the entire OS that the most poorly written app gets to play with when you install it?
      I wonder if it still bloats up on Vista?

      IF MS went back to INI files, they'd probably fix a large percentage of windows crashes, and certainly lengthen the mean time between reinstalling windows to clean up the sludge..

      --
      Bavarian Purity Law of Rice Krispie Squares: Rice Krispies, Marshmallows, Butter, Vanilla.
    3. Re:Settings in INI files? by Anonymous Coward · · Score: 0

      > IF MS went back to INI files, they'd probably fix a large percentage of windows crashes, and certainly lengthen the mean time between reinstalling windows to clean up the sludge..

      Got a source to back up this statement?

      Personal anecdotes are worthless here.

    4. Re:Settings in INI files? by Kalriath · · Score: 1

      Or, they'd fix precisely zero crashes. If they wanted to fix a large percentage of windows crashes, they'd disable all drivers.

      The registry isn't really a point of failure. Any corruption in it merely results in any changes to it since your last successful boot being lost (it copies a backup of it on every boot).

      And if they went back to INI files, the OS would probably boot thirty times slower. Opening 142 INI files is guaranteed to be slower than one binary file.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  25. Just go to the "application vendors" by a_generic_name · · Score: 2, Insightful

    Why not just tell the application vendors to "eliminate as many unnecessary privilege escalations as possible"? It would be an easier way to solve the problem, plus less people would hate their operating system.

  26. Re:Turning off UAC doesn't require UAC confirmatio by figleaf · · Score: 3, Interesting

    Not true.
    I can disable UAC using regedit, using msconfig, gpedict.msc, User Account applet. Each and every method raises a UAC consent prompt.

  27. Microsoft is right this time by Animats · · Score: 3, Insightful

    Microsoft is right. Most applications should never have administrator privileges, not even during installation. It's way past time to tighten the screws.

    1. Re:Microsoft is right this time by tepples · · Score: 1

      Most applications should never have administrator privileges, not even during installation. But only users in the administrators group can write to %ProgramFiles%. So should installers write a separate copy of the program to each user's Documents and Settings?
    2. Re:Microsoft is right this time by cnettel · · Score: 1

      But only users in the administrators group can write to %ProgramFiles%. So should installers write a separate copy of the program to each user's Documents and Settings? Well, what do you suggest? That non-administrators should be able to write and update executables that are shared by all users?
  28. Re:you, my friend, made an incorrect assumption... by Anonymous Coward · · Score: 1, Interesting
    This is quite ridiculously uninformed. First, the "teardrop" attack had nothing to do with winlogon, it was a crash caused by packet reassembly in the TCP/IP stack. According to wiki: http://en.wikipedia.org/wiki/Denial-of-service_attack#Teardrop_attack,

    Windows 3.1x, Windows 95 and Windows NT operating systems, as well as versions of Linux prior to 2.0.32 and 2.1.63 are vulnerable to this attack. If you think you could do so much better, why not get a job at MS and work from the inside out making it into the company you want? I mean, the pay is good, the projects diverse, and then you'd actually be doing more than ranting ineffectively to a choir of anti-MS fanboys. Claim what you want about spending a large amount of time developing activation/antipiracy software, in the big picture it's a splash in the pond of work done to developing solid software.
  29. Re:Turning off UAC doesn't require UAC confirmatio by Anonymous Coward · · Score: 0

    Turning off UAC doesn't involve a UAC-mediated privilege elevation. Where did you see that? From my experience it requires a UAC to get to the screen that allows that. Furthermore flipping a registry key would work if it's already turned off, but if it's on Windows uses virtualization of parts of the FS and most of the Registry. I'm not a huge fan of Microsoft, but from my use of Vista UAC are not THAT troublesome once the system is set up.
  30. Good idea, bad implementation by Todd+Knarr · · Score: 4, Insightful

    The basic idea's sound. The problem is that, given the implementation, users view the problem as being UAC and/or Vista, not the apps. After all, the apps work just fine if you turn those annoying dialogs off or go back to XP. If the users don't view the app as the cause of the problem, they won't pressure the app vendor to do anything about it. Idea fails.

    I prefer the Unix approach. The OS doesn't pop up any dialog, or offer the user any choice. If an app does something it doesn't have privileges for, it gets an ENOPRIV returned from that call and isn't allowed to do that. How the app handles it from there is up to the app, but there's no easy way to make the errors go away at the system level (most modern Unixes are set up to make it inconvenient to log in or run programs as root, and only root can install a program setuid-root).

    1. Re:Good idea, bad implementation by Anpheus · · Score: 3, Informative

      Have you used Linux recently? Most programs that receive the lack of permission that are GUI based will ask to run with gksudo or provide a means for you to do so.

      Programs run within the terminal will usually just tell you that you lack permission, please try again.

    2. Re:Good idea, bad implementation by dioscaido · · Score: 2, Informative

      You really think that the better approach would be to switch people to limited user, and let the majority of windows apps fail? Seriously? If people complain about UAC this vocally, they'd certainly complain that nothing runs at all. Or am I misunderstanding your point?

      The goal here is to push windows apps to finally run as limited user. I think with UAC they found a fairly ingenious middle ground -- everyone runs as limited user, but elevating to administrator is very simple (but annoying). Whatever version of windows is around in 5-10 years will likely not need UAC, because the windows app ecosystem will finally be limited user friendly.

    3. Re:Good idea, bad implementation by Todd+Knarr · · Score: 1

      The problem is that no, in 5-10 years programs will still need UAC. Because if it's as easy as it is to turn off UAC, app vendors will just tell users to turn it off. Fixing their apps costs them money, having users disable the thing that's causing all those pop-ups doesn't. Which do you think the app vendors will pick?

      Short-term, enforcing the rules will break a lot of things. But the rules have been published for at least 10 years now and vendors haven't voluntarily complied with them. Conformance is going to have to be non-voluntary, then, and the failure is going to have to be pinned solidly and clearly on the app, not Windows. And in the long term, compliance with the rules will make life a lot easier for everybody.

    4. Re:Good idea, bad implementation by Todd+Knarr · · Score: 1

      My normal environment's Linux (Debian). Yes, most programs when run through the menu will, if they require root privileges, ask for permission to elevate. Those programs, though, are primarily system-administration tools. If I try to fire up the program to update my packages or change my e-mail server configuration, I'm going to get an "enter root password" prompt. If I fire up my e-mail client, or my word processor, or a game, I will not get that prompt even if the program needs root to do it's job. I'll get error messages from the application saying it can't write to files or whatever it failed to have privileges for, but the OS and the desktop won't say a word, nor will they hand out privileges unasked-for (that prompt actually comes not from the app or the OS but from a wrapper program the packagers use when creating the icons and menu items for selected apps that the user should be able to run with root privileges).

    5. Re:Good idea, bad implementation by Anpheus · · Score: 1

      Synaptic on Ubuntu does ask for those permissions when running, and so do several other programs. There's been an ongoing movement to update Ubuntu to not only split out permissions so that you don't have to give a program permission for everything (though this is kind of hackish without better support for ACLs, root is still root) but the goal is to pop up password entry dialogs whenever a program fails to have the permission to do what it wants.

      While Debian is understandably not going with that approach, Ubuntu, "Linux for Humans," is.

    6. Re:Good idea, bad implementation by Anonymous Coward · · Score: 0

      ... and users would somehow magically interpret this better... why? The only reason this practice is acceptable on the *nix userbase is that the kind of folks that use it understand WHY permissions block their program from running. All a Windows user knows is "This fucking OS keeps stopping my program from running. I'm going back to the OLD OS that WORKS."

      Doing the same thing in a different way wouldn't be interpreted any better by the average Windows user, no matter what platform you do it on.

    7. Re:Good idea, bad implementation by dioscaido · · Score: 1

      One year in, most big applications have updated to support limited users. And apparently only ~12% of users turn off UAC. It seems to be working.

      I agree the burden of app compat on Windows is a major roadblock to having a clean OS, but this burden is enforced by the market, not just made up by Microsoft. And clearly UAC avoids an unecessarily abrupt break in app compat. Outside of Slashdot, where valid technical concerns exist around DRM, perf, and other areas, the biggest complaints around Vista in the main stream relate to application and driver compatibility issues. If Vista is a disaster now, it clearly would have been an epic disaster if they opted against UAC and instead broke all compatibility without workarounds.

  31. Let me fix this for you... by actionbastard · · Score: 5, Funny

    Microsoft Designed UAC to Annoy Slashdot Users.

    There. All better.

    --
    Sig this!
    1. Re:Let me fix this for you... by 140Mandak262Jamuna · · Score: 2, Funny

      Microsoft Designed UAC to allow Slashdot Users to gloat. There. All better. There! Fixed it for you.
      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  32. sudo because burning a CD-R is irreversible by tepples · · Score: 0

    There is one app that I couldn't get working properly in Fedora 8 without running it with a sudo - Nero Linux - and it annoyed me quite a bit. Nero products write data to blank CDs and DVDs. If a blank CD-R or DVD-R disc is in the drive, and a program writes to the disc without authorization from the owner of the disc, the disc becomes unusable. For this reason, recording requires the owner of the computer (i.e. root) to authenticate and approve the recording, as the owner of the computer likely can oversee physical access to the CD recorder.
    1. Re:sudo because burning a CD-R is irreversible by CastrTroy · · Score: 1

      I remember many CD recording programs requiring root access of some kind or another to work correctly. I think that things have changed in the last few years, and you no longer require root access to burn a CD, but I specifically remember having to launch xcdroast as root in order to burn CDs.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:sudo because burning a CD-R is irreversible by msuarezalvarez · · Score: 2, Informative

      Sure. Authorization happens now automagically in any semi modern distro. There's a lot of infrastructure that was developed to handle those situations---and many more, of course.

    3. Re:sudo because burning a CD-R is irreversible by Alex+Belits · · Score: 1

      Then why K3B, an application that is superior to Nero in all imaginable ways, does not have this problem?

      --
      Contrary to the popular belief, there indeed is no God.
    4. Re:sudo because burning a CD-R is irreversible by rcw-home · · Score: 1

      For this reason, recording requires the owner of the computer (i.e. root) to authenticate and approve the recording

      Or to delegate that approval. Once.

    5. Re:sudo because burning a CD-R is irreversible by tepples · · Score: 1

      For this reason, recording requires the owner of the computer (i.e. root) to authenticate and approve the recording Or to delegate that approval. Once. I thought that was the entire point of sudo and the sudoers file: to provide a secure mechanism to delegate approval.
    6. Re:sudo because burning a CD-R is irreversible by Fierlo · · Score: 1
      That's just wrong. Let's say you're using a multi-user system (like... a lab computer), and you want to backup some data. You're suggesting that you should require admin privileges to burn it? Also... what if *I'm* the owner of the disc, and not the admin? Shouldn't I be allowed to burn it? Or make it into a coaster?

      Please note, K3b (using distro defaults, generally) does not require you to run as root to burn a CD/DVD.

      I can only hope I didn't detect the sarcasm in your post.

  33. Well..... by Anonymous Coward · · Score: 4, Funny

    Aha! They annoyed me so much that I actually switched to linux. /success

    1. Re:Well..... by Anonymous Coward · · Score: 0

      Ditto. I'm on Ubuntu now thanks to Microsoft. I'm guessing somehow this involves a plot to drive users to open source options where soon there will be a Windox 2012 OS created by Microsoft to drive them to. It's all been layed out by the great Bill Gates with his psychohistory...

  34. Authenticode by tepples · · Score: 2, Informative

    But if they really meant for it to work, then developers would have been required to embed usable contact information in the application. That's what Authenticode was designed for. But not all developers can afford 2,495 USD for a five-year Authenticode certificate from VeriSign. Microsoft doesn't want to block unsigned applications from running on new versions of Windows, as it would only encourage businesses who rely on unsigned vertical market apps to stick with old Windows.
  35. Re:you, my friend, made an incorrect assumption... by Sancho · · Score: 1

    Most of the time, when people talk about bad coding practices in the context of UAC, they're talking about programs which assume that the user will be running as Administrator, and thus they stomp all over areas which should remain protected (both on the filesystem and in the registry.)

    Aside from annoying users, UAC ostensibly exists to keep privilege escalation from occuring. If a program really needs the privileges, it can get them granted by the user. If it doesn't, the user can deny them. In practice, one has to question how effective this really is (does the user know when it's a program or a privilege escalation attempt?)

  36. No, they did it to annoy shitty developers... by exphose · · Score: 1

    When the developers of shitty software that needs root just to run or to do something that shouldn't it annoys the end users who then in turn complain to their software company reps who then figures out a bunch of people hate how annoying their software is in vista and then they dictate to the developers to fix it, thus annoying the developers. /runonsentence

  37. What the hell are you rambling about? by toadlife · · Score: 1

    The teardrop attack was a DoS attack that exploited a TCP stack bug. It had nothing to do with local privilege escalation. Perhaps you should have "googled the rest of the details" before posting.

    Aside from that, privilege escalation vulnerabilities have nothing to do with "good coding practices" mentioned by the parent poster.

    --
    I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    1. Re:What the hell are you rambling about? by DaedalusHKX · · Score: 1

      Actually the last time I ran into it, it was on the Panda Antivirus website when I was researching a trojan, some 3 years or so past, which had a funny tendency to use what the av people referred to as a "new take on the tear drop attack".

      So I threw out what I heard, and haven't bothered. I do recall that I found the virus on XP AND Millenium Edition. Of course ME was negligible since its lifespan was probably the same as Vista's will be before MS releases a new and much improved version. (Windows XPNIE New Interface Edition?)

      I tried something for kicks, and found that I haven't been able to "activate" any of my legit copies of XP, not my Tech Net edition, not my Action Pack edition, and not my personally owned one. What's up with that... have they been "updating their XP registration software" all day today and yesterday? Or are they screwing with XP owners to force their hand to Vista or Linux?

      --
      " What luck for rulers that men do not think" - Adolf Hitler
  38. Re:you, my friend, made an incorrect assumption... by Anonymous Coward · · Score: 4, Insightful

    Because it's much easier to sit on Slashdot and make up bullshit and lies about Microsoft because it's trendy to hate them.

  39. ...who don't listen. by tepples · · Score: 3, Insightful

    Why not just tell the application vendors to "eliminate as many unnecessary privilege escalations as possible"? Because a decade of experience starting with Windows 95 shows that application vendors don't listen.
    1. Re:...who don't listen. by fwarren · · Score: 1

      Why not just tell the application vendors to "eliminate as many unnecessary privilege escalations as possible"? Because a decade of experience starting with Windows 95 shows that application vendors don't listen. Because Microsoft does not eat their own dogfood. Take a look at the products Microsoft sells or acquires and market as their own.

      1. Internet Explorer when Microsoft first purchased it, or any incarnation thereafter.
      2. Microsoft Accounting software such as Dynamics AKA Solomon
      3. Microsft Retail Management Software (Point of Sale)
      4. Microsoft's own flagship products such as Office

      Let's start with the smoking gun. Did Microsoft ever have an API for asking for admin privileges for a program to do something? Or an API for writing to HKCU and one for privilege escalation to write to HKLM? Did Microsoft ever write a piece of software that informed you that you must be an admin to run it?

      Microsoft did not follow any sort of guidelines in producing their own software. So they did not set a good example for the industry. Who knows Windows better than Microsoft? Look at any programmers training material put out by Microsoft for the last 20 years. Did they make ANY effort at all to show that at install time a program could write files to \Program Files and in the registry at HKLM. Then after that only files inside of %user% or in the registry at HKLU?

      Lets look at the major 3rd party vendors. Intuit, Adobe, Symantec (non antivirus) and AutoDesk. That is probably the top 50% of the food chain in the software world. Did any of them ever make an effort to make their software run in a low user privelage environment? Most of them have taken the shortcut of using embeded IE to handle parts of their user interface. Requiring user escalations, writing to program file folders, continued to use ini files in the Windows folder, etc.

      Every one of these Major Vendors and dozens more, sell their software with the little logo on it that said it was made for 95 or 98 or ME or XP. That means they followed Microsoft guidelines for writing software, submitted the software to Microsoft for testing, and paid a few thousand dollars to get to use the logo. At no point did Microsoft EVER check or test to see if these program would run with restricted user privileges. Remember all these companies followed Microsofts Guidelines which had nothing about admin/non-admin privileges.

      If Microsoft wanted to promote security and good user practices. By the time Windows 95 came out they should have bit the bullet and emulated Unix. Folders like \Users \Programs with no spaces in the name. At install time creating a root account with password and then a restricted privilege user account. All of their software after an install would work with restricted privileges. A set of admin tools for dealing with system icons on the desktop, for system menus, system defaults. Their own software running in "user" mode and "admin" mode for making changes.

      In all the materials that came with Windows 95/98 on how to install and use it. They never even recommended creating standard non-admin user accounts. Thus most software was written and tested in an environment where the user had full admin rights.

      No Microsoft has made their own bed. Now they want to whine and complain that users don't take any responsibility in administering their system (when for years they said windows systems were so easy, you did not have to know anything to run one). That 3rd party software companies do not write their software securely. That everyone else is responsible for slow running computers, spyware, viruses, bot-nets and anything else that is wrong.

      After all, since Bill Gates had Microsoft spent a year doing no work but auditing their code for security problems. You know it could not be their fault.

      --
      vi + /etc over regedit any day of the week.
  40. Printing is irreversible too by Mr2001 · · Score: 3, Insightful

    If some blank paper is in the printer, and a program writes to it without authorization from the owner of the paper, the paper becomes unusable.

    But do you have to enter your root password every time you print? I think not.

    --
    Visual IRC: Fast. Powerful. Free.
    1. Re:Printing is irreversible too by tepples · · Score: 1

      If some blank paper is in the printer, and a program writes to it without authorization from the owner of the paper, the paper becomes unusable. Touche. But unlike most printers for home PCs, which have an automatic sheet feeder, most CD recorders for home PCs do not have an automatic disc changer. If you burn a disc, the whole drive becomes unusable until somebody with physical access swaps the disc out.
    2. Re:Printing is irreversible too by Mr2001 · · Score: 1

      If physical access is what matters, then it should be possible for anyone to burn CDs as long as they're logged in at the console.

      --
      Visual IRC: Fast. Powerful. Free.
    3. Re:Printing is irreversible too by shutdown+-p+now · · Score: 1

      Isn't that precisely how most desktop Linux distros out there work? Haven't tried it in Vista, but I presume it wouldn't bother with UAC there, either.

    4. Re:Printing is irreversible too by colinrichardday · · Score: 1

      And how would someone without physical access use the drive? Those CD's don't jump into the tray by themselves.

    5. Re:Printing is irreversible too by Opportunist · · Score: 1

      Does that matter where I log in from?

      Imagine I log in remotely to your linux box. Now please explain to me how I get the CDR into the drive.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    6. Re:Printing is irreversible too by tepples · · Score: 1

      And how would someone without physical access use the drive? By waiting for me to put in a blank disc and executing a record command before I have the chance to do so myself. Of course, in cases where remote login rarely happens, such as a desktop or laptop PC, it's usually safe to give the burning program administrative privileges.
  41. Re:you, my friend, made an incorrect assumption... by Anonymous Coward · · Score: 0

    If you google teardrop attack you'll find that it has nothing to do w/ hacking Office or IE w/ trojans. Teardrop was a network-based attack that involved DoSing remote systems by sending malicious fragmented IP traffic.

  42. Installed for all users? by tepples · · Score: 1

    If you want to rename something in your start menu, you get 3 prompts from UAC. Was this "something" installed for you, or was it installed for all users?
    1. Re:Installed for all users? by CastrTroy · · Score: 4, Insightful

      Doesn't matter, I should only get 1 prompt, not 3.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:Installed for all users? by ArAgost · · Score: 1

      To rename a file? You should get 0 prompts, if it's not strictly necessary (ie if the file is yours, if the file is not write protected, etc.)

    3. Re:Installed for all users? by Kalriath · · Score: 1

      You do get zero prompts - if the file is yours. However, if it's in the "All Users" section, it's considered not yours (it treats shared shit as being "communal") and demands authorisation from you to rename it.

      However, the GGGP is talking shit about getting three prompts from UAC. You actually get one UAC prompt and one shell one (UAC demanding authorisation for modifying files which aren't yours, and a shell prompt warning you that changes will affect all users) - it's still braindead, but nowhere near as bad as his post implies (a switch to the secure desktop for a UAC prompt is damn near painful on some graphics cards).

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    4. Re:Installed for all users? by Anonymous Coward · · Score: 0

      >Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.

      ie "..because all of the other possible universes (which are the overwhelming majority) have no one to question why the universe should have the spectacularly unprobable magic values it does and which allows intelligent life to form"

      Your phrasing is weird, it's like saying "Earth supports life because if it did not we would not be here to observe it."

      It's better to say "That Earth has the spectacularly unprobable combination of factors that have allowed life to develop is really not at all unprobable: it's just that the (overwhelming majority of) planets that do not have this combination have no one to question why their planet has such an improbable combination of magic variables".

    5. Re:Installed for all users? by Allador · · Score: 1

      The 3-UAC prompt business is also fixed in Vista SP1. It only requires one UAC now, as it should.

    6. Re:Installed for all users? by Kalriath · · Score: 1

      I have a pre-SP1 machine, and it ALSO only requires one UAC prompt. Not sure where you get the idea that SP1 fixes anything there.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    7. Re:Installed for all users? by Allador · · Score: 1
      From the SP1 Release Notes, under the 'General Improvements and Enhancements' section:

      SP1 reduces the number of UAC (User Account Control) prompts from 4 to 1 when creating or renaming a folder at a protected location. One of the product managers had mentioned it on the Vista blog as well, which is where I heard about it first.
    8. Re:Installed for all users? by Kalriath · · Score: 1

      Oh I think I know now... when creating folders in protected locations, you'd get a message from Windows telling you that you'll need to confirm the operation, a UAC prompt to create the folder, a third from Windows telling you you'll need to confirm the rename operation, and a UAC prompt for the rename. There was only the "You'll need to confirm" and the UAC for renaming one.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  43. You are just plain incorrect by SendBot · · Score: 1

    As others have commented, you could not be more wrong about the teardrop attack. Teardrop worked by fragmenting a tcp packet such that when your tcp/ip stack reassembled it, it would buffer overflow and usually just crash the system.

    I had LOTS of fun with this back in '96 - (pre-google) I'd search for sites using the "powered by backoffice" image, which made certain that it was vulnerable to this.

    1. Re:You are just plain incorrect by DaedalusHKX · · Score: 1

      Thanks for correcting me. I'm just rehashing what I heard ages ago in my days of fixing windows PCS from user incompetence attacks. PEBKAC type stuff. Well paying and endlessly replenishing source of minor revenue :)

      It has been 3 or 4 years since I've done any windows IT. I don't miss it. I may have named the vulnerability incorrectly but the reference I read when I was trying to fix the pcs in question mingled a local hijack of the Winlogon process and the full escalation of even guest level privileges to administrator/SYSTEM rights. the mechanics were described as a "new take on the classic teardrop attack". I didn't bother to research further, since I had little time left to fix things... see, people generally surf porn with IE (any version)... and then wonder why they keep going back to Geek Squad or private IT shops to get their PCS de-trojaned.

      "But I thought Trojan was a brand of condoms..." (this was a comment I got from a prominent businessman who kept coming to our shop every two weeks to get his PC fixed, and bitching that it was unreliable. We eventually sat down with him, and explained to him that it was his surfing practices, plus the various shoddily coded browsers and viewers that enabled virus and trojan hits to take his system to performance hell.)

      Again I appreciate the rehash, and the corrections. I lose nothing from this.

      --
      " What luck for rulers that men do not think" - Adolf Hitler
  44. Y syndrome by jd · · Score: 1

    Once upon a time, application writers tried to make users do the right thing by making them confirm any significant operation. What it led to was users who just hit the "y" key automatically whenever they got a confirmation request. They stopped reading the message. It is unclear if Vista's system will produce a different result - either through the user confirming blindly or by the application dummying the signal. Either way, it ceases to have any real value.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  45. UAC is not a bad idea by pablomme · · Score: 4, Insightful

    UAC is not a bad idea. True, they could have gone the gksudo way and allow a window of time before asking for permission again. And then they could ask for a password instead of getting people in the habit of clicking away past warning windows. But still, it's not a bad thing.

    They also had to stop programs from storing settings and user stuff under the write-restricted "Program Files" folder.

    Now, annoying users intentionally to exert pressure on software vendors is just twisted.

    UNIX/Linux users may want to have a little thought about what things would be like without the SUID facility ('ping', anyone?), and, on the other hand, the security implications of SUID. I was shocked when I read the example at page 249 of the UNIX Haters' Handbook, which illustrates the problem of blindly trusting your PATH with a simple example in which you can trick your system administrator into providing you with a root shell binary. Tried it. It works.

    Not that this has prevented me from ditching Windows Vista in favour of Ubuntu on my laptop (desktop to follow when Ubuntu 8.04 is released).

    --
    The state you are in while your HEAD is detached... - wait, what?
    1. Re:UAC is not a bad idea by Anonymous Coward · · Score: 0

      > True, they could have gone the gksudo way and allow a window of time before asking for permission again.

      Ugh, and repeat the biggest problem with UNIX? You need to tell the user what finely-grained permission you're asking for. For example, the first call could be to write to "C:\" and the second one could be for updating a registry entry.

    2. Re:UAC is not a bad idea by weicco · · Score: 1

      And then they could ask for a password instead of getting people in the habit of clicking away past warning windows

      But it does ask for a admin password if you are running with user privileges, which you should do in the first place. Users still running Vista with admin account (or UAC off) should be shot in the face.

      --
      You don't know what you don't know.
  46. ...It's a vendor issue by zakezuke · · Score: 1

    It is an idiotic approach. Vista is the one being annoying....how could someone predict that end users would blame the applications and not the os that's to blame? Microsoft employees seem to have this built in chant "it's a vendor issue". It helps to deflect criticism, and they do make the rules. But they are never clear on the rules, but they do have a line where the problem is vendor or MS specific. They moved that line, they changed the rules. And to add insult to injury, the explanation "it's a vendor issue" applies when the vendor is Microsoft!

    --
    There is no sanctuary. There is no sanctuary. SHUT UP! There is no shut up. There is no shut up.
  47. That's patently untrue. by CFD339 · · Score: 1

    Clearly, you don't have teenage children. It is not only normal common practice, but it is in fact essential to force them to follow all kinds of practices that you yourself do not follow.

    --
    The problem with quotes on the internet, is that nobody bothers to check their veracity. -- Abraham Lincoln
    1. Re:That's patently untrue. by PitaBred · · Score: 1

      "Do what I say, not what I do"

      That always goes over well with teens. Do you even remember being a teenager?

    2. Re:That's patently untrue. by Anonymous Coward · · Score: 1, Insightful

      "Do what I say, not what I do"

      Sounds perfectly reasonable to me.

      e.g.
      "Go to school"
      "Don't drive the car"
      "Don't try to have sex with mom"
      "Don't do that or you'll end up like me"

      Tons of different rules for children and adults. Welcome to the real world. Minors aren't the same as adults.

    3. Re:That's patently untrue. by Tony+Hoyle · · Score: 1

      And the teenagers will find this out and you not only lose respect due to being a hypocrite you'll be fighting an increasingly losing battle getting them to do *anything* because they'll just assume you're making shit up to annoy them.

      Teenagers pretty much assume adults are trying to opress them.. it's not a good idea to confirm the assumption.

    4. Re:That's patently untrue. by CFD339 · · Score: 1

      Hmmm, yeah. You didn't really add the key point which I'd need before taking this seriously. How many teens, honestly, do you have (or had)?

      --
      The problem with quotes on the internet, is that nobody bothers to check their veracity. -- Abraham Lincoln
    5. Re:That's patently untrue. by CFD339 · · Score: 1

      And how many children over the age of 12 do you have?

      --
      The problem with quotes on the internet, is that nobody bothers to check their veracity. -- Abraham Lincoln
  48. End result by edwardpickman · · Score: 2, Funny

    Uograde to Vista, Cancel or Allow. Cancel.

  49. Re:you, my friend, made an incorrect assumption... by plover · · Score: 5, Funny

    Because it's much easier to sit on Slashdot and make up bullshit and lies about Microsoft because it's trendy to hate them. Oh, it's not trendy. We've always hated them.
    --
    John
  50. totally ineffective by JustNiz · · Score: 2, Insightful

    UAC is totally ineffective as as its one of the first things nearly everyone turns off because its so damned annoying.

    1. Re:totally ineffective by Nimey · · Score: 1

      TweakUAC. That lets you have more fine-grained control. When I feel like inflicting Vista on myself, I kill the UAC prompts but keep IE running in protected mode (killing UAC outright also kills protected mode).

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
    2. Re:totally ineffective by ColdWetDog · · Score: 1

      When I feel like inflicting Vista on myself,

      Are you the guy in the red Toyota with the license plate "N2LTHR" and the license frame with the little ditty "Sticks and Stones May Break My Bones, But Whips and Chains Excite Me"?

      --
      Faster! Faster! Faster would be better!
    3. Re:totally ineffective by Nimey · · Score: 1

      Why don't you follow me home and find out?

      --
      Hail Eris, full of mischief...

      E pluribus sanguinem
  51. Microsoft's Problem by Mike610544 · · Score: 2

    As much fun as it is to bash MS, they have some very difficult problems to deal with.

    One reason for their success is that they never say: you need a certain version of glibc to run this app, or you need some outdated rpm chain of dependencies that conflict with the new version (may god have mercy on my karma.) If it's a Windows program it will run on Windows (sometimes.) I'd say 90% of the badness and kludginess of Windows is because of their desire to not break apps that people have been running since the 3.1/95 days.

    With the kind of resources they have they should be doing a much better job, but I think anyone who's tried to provide backward compatibility in software even in trivial cases will agree that it quickly becomes an unmanageable clusterfuck.

    --
    ... also, I can kill you with my brain.
  52. Run as standard user. by Dogun · · Score: 1

    The best thing you can do as a user to ensure your user experience is good and will remain good?

    Run as a standard user, on Vista and beyond.

    Vista has done a lot to boost that demographic, but unless users start realize that Vista has nearly equalized the Administrator and Standard User scenarios, and start running as standard users, developers will find a new way to screw it up for standard users.

    Key mistakes developers make:
        'de-elevate' - the right way to do this is to keep a parent executable around, relative to the one from which you wish to 'de-elevate'. That parent executable itself may or may not have been 'elevated'.
        'HKCR' - HKCR is there for compatability with win16. Stop using it already.
        Interacting with the virtualstore - unless you are writing a module specifically designed to perform a one-time migration to address a virtualization issue with an older revision of your app, there's no reason to do this explicitly.
        Interacting with the virtualstore from an 'elevated' app - wrong from conception. In UAC, if you elevate, you elevate to potentially another user entirely, and virtual stores are per-user. Ergo, this is never right.
        'it's just a prompt'. It's not just a prompt. It's a stressed person running as a standard user in an enterprise who has to go ask help-desk to answer the UAC prompt.

  53. Difference between Unix and Windows in security by guruevi · · Score: 5, Insightful

    I have been asked and wondering why Microsoft has such a bad track record in security and user access control especially since recent Windows have been built on NT which comes from OS/2 and VMX. According to me it's fairly simple: group permissions. Look at a default Linux/Unix-style installation, you have about 20 groups to start out with. If you're a desktop user, usually you're a member of audio, video, games, cdrom and user. On a Windows machine you're either a User or an Administrator. The way the Linux kernel and it's modules are built, if you need direct access to hardware, you can either be root (not good) or you can access it through it's /dev entry which has group permissions.

    So if you want to play music, you can access the hardware (albeit through a kernel module) by making yourself member of the group audio. In Windows however, if you need direct access, you can either use DirectX or a process (daemon) or become an Administrator so you can get to the kernel. There is no group Audio that has only access to the Audio-part of the kernel. As soon as you need direct access for real-time anything, you can't really add yourself to any group to do so.

    This of course goes way back before desktops were running NT versions (like 2000 or XP). Before, Windows was running on top of DOS, developers could just code directly into the hardware (just load dos4gw), there is no access control in DOS. DOS was also not meant to be running any services or be connected to a network that's where the whole thing with virusses got started, anything that was running could simply request a hook into the BIOS, under the hood, protected memory was regulated with emm386 while Windows 95-ME all used the faster, less secure himem.sys. Microsoft merged together the NT and DOS and made it into 2000 and XP. There were no extra permissions added for desktop users, the pure server model was coded around to allow for desktop speed and real-time access to hardware, never giving any thought that actually running all services that hook into hardware as Administrator would give problems.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:Difference between Unix and Windows in security by deblau · · Score: 1

      Look at a default Linux/Unix-style installation, you have about 20 groups to start out with.
      LMAO. Sorry, I thought the universe imploded for a second there.

      Next time, name your distro, mmk? There's only a few hundred of them to choose from.

      --
      This post expresses my opinion, not that of my employer. And yes, IAAL.
    2. Re:Difference between Unix and Windows in security by hee+gozer · · Score: 1

      I was about to write a lengthy reply to your comment but then I reminded myself of this

    3. Re:Difference between Unix and Windows in security by klui · · Score: 1

      Why do you have a low id and don't understand the difference between a Linux/UNIX distribution and wc -l /etc/group?

    4. Re:Difference between Unix and Windows in security by deblau · · Score: 1

      Not every distro comes with 20 groups preinstalled. Or hadn't you tried more than 3 or 4?

      --
      This post expresses my opinion, not that of my employer. And yes, IAAL.
  54. Sounds like an engineering decision by Anonymous Coward · · Score: 0

    What could possibly go wrong. We sit in our offices all day, but we know how people think.

  55. Microsoft's David Cross by HAKdragon · · Score: 3, Funny

    Well, I guess they really blue that one.

    --
    "Our opponent is an alien starship packed with atomic bombs. We have a protractor."
  56. Who the **** keeps modding this as "Insightful",,? by Dude+McDude · · Score: 1

    The parent is incorrect (as has been pointed out by other posters).

  57. UAC; horrible by Anonymous Coward · · Score: 0

    100% agree with JustNiz...the first thing I tell anyone is to turn UAC off...we survived in all previous distros of Windows w\o it...I'm pretty sure we will continue to be ok...and for those who always f their computer up they will continue to do so whether UAC is on or not.

  58. With or without X11? by tepples · · Score: 1

    Those PC's with that same RAM and CPU run LINUX just fine and it has proper privilege separation. Even Current kernels. Which graphical desktop environment did most Linux PCs run as of 1995? If I recall correctly, Windows 95 would run with its full GUI in 8 MB of RAM.
    1. Re:With or without X11? by Anonymous Coward · · Score: 0

      The X window system, with either fvwm95 or KDE 1.x (the latter causing RMS to have apoplectic fits since Qt wasn't GPLed at the time).

    2. Re:With or without X11? by Foofoobar · · Score: 1
      That wasn't the point. The poster specifically stated that 'proper privilege separation' was too much too handle for hardware at the time. And that's bullshit.

      I believe XWindows was available back then to answer your nonsequitor

      --
      This is my sig. There are many like it but this one is mine.
    3. Re:With or without X11? by Bert64 · · Score: 1

      Or early version of enlightenment if you want eyecandy...
      I used to run it on a 486dx2/66 with 16mb ram and an "Oak OTIVGA ISA" videocard.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re:With or without X11? by jonbryce · · Score: 1

      Red Hat 4 came with FVWM. I tried it as my first linux distro in 1996. It was an interesting geek toy, but not much use for a functional home computer. Linux has improved massively since then.

    5. Re:With or without X11? by harry666t · · Score: 1

      Actually I've managed to run W95 on a machine with no more than 4 MB of memory. Can't remember if it was even capable of running minesweeper though.

  59. off topic by martin-boundary · · Score: 2, Informative

    FYI run a muck is wrong. There is no muck. It's run amok.

  60. Re:you, my friend, made an incorrect assumption... by TapeCutter · · Score: 1

    "If a program really needs the privileges, it can get them granted by the user [...] one has to question how effective this really is"

    As with *nix the user can only excalate to their own level of access, if they don't have admin rights they can't hand them out. If this is effective in *nix to stop random users running as root (and it is) then it should also be just as effective in windows.

    It's fine to blame "windows programmers" for the pop-ups that plague vista but in my experience (20yrs) most proffesional developers are also "*nix programmers". Conditional compilation and a lot more testing is the price one pays for supporting a diverse range of O/S's.

    --
    And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  61. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  62. Liability Shield by ewhac · · Score: 1
    "Annoy the users so that they'll bludgeon the app vendors to fix their software." I'm sure that's what the engineering department told itself.

    Snide Schwab has a different thought: Microsoft's legal department foresaw the day when the license "agreement" would be revealed for the fiction it always has been, and the clause disclaiming liability for product faults would be held invalid.

    Windows "security" has been laughable since forever, and Microsoft's perennial incompetence in this regard is directly responsible for the millions of compromised computers all over the world spewing spam and attacking servers. It is entirely probable that, if the right lawsuit came along, Microsoft could be held liable for their long-standing incompetence -- unless they could claim they did something about it.

    Enter UAC. "There. We did something about it. If the users disable it, or make bad decisions, well, we can't do anything about that." It obviously was the most childish, petulant "solution" that could be conceived to the problem, but that didn't matter, because it was never intended to actually solve the problem. It was supposed to be there to show to a judge that Microsoft wasn't negligent, and therefore not liable.

    This is all, of course, entirely speculation on my part...

    Schwab

    1. Re:Liability Shield by miffo.swe · · Score: 1

      This is actually what first came into my mind when i saw UAC. The only function it has is put all the security decisions onto the user. That way whatever stupid thing Vista does Microsoft can always blame the user.

      This also makes their security stats better on paper since for most exploits the user has to click yes.

      --
      HTTP/1.1 400
  63. Re:you, my friend, made an incorrect assumption... by dryeo · · Score: 3, Funny

    I don't know about that. Personally I didn't start hating them until I migrated to the IBM PC in the early 80's. Before that they were just another software vendor.

    --
    https://en.wikipedia.org/wiki/Inverted_totalitarianism
  64. Re:you, my friend, made an incorrect assumption... by PopeRatzo · · Score: 3, Interesting

    it's trendy to hate them.
    It's not just trendy, it's a way of life.

    I think you underestimate the depth of feeling that Microsoft has engendered in much of the technical community.

    If you're a company that makes a product that the majority use, your customers don't just start to hate you, it's something you have to work at for years. It's our nature to become emotionally attached to something that's such a big part of our lives, and the fact that Microsoft has squandered such an opportunity for loyalty and created ill-feelings instead is something that future generations of business students and corporate psychologists will study for centuries to come.
    --
    You are welcome on my lawn.
  65. tag:nagware by Jurily · · Score: 5, Insightful

    What they didn't anticipate though, is people screening out the warnings. Yes, it's important for you, the developer. No, it's not important for the user, who only wants to Get Stuff Done (tm).

    If the same yes/no question pops up every 10 minutes, don't expect a different answer when it says "Do you want to install spyware, adware, a couple of trojans, and [whatever they actually wanted to install]?".

    Remember, users don't read. Not because they're incapable, they have more important things to do.

    1. Re:tag:nagware by ddrichardson · · Score: 1

      If the same yes/no question pops up every 10 minutes, don't expect a different answer when it says "Do you want to install spyware, adware, a couple of trojans, and [whatever they actually wanted to install]?".

      The reverse is also true and just as annoying - the user who contacts support every time there is a UAC pop-up.

      --
      A thistle is a fat salad for an ass's mouth...
  66. And Microsoft is the biggest offender. (Fixed) by HannethCom · · Score: 1

    The amount of times UAC prompts me is not when running other applications, but pieces that ship as part of Vista. I want to turn off wireless to preserve power, or go on a plane. Prompt. I want to copy a file. Prompt. I want to do anything of any real use. Prompt.

    As for changing the "was" to "is" anyone notice that Office 2007 isn't completely Vista compatible? Anyone notice that Microsoft Hardware was really slow on coming out with drivers for Vista. Due to the class action lawsuit we now know why. They are not eating what they are offering and as a programmer I'm leary of implementing Microsoft's latest fad, just for them to deprecate it again. From their security record in Vista so far it's obvious that these things aren't a thing of the past. Heck UAC being annoying is proof enough that they don't really care about security, because it doesn't take a genius to figure out that if you are having to click something all the time, you are going to stop reading it, completely defeating the point of the prompt in the first place and in the process making Vista less secure than XP. Not to even mention their creative accounting on how many security problems have actually been found in Vista, they only count what they've publically disclosed.

    --
    Microsoft, Apple, Google, Amazon what's the difference? All steal money from devs and control with walled gardens.
    1. Re:And Microsoft is the biggest offender. (Fixed) by Allador · · Score: 1

      Wow.

      And I mean wow.

      That was one of the most horrendous blogs I've ever seen. Combine a completely lack of understanding of ... just about anything on windows, combined with a non-native english speaker (or maybe he was drunk).

      That article was filled with wildly inaccurate and ignorant nonsense. He clearly doesnt have a clue what the Excel/Sharepoint server product is, he seems to think its just Excel on the server.

      He's all caught up about Office apps only being limited to 4gb of memory per process (which isnt even accurate) and how badly that will affect your ability to work with large spreadsheets. *boggle*

      Oh and my favorite: The OOXML 'format' isnt 64-bit compatible. This one just had me about falling out of my chair. How exactly is a text-descriptor format NOT 64-bit compatible. And what would 64-bit compatible look like?

      He/she also goes on about how Word document pagination will be slow because Word cant use the full set of registers on a 64-bit processor.

      It just boggles the mind. This person obviously has no clue whatsoever about just about anything on Windows.

      I'm not sure where you dredged that article up from, but thats one of the most laughable things I've seen in a long time.

    2. Re:And Microsoft is the biggest offender. (Fixed) by Allador · · Score: 1
      I think its not too surprising that MS didnt build a 64-bit version of office. What would be the point?

      Office wouldnt ever need more than 2-3GB of memory space per process, so why go to the trouble?

      It's not like there's a noticeable performance hit to running x86 apps on x64 vista.

      There are obvious reasons why you'd build 64-bit versions of SQL Server, IIS, .NET, etc. And MS has. But for typical desktop apps (web browsers, etc), it doesnt really buy you anything to have a 64-bit build.

      And for something like office, where there's probably 15+ year old legacy code in there, that does lots of 'tricky' stuff, I can understand not being in a rush to change it all (from a business perspective).

      And ultimately, the customer would benefit not at all from a 64-bit version of Office. Just flat would not see a difference.

      I dont really feel too bad about losing 16-bit plugin functionality. Thats just such an extreme case.

      But I do feel quite a bit for the Mac folks, with the loss of VBA for Mac Office.

      I read a great blog article by one of the product managers in the MacBU part of MS, about why they chose to not continue including VBA.

      I'm paraphrasing, but apparently VBA is just a monstrous hack. It was developed in a time when systems were slow, and onboard macro languages were hard to do in a performant way. So they used some quite intelligent C programmers do really tricky stuff, including partial optimization to assembly.

      Lots of 'trickiness' for speed, in other words. If you've done this kind of work ... you can imagine the side effects of that. It becomes nearly unmaintainble in the future if you dont have those same folks around, or similarly talented people.

      So basically they did something that got them big wins in the past, but it came at a cost of maintainability. They're now paying that cost, and its hurting them competitively in the current market, which is very different from the one in which VBA was originally developed.

      I can understand from a business perspective not wanting to support that forever, but it sure is hard on the customers who would use it.

      To be clear here, I'm not really for or against the VBA on Mac Office decision. I just completely understand what a horrible position MS put themselves into, and can understand how they might come to the decision they came to, even if its not necessarily what I would have done.

      OT: And, excuse me, what's bad on being non-native English speaker? Nothing. What's wrong is trying to write a technically oriented article meant to be persuasive in a language you dont speak very well.

      That person posting it in English would be the equivalent of me posting this in Spanish. It would utterly destroy my credibility, because hardly anyone would understand me (I dont speak spanish very well).

      This person should have just posted in their native language, IMO.

  67. ... AND WE SUCCEEDED! by Anonymous Coward · · Score: 0

    Our critics say that we can do nothing right! This show show them! lol

    http://fakesteveballmer.mypodcast.com/index.html

  68. David Cross?? by Dahamma · · Score: 1

    They chose a great comedian to deliver that line!

  69. Now you know... by Pasajero · · Score: 1

    ...why I'm typing this on Firefox in Mandriva.

  70. Why are you still using windows? by Anonymous Coward · · Score: 1, Funny

    Duh! That was so 90's.

  71. Microsoft designed Vista to annoy users by thewils · · Score: 2, Funny

    There, fixed it for you.

    In fact, now I come to think of it, Microsoft designed all of Windows to annoy users. I use it and man, I'm annoyed as hell right now.

    --
    Once I was a four stone apology. Now I am two separate gorillas.
    1. Re:Microsoft designed Vista to annoy users by stewbacca · · Score: 2, Funny
      I would say "annoyance" is definitely Microsoft's legacy. Remember Clippy? How about the daily reminder that you have unused shortcuts on your desktop? Ever try to "defeat" Microsoft's attempt to format YOUR Word document the way MICROSOFT thinks it should be outlined? Have you ever tried to use interesting and creative sentence structure, say for artistic endeavors, only to be green underlined? Thanks Microsoft, but I actually WANTED to use the passive voice there. Thanks for your help though!

      Should I really have to hit F5 to refresh my screen after I rename a bunch of files, or is that "annoyance" a feature that actually helps me as a user somehow? Have you ever tried to rename a file that is open? Move it? Is it really that hard to keep a desktop shortcut link after you rename the original file? Do I really have to sit through ten minutes of copying a file, only to have it cancel 80% through because the target disk doesn't have enough space (why didn't it check before it started)? What other device on the planet has a 99% success rate for the following trouble shooting procedure: "Reboot"? Why do special characters require the alt key then three or four random numbers from the keypad (not the number row, gasp!), when a simple alt key plus letter/number suffices for other operating systems?

      Man, I could go on forever.

  72. Re:Driver and login annoyances by Anonymous Coward · · Score: 5, Informative

    HP driver annoyances (their shitty home(/SMB) devices are notorious for this and end up even in larger setups cause of ignorant buyers) can be usually quite easily fixed by searching the registry by device name or ID and giving users group more control over those subtrees. Be aware of security considerations and give only minimal level of extra rights that are neccessary.

    Msconfig is your friend when disabling unneeded startup items. I especially loathe the auto-updaters that get installed by default if you don't know specific installer parameters. Sun java is class A example of that crap, it informs limited users about updates and recommends them to upgrade - only halfway through it throws error message.

  73. Flawed logic by qmaqdk · · Score: 2, Interesting

    The logic behind this statement is that it should encourage application vendors to eliminate as many unnecessary privilege escalations as possible by causing users to complain about all the UAC 'Cancel or Allow' prompts. That's flawed logic if I ever saw it. That's like trying to prevent car accidents by making it expensive to go to the hospital.
    --
    My UID is prime. Hah!
    1. Re:Flawed logic by MarkKB · · Score: 1

      The logic behind this statement is that it should encourage application vendors to eliminate as many unnecessary privilege escalations as possible by causing users to complain about all the UAC 'Cancel or Allow' prompts. That's flawed logic if I ever saw it. That's like trying to prevent car accidents by making it expensive to go to the hospital. Actually, it's more like preventing car accidents by installing speed-bumps, thereby forcing the car manufacturers who put shoddy shock absorbers in their cars to upgrade them.
  74. Re:Of course... And even worse... by Z00L00K · · Score: 1
    Is the fact that Vista doesn't show a pop up in some cases where it instead silently replaces the file that you edited since it thinks that the edit was inappropriate. That's even worse.

    I think that Microsoft first have to learn to avoid pissing users off and then design a system from that.

    I agree that there are far too many cases where administrator access is required, and that those cases must be dealt with, but this is the wrong way. The basic design of Windows also makes it very hard for a user/program to quickly request and escalate privilege rights. You have the "Run As..." functionality, but that's not really useful since users normally doesn't have a secondary account.

    In effect - they have made a historical error. If they had been more competent and compared their notes with functionality of other operating systems they would have understood that there are options and methods to improve the security.

    In comparing with other operating systems I not only refer to *NIX as is but also features provided by MLS *NIX:es and OpenVMS. Uses of ACL:s or similar, privilege flags as in OpenVMS (which allows for an account to have potential for admin rights but not have it right away and is changed with the "SET PROC/PRIV=..." command). Of course it should be designed differently. And that even as an administrator it would be necessary to escalate privileges. This latest feature would have been a good reminder for those writing stupid accesses to really optimize their requirements. And if a software was to require privileges when executed that should be a feature that had to be enabled at installation of the software and not during runtime.

    And then there are some programs that are REALLY stupid - they need to be installed as the user "Administrator". That's really annoying.

    Remember that users are really stupid when using your program, but allow functionality to inform the advanced users to be informed about what has gone wrong. Don't be afraid of detailed application dumps - if they are verbose they can actually tell a developer a lot - and even a system administrator may be able to pick up what's wrong. A message like "Insufficient Access" and no more information is likely to piss people off. A binary hex dump that only could be interpreted by a secret program is likewise. Sometimes I miss the several pages of symbolic stack dumps that may happen on the OpenVMS system if something was going out the window... The *NIX core files are also very useful. Both have their share of lack of information but usually you get the general idea about what was wrong. The windows way of doing it is to just provide the user with a message stating that something went wrong and that it was an illegal operation, but not the history behind it like a human readable stack dump.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  75. Allow for five minutes by Per+Abrahamsen · · Score: 1

    IMO, the UAC did not have to be as annoying as it is. All they needed was a "allow admin stuff to happen for 5 minutes" dialog so that installing a program would only take one prompt. Too smart for their own good... It would allow some sneaky malware to hide in the background, waiting for privilege.
  76. Stupid long filenames with a short path limit by dbIII · · Score: 1
    It backfires because people that do not know any better give things long file names in directory names that are too long on an OS that has many portions designed to only accept a 256 character path. Once you put the really long path to "My Documents" in front of what the users do you have lost a fair chunk of those 256 characters. Suddenly you get backups that don't work or files that are accessable locally but not on a network share.

    Microsoft sometimes have good ideas but rarely implement them consistantly.

  77. Where the data is saved. by Tomji · · Score: 1

    To this day I find the programs that save their data in their directory the best, I just Xcopy them when I move my computers. It's always a fight to find where programs save their info, is it \documents and settings\localdata and appdata right away? How about in all users\appdata instead? Or maybe in my registry... friggin stupid and now MS punishes devs to have the data in the program folder with UAC.

  78. Re:you, my friend, made an incorrect assumption... by rishistar · · Score: 2, Funny

    And please don't accuse anyone on slashdot of being trendy.

    --
    Professor Karmadillo Songs of Science
  79. Re:you, my friend, made an incorrect assumption... by Hal_Porter · · Score: 2, Interesting

    I don't get it really. Microsoft's software is so pervasive and I've spent ages using Windows, writing Windows applications and drivers, even if I mostly do embedded code.

    I've used lots of other OSs too, and I really don't see what's so bad about Microsoft. Even their aggressive businesses are quite useful since I know if I knock up quick Windows application with Visual C++ I can reach 90% of the market. You can do pretty much anything you want in userland with Win32 and in kernel mode with WDM. Basically their stuff works fine for me. I don't know why other technical people have such problems with it.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  80. Re:you, my friend, made an incorrect assumption... by lattyware · · Score: 2, Insightful

    Because even if it works 'fine' for you, there is a better option out there, and by using windows, you are forced to pay, and are locked in. I don't know about everyone else, but I have a problem with the fact everyone in the world is paying for something which is worse than something they could get for free (and if everyone did run it, it'd become better in every way overnight (hardware manufacturers making drivers, etc...).

    --
    -- Lattyware (www.lattyware.co.uk)
  81. Annoying users is pretty stupid by DrXym · · Score: 1
    I can understand why they did it, but the reality is that some legacy apps will NEVER EVER be updated. UAC should at least allow an admin to exempt an app, or "train" the system to not bug for certain kinds of errors.

    The alternative is people will just turn off UAC altogether. I'm sorry but I would hit those stupid warnings 20 or 30 times a day. In the absence of a way to train the system, I prefer to disable it altogether.

  82. Me too me too me too! by mcrbids · · Score: 2, Interesting

    I tried for months to get Windows NT4 to operate as a webserver and a DNS server with an uptime > 2-3 days. Couldn't do it with a (then pretty decent) Pentium-100 with 32 MB of RAM.

    Then, a year or two later, I discovered Linux, and tried it out on an old junker AM486/100. With 16 MB of ram, and a 500 MB HDD, and X-Windows/KDE 1.x running on the super-long VLB video card, it managed to host a web server, a DNS server, telnetd, ntpd, postgres, php, AND ssh reliably, 24x7 for MONTHS before I learned enough of what's going on to see that it was actually doing all that!

    That was RedHat 5.1. It's what sold me on Linux, because, for all its many warts, it actually did the job reliably. And now, some 9 years later, it's still "doing it" (Now CentOS 4) and I'm still loving it, 24x7!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Me too me too me too! by uglyduckling · · Score: 1

      ...it managed to host a web server, a DNS server, telnetd, ntpd, postgres, php, AND ssh reliably, 24x7 for MONTHS before I learned enough of what's going on to see that it was actually doing all that...
      so in other words no-one actually accessed those services, they spent their 7 months in the swapfile :-)
    2. Re:Me too me too me too! by Allador · · Score: 1

      I tried for months to get Windows NT4 to operate as a webserver and a DNS server with an uptime > 2-3 days. Couldn't do it with a (then pretty decent) Pentium-100 with 32 MB of RAM. It goes both ways though.

      In a prior life, I managed a domain that had NT4 server boxes running Exchange 5.5, PDC, and file servers. Before the regular patching that we all know and love now, those boxes regularly had year+ uptimes.
    3. Re:Me too me too me too! by mcrbids · · Score: 1

      Yup.

      Amd it worked. NTx couldn't actually do this part.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
  83. UAC is no different than any Windows alert by Killer+Eye · · Score: 2, Informative

    If UAC dialogs are annoying and unnecessary, they're really just behaving like other Windows alerts. There's a whole mentality on the platform for being irritating and bothering users with pointless information.

    Still, this was a new class of alert, to be taken seriously. Microsoft had a chance to break with "tradition" and put real thought into what would make a useful dialog, such as (only) information critical for making a good decision and prompting no more than necessary. But instead, we have self-congratulatory "aren't you glad we're looking out for your computer" text, a lot of color, and "abcapqyt.exe" as the only thing distinguishing one UAC dialog from the next. The dialogs therefore essentially read as "You have no idea WTF is running. [OK]" to most people.

    I compare this to legalese. Microsoft is taking the "throw 400 pages of crap in the user's face, make them entirely responsible for understanding the ramifications, if they click OK they're responsible" approach to security. When I see legal documents, I *really* appreciate companies who go to the effort to "humanize" what they present. In about a paragraph of extremely readable English, they say hey, this is what we're talking about here, and this is why we have this agreement. Why *couldn't* UAC dialogs do the security equivalent of this deciphering for users, so "abcapqyt.exe" is not my only clue?

    --
    "Microsoft killed my company, I hold a personal grudge. I don't use Microsoft products and neither should you."-JWZ
  84. Of course, Of course... by AliasMarlowe · · Score: 1

    Or did you manage to usefully run X11 on a 486 PC with 8 MB of RAM? On a 16MHz 386 "laptop" (Toshiba T5200) with 8MB and orange plasma VGA. After an upgrade to 14MB, linux really flew. I think I used either fvwm or twm as the window manager.

    This "laptop" also booted to OS/2, which could run X11 as a separate GUI simultaneously with the Win3.1 and OS/2 GUIs and a bunch of virtual DOS machines. One of the DOS VMs often ran the GEM GUI because I used GEM Draw quite a lot in those days. It also had OS/2's NFS client+server. Four different GUIs with multitasked applications and daemons, all snappy enough in 14MB RAM with a 100MB disk.

    Bloat Sucks. Windows seems always to have had more of it than the alternatives.
    --
    Those who can make you believe absurdities can make you commit atrocities. - Voltaire
  85. Re:you, my friend, made an incorrect assumption... by jonbryce · · Score: 1

    *nix can allow normal users to escalate privileges using sudo. UAC is basically a poor re-implementation of sudo.

    In Vista you can stop users from escalating privileges by not making them a member of the administrators group, which is much the same as not making them a member of the wheel group in *nix. In this case, Vista will ask for a username/password of an administrator group member before it will "allow".

  86. An anecdote by Nephrite · · Score: 1

    Well, this Microsoft system is better than nothing. At least I've seen on some forum awhile ago (read: not true) that some user got promt like "Are you sure you want to run trojan.exe?" and so the malware was eventually caught and disabled.

  87. Microsoft in a nutshell... by Hymer · · Score: 1

    A far better solution vould be to require the sw vendors to obey the security model to get the Windows approwal stamp...
    and hunt any vendor down if they put an approwal mark without obeing the security model.

  88. it's working! by nguy · · Score: 2, Funny

    UAC is annoying people into uninstalling Vista and switching to Linux and OS X. So, it's working: UAC really is improving PC security.

    For the next release, however, maybe Microsoft should be more straightforward and simply boot into a display that says "please go to www.ubuntu.com to upgrade your OS and applications".

  89. Re:Of course... And even worse... by alien_life_form · · Score: 1


    is changed with the "SET PROC/PRIV=..." command). Of course it should be designed differently.

    It should. Because I clearly remember that (after having amusedly stared at the 3/4 screenfuls of possible privileges that could be given to your process (and wondering: which are the right ones?), everybody used to type:

    SET PROC/PRIV=ALL

    Instant root.
    alf

  90. Cost to software developers by gilesjuk · · Score: 1

    Yet more hidden costs for software developers. The added burden of support staff, development etc...

    Now is the time to move your product to OSX or Linux.

    Microsoft would be better off doing what Apple did, obsoleting the old system and redesigning from scratch. Run old Windows apps under a VM or something.

  91. Never is a strong word by tepples · · Score: 1

    Well, what do you suggest? That non-administrators should be able to write and update executables that are shared by all users? Animats recommended that an installer should never be run as an administrator. I'm only explaining the ramifications of this.
  92. UAC is crap by TheLink · · Score: 4, Insightful

    UAC is actually very bad from a security viewpoint. By annoying users more than necessary (more later), all it does it makes most users turn UAC off.

    From a cynical POV, I think all UAC is for is to allow Microsoft to blame users for security problems (ah you turned UAC off - so it's YOUR fault).

    If Microsoft was really interested in security they would have done more and better sandboxing of applications.

    My suggestion is to have a manageable number of default templates for sandboxing applications. If the app is unsigned by a user-trusted entity, the user gets a pop up which tells the user what type of sandbox the application wants to run in.

    It would be far easier to train Joe Schmoe to not run a "flash game" which asks for "Full User Privileges" or even "Full System Privileges" (with all the scary warnings etc) and to only run a "flash game" that asks for a "Guest Game" sandbox. After all there is no need for most legitimate flash games to access "My Documents" or your web browser bookmarks, or even your microphone/webcam.

    The idea is even if a program wanted to do something nasty, if it is running in a sandbox, it can't, and if a program requests an unusual sandbox so that it can do something nasty, it is easier for a user to know something strange is going on.

    This would also be a lot less work than UAC. Don't need to make 10 decisions one after another when you run the app.

    There could be custom sandbox templates that are validated and signed by a mutually trusted authority. So that new apps that require fancy privileges can run in fancy sandboxes without annoying prompts that bother Joe Schmoe.

    As for Linux and OSX, they aren't really more secure than Windows, with both these OSes if Joe Schmoe is about to run something new, he doesn't even know what the program is really going to do till he runs it. It is like expecting Joe Schmoe to solve the halting problem and without him being able to read the source code either - "Is this program going to halt, or is it going to take over my computer?". So my suggestions are just as applicable to them.

    --
    1. Re:UAC is crap by clodney · · Score: 1

      And just what is the mechanism by which a program asks for a particular sandbox? That requires a change to the program, and if the developer is willing to change the program, why not just change it so it doesn't do stupid stuff (like write preferences to a file in the \program files tree) to begin with?

      Microsoft has been pushing programmers for years to get out of the mode of requiring admin access, and for the huge majority of apps out there it is nothing more complicated than changing some default directories. But because so many developers and users run as admin it doesn't happen.

      I run Vista at home and rarely get UAC prompts. When I do it is for things that I expect - trying to change firewall settings, installing new software, etc. It comes up seldom enough that I have never been tempted to turn it off, and if a UAC prompt comes up I didn't expect it would set off some major alarms in my head.

    2. Re:UAC is crap by TheLink · · Score: 1

      "And just what is the mechanism by which a program asks for a particular sandbox"

      I can think of a few, but anyway it's up to Microsoft (or Apple - who have a good track record of making devs jump through Apple Certified Hoops).

      You may think my proposal makes no sense but after how many years and lots of $$$, all people get for security is UAC? And now this guy says is was designed to be _annoying_? That makes even less sense.

      "if the developer is willing to change the program, why not just change it so it doesn't do stupid stuff (like write preferences to a file in the \program files tree) to begin with"

      You miss the point. I'm not talking about "best practices for the good guys so that their stuff plays nice with the abomination called UAC", but rather "How to make it harder for bad guys to take over systems run by Joe Sixpacks".

      With Linux/OSX, if you download a new program, you don't 100% know what the program will do. It could work as you expect. Or it could make your machine a spam spewing zombie.

      With Vista you get tons of UAC prompts, so there is a chance that a user could realize something is going wrong. But because users get tons of UAC prompts they turn off UAC. So no progress then.

      With my proposal:
      If an alleged XYZ Screensaver said "I require normal screensaver privileges", the user says OK, and the OS enforces the sandbox, the program gets to behave like screensaver, which normally does not involve making outbound SMTP connections.

      If an alleged XYZ Screensaver said "I require full network privileges", if the user goes "Uh no way!", then all is fine. If the user goes "Oh OK", then XYZ Screensaver gets to spew spam. Can't win them all.

      Still, you have a much better chance of knowing what the program really is going to do, and it'll be a lot less annoying than UAC, esp if you have a "remember this" checkbox in the pop up. Then voila no more prompts for that program, and it'll still be restricted in what it can do.

      --
    3. Re:UAC is crap by SanityInAnarchy · · Score: 1

      And just what is the mechanism by which a program asks for a particular sandbox?

      By not asking to be run outside the sandbox.

      For that matter, the rumored plans for Windows 7 are to do this the right way: Create a brand-new API, and run legacy apps in a virtual machine.

      --
      Don't thank God, thank a doctor!
    4. Re:UAC is crap by SanityInAnarchy · · Score: 1

      As for Linux and OSX, they aren't really more secure than Windows, with both these OSes if Joe Schmoe is about to run something new, he doesn't even know what the program is really going to do till he runs it.

      It is, however, everything before and after that point which makes it more secure.

      Before Joe runs this app, he downloaded and installed it via his package manager. It is, therefore, an app which has been tested thoroughly by the repository maintainers, and then built from source and cryptographically signed. Joe doesn't have to know any of this unless something goes wrong -- like when a repository maintainer does something stupid, like letting their PGP key expire without sending out a new one first.

      And when he does run the app, it's not running as admin, and therefore not causing scary prompts. It can do this because this has been the security practice on Linux since just about day 1, and there are no apps which ask for admin rights when they don't need them.

      OS X did something different -- before downloading, there is no package manager, which kind of sucks. However, after downloading, the same is true -- nothing asks for admin rights unless it needs it -- except software which predates OS X, which never asks for admin rights at all, as that software runs in a virtual machine called Classic.

      Your suggestions may apply more to OS X people, and they aren't entirely bad -- except the Flash part (Flash needs to die in a fire!) -- but they aren't as badly needed on Linux in particular, where most software is open source, thoroughly tested, and distributed through known and trusted channels. The part where you might download some random crappy shareware app off the Internet and not know whether it's infested with spyware just doesn't apply.

      I do think you're a bit naive, though:

      It would be far easier to train Joe Schmoe to not run a "flash game" which asks for "Full User Privileges" or even "Full System Privileges" (with all the scary warnings etc) and to only run a "flash game" that asks for a "Guest Game" sandbox.

      Again, Flash needs to die in a fire...

      That said, no one's going to click through a security dialog, no matter how friendly, every time they go to YouTube. The sane thing to do would be to spontaneously generate lightweight sandboxes, tear them mostly down when the app closes (user goes to another webpage), and manage the disk access as a massive cache. User only really needs to care if things start to use excessive disk space, and browsers would have a sane limit.

      --
      Don't thank God, thank a doctor!
    5. Re:UAC is crap by Allador · · Score: 1

      If Microsoft was really interested in security they would have done more and better sandboxing of applications. Nearly everything you suggest would end up in exactly the same situation we're in now.

      Because most app developers wouldnt go to the trouble to use this sandbox method. Most wouldnt even know it exists.

      The facilities available on windows are already sufficient to sandbox at whatever level you want. But it requires the app developer to participate. The problem that results in where we're at now is that most app devs dont. They dont have a clue about how windows works, or how to write an installer, or how to make an app run as non-admin.

      And they dont care.

      Your suggestion would require them to learn even more about windows new sandboxing mode. The problem is, the good devs/isv's who are willing to learn how to do it right have already done so, or are already working on it. The ones who arent, wouldnt even participate or know about your new sandbox mode.

      There are already specific and thorough guidelines and resources published about how to correctly write software for windows, and not trip over any of this stuff. If you've been doing this all along, then your software wouldnt even have to change to run on windows with no UAC prompts.
    6. Re:UAC is crap by TheLink · · Score: 1

      You're expecting users to only download stuff via package managers. That's even more fascist than the Windows world.

      With my proposal even if bad things happen to the repository, as long as the sandbox templates aren't compromised the user has a good chance of still being safe.

      "I do think you're a bit naive, though"

      "That said, no one's going to click through a security dialog, no matter how friendly, every time they go to YouTube"

      Use the "Remember this" check box then.

      Yes I didn't mention that in that post, sorry if I'm expecting too much, I was assuming people would be able to fill in the rather obvious blanks themselves before calling me naive.

      I'm not going to type in full implementation details on Slashdot.

      Anyway, it'll be safe to use that check box since the app will from then on always be in that sandbox. The youtube flash app doesn't change all the time. It's not a "Remember - run this as Admin always" checkbox which would be bad.

      --
    7. Re:UAC is crap by SanityInAnarchy · · Score: 1

      You're expecting users to only download stuff via package managers. That's even more fascist than the Windows world.

      I think you're making a false assumption about package managers.

      With my proposal even if bad things happen to the repository, as long as the sandbox templates aren't compromised the user has a good chance of still being safe.

      What is the mechanism protecting the "sandbox templates"? And why is that mechanism more secure than a repository?

      Use the "Remember this" check box then.

      Remember it for what -- YouTube? Or for everything?

      It's not a "Remember - run this as Admin always" checkbox which would be bad.

      See, that's the problem -- exactly what does it remember? I'm sorry if it's not obvious to me how this magical checkbox could read your mind to figure out whether you want to remember just that website at that sandbox, or all websites at that sandbox, or all websites in all sandboxes, etc.

      I'm not asking for full implementation details, but maybe at least a fully-formed idea, instead of handwaving.

      --
      Don't thank God, thank a doctor!
    8. Re:UAC is crap by TheLink · · Score: 1

      Fill in the blanks yourself, it's not that hard.

      The hard part is the "right" amount of backward compatibility you want to keep (which is why I think Apple has a good chance of doing it).

      --
  93. Microsoft Designed UAC to Annoy Users by Anonymous Coward · · Score: 1, Funny

    So? They want a prize for creating something that works as planned?

  94. Re:you, my friend, made an incorrect assumption... by TheRaven64 · · Score: 1
    Users can't elevate their privilege using sudo. Sudo can elevate users' privilege. It's an important distinction. The sudo program has the setuid bit set and so it always runs as its owner, rather than its user. Since its owner is root, it runs as root. It then makes a decision to elevate privileges based on the password the user entered and the contents of its config file.

    In some respects, this is a good design. There is a clear separation of policy and mechanism, for example. The kernel provides the mechanism for elevating privilege and sudo provides the policy. The down side is that sudo violates the principle of minimum privilege - in order to be able to switch between two very low-privileged users you need to go via a highly-privileged user (root), and a few privilege escalation vulnerabilities in sudo have shown that this is a slight problem.

    --
    I am TheRaven on Soylent News
  95. Installation privileges by AlpineR · · Score: 1

    The real WTF is that so much Linux and UNIX software still requires root permission and mucking around with system directories.

  96. Re:you, my friend, made an incorrect assumption... by PopeRatzo · · Score: 1

    Hal,

    You're right. I use Windows XP every day of my life and it's a very good product.

    I want to like Microsoft, really I do. I was so happy with XP in fact, that I tried Windows Vista when it came out and I got ripped off for a few hundred bucks because it was so awful I had to remove it from my new computer and go buy another copy of XP. In fact, I wish I could recoup some of my losses by selling my Vista to another sucker, but Microsoft won't let me do that.

    My dad bought Chevrolets every 4 years for all his adult life. Was it any better than a Ford or Chrysler? How could Microsoft have squandered the possibility for brand loyalty the way they have?

    Now, they only stay alive by sheer force of size.

    --
    You are welcome on my lawn.
  97. Re:you, my friend, made an incorrect assumption... by Anonymous Coward · · Score: 0

    Better for what though? Ever tried playing your latest and greatest FPS on Linux? or a Mac for that matter? You probably had to shell out for a X-Box to play them on, making you a MS whore like everyone else.

    In the end it just doesn't matter what OS you use as long as it works for you. The OS is a means to an end, not an end in itself. You can't make people use linux anymore than you can make them worship your favourite god.

    The trouble with the OS community these days is that there is too much teen angst around, with extra helpings of spoiltness. "Why should we have to pay for anything? We're entitled to everything for free! Wah!". How much have you contributed to the kernel? Have many mouths do you have to feed? Out here in the real world you need money to pay for goods and services. Like food and rent. Free software is great, but except in certain circumstances (ie where every user is highly technical) it's always going to play second fiddle to paid for software, simply because people need to make a living. Almost all the OS software out there that is dominant in it's market (apache, GNU, etc) was coded largely by academics who didn't need to worry where the next pay cheque came from (or in the case of ubuntu, multi-millionaires who also don't need to worry about putting food on the table). Everyone who tries to make a mainstream linux distro is going to have to make money out of it a some point as they have to pay people to maintain it (cf Redhat). It remains to be seen how ubuntu is going to fund itself in the long run. They're being very secretive but presumably Canonical, as it has no source of income (who's paying for ubuntu user support?), is being funded entirely out of Shuttleworth's pocket. Anyway, enough ranting. Open your mind.

  98. Re:you, my friend, made an incorrect assumption... by timmarhy · · Score: 1

    LOL don't any of you DARE start trying to bag people's coding skills just because they write windows programs.... I could almost pick OSS projects at random and give you examples of horrible coding. you don't want to start that argument believe me.

    --
    If you mod me down, I will become more powerful than you can imagine....
  99. Microsoft didn't need UAC by Austin+Milbarge · · Score: 1

    Windows XP has a feature called the Limited Account. The problem with it is that it's a bit flakey. The "Run As" option works fine. All Microsoft had to do was improve on Limited Accounts by making them more flexible. Instead they went berzerk and created a whole new security feature that wasn't necessary and that's what annoys people.

  100. UAC is a blame shifting tool by Opportunist · · Score: 4, Insightful

    What you mention is exactly what is desired.

    UAC nags you for every little piece of rubbish. 99.999% of those requests are ok. Well, not ok, if programmers would not require godmode for every stupid little setup change... but they're not harmful. It's the other 0.001% that matter.

    Now, the average user turns off UAC. For a simple reason: Imagine some tool you don't know much besides operating it asks you "The futzgrabber in the argamajig wants to mirfl. Cancel or allow?" What do you do? After some try and error, you learn that the thing does what you want when you click allow. You start wondering why the heck you have to click allow. And the next logic step is to turn the pointless thing off altogether.

    And here's where the tool works as designed. Because if you get infected, MS can just shrug and say "Hey, we gave you the tool to avoid it. See, UAC would have told you this wants to do something bad, but you turned UAC off. Your fault."

    Instead of finding a way to give the user a secure system, MS just shifted the blame. You can't blame Windows now anymore if you get infected. It has a tool that would have told you you're going to get infected, but you turned it off. Shift the blame for the infection to the user, away from the system. That's all UAC is about.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:UAC is a blame shifting tool by Crayon+Kid · · Score: 4, Insightful

      Now, the average user turns off UAC. For a simple reason: Imagine some tool you don't know much besides operating it asks you "The futzgrabber in the argamajig wants to mirfl. Cancel or allow?"
      Giving the users some credit (ie. "it helps protect the computer"), I think the reason is simpler than that. Removing UAC is the most obvious solution to the problem (extreme UAC annoyance).

      Let me offer another example: if Linda from Accounting makes for 75% of my daily tech support problems, the most obvious solution for that is not replacing all 2nd floor printers, rewiring Accounting and reinstalling her Windows. It's eliminating Linda.
      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
    2. Re:UAC is a blame shifting tool by Opportunist · · Score: 3, Insightful

      But when you tell that to her boss, who is shagging her on a weekly base, it's you who gets eliminated and replaced by someone who stomachs her calls, so your boss continues to get laid.

      Be wary when trying to eliminate someone who is obviously a moron, chances are good that he or she still has his or her job for a very good, non-work related reason.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    3. Re:UAC is a blame shifting tool by Allador · · Score: 4, Insightful

      UAC nags you for every little piece of rubbish. 99.999% of those requests are ok. By definition, if UAC is nagging you, then its not OK. Either you're purposefully doing something that prompts the system (ie, everything is OK), or some software you're using is doing something bad. Writing user preferences in C:\Program Files\DumbAssApp\prefs.ini is not okay.

      The problem is that the bulk of the 3rd party software developers in the ecosystem use practices that violate the published guidelines and best-practices for the platform, and often use techniques that are indistinguishable from malware.

      Instead of finding a way to give the user a secure system, MS just shifted the blame. You kind of argued yourself in a circle there.

      Alot of hand waving about how bad UAC is, it maligns the users, etc etc. And then 'something should be done about it', but no substantive suggestions along those lines.

      Propose a valid alternative that doesnt involve time travel, and your argument might have some weight.

      And whats this stuff about 'blame'? There's no blame, just costs. How would you suggest Microsoft makes incompetent 3rd party developers pay the cost for their sloppy code writing without involving the user in any way?

      What MS has done here is to force the costs of sloppy coding by 3rd party developers to become visible, whereas prior to UAC, if you didnt run as non-admin, you never saw those costs. They were invisibile. MS just made them visible. So now users are bearing the costs of sloppy coding by 3rd party developers, in the hope that the pressure will then be passed on to these devs.

      Unfortunately, MS doesnt have any direct relationship with these vendors, there's no place to have leverage, to make the 3rd party devs do 'the right thing'.

      Overall, it sounds to me like you're just posting here to join in the 'look how much Micro$oft is teh suck' bandwagon, but without actually contributing anything to the conversation. Suggest an alternative thats more substantive than 'something should be done'.

    4. Re:UAC is a blame shifting tool by alien_life_form · · Score: 1
      Greetings.

      [...]
      The problem is that the bulk of the 3rd party software developers in the ecosystem use practices that violate the published guidelines and best-practices for the platform, and often use techniques that are indistinguishable from malware. And of course the problem with dried peas is that babies will stick them up their noses. So you don't give dried peas to babies.

      Making unreasonable assumptions on your user base is a design flaw that cannot really be patched by saying "users are stupid lusers" and "3d party developers are lazy, irresponsible scum" (that's the blame shifting bit, methinks).

      Assuming that all developers would acquire intimate knowledge with an overengineered and horribly complex security architecture such as windows' was *NOT* realistic (we all do religiously read every system manual back to cover, right?).

      That does not even begin to address the fact that the security architecture itself (and the associated guidelines) kept shifting from release to release (for example bit renaming quite a few system accounts during win2k->XP), making it even more a headache (no doubt somebody is going to point out that all that happened years ago, which is true, but, guess what, things have this way of sticking around... and past behavior DOES matter).

      And (since you're gonna ask) my recipe for fostering security compliance would be a drastic semplification of the security model and associated guidelines. Make it so easy even somebody with an IQ of gravel can comply. Sure, this requires a deep OS makeover, but that's what Vista was for, right? What about windows 7?

      In the meantime, everybody is learning to click "yes" on the UAC dialog real quick. Unless somebody writes an installer that disables it as as ide effect (it would not surprise me in the least).

      Cheers,
      alf
    5. Re:UAC is a blame shifting tool by Allador · · Score: 1

      And of course the problem with dried peas is that babies will stick them up their noses. So you don't give dried peas to babies. Babies and professional software developers are different things, and its reasonable to have different expectations from them.

      users are stupid lusers That was not something you quoted from me, either from my words or intent.

      3d party developers are lazy, irresponsible scum That, on the other hand, is true a surprisingly large percentage of the time.

      Assuming that all developers would acquire intimate knowledge with an overengineered and horribly complex security architecture such as windows' was *NOT* realistic (we all do religiously read every system manual back to cover, right?). You make it sound like its some sort of zen mysticism. It's not really that complicated. Dont assume your users will be admins. Dont write app or user settings to Program Files. Thats a big chunk of it right there.

      When you're going to work on a car, you get the shop manual. When you're going to build a bridge, you get an engineering education. When you're going to write software on a platform, you learn enough about the platform to make sure that the software works properly. This is not terribly complicated stuff.

      That does not even begin to address the fact that the security architecture itself (and the associated guidelines) kept shifting from release to release (for example bit renaming quite a few system accounts during win2k->XP), making it even more a headache The security 'architecture' didnt change. Some small details about the security systems changed. The basics have been the same since the NT4 days. With every new release of Windows, MS creates significant resources for whats changed for developers, and guidance around what you need to change, if anything. This is all well published information.

      Even with the switch to Vista. If you followed all the guidance in the logo program for XP, then your apps would work perfectly in Vista, with no changes, and no UAC popups (except for the installer, of course). ...

      Overall, its just not as hard or complicated as you make it sound. Sure it requires that you do some reading, and get up to speed at least minimally on the underlying platform. But thats true of all systems.

      You seem to be suggesting that someone should be able to write software that works on a platform without having any knowledge of the platform. Thats just silly.

    6. Re:UAC is a blame shifting tool by alien_life_form · · Score: 1

      And of course the problem with dried peas is that babies will stick them up their noses. So you don't give dried peas to babies. Babies and professional software developers are different things, and its reasonable to have different expectations from them. Metaphors should not be stretched beyond their limits ... I'm sure you had caught my drift.

      Overall, its just not as hard or complicated as you make it sound.
      [...]
      You seem to be suggesting that someone should be able to write software that works on a platform without having any knowledge of the platform. Thats just silly. Look, you and I may argue 'til the cows come home about how complicated the thing is. I think it's a horrible, mad jumble, you think it's rational design, basically easy as eating cake, and nothing's gonna change it.

      However, thousands of developers (developers developers developers: the same folks that made MS big and successful) have, over the years, voted with their keyboards to give an extremely wide berth to the whole winsecurity shebang. No amount of name calling (e.g. lazy scum), or UAC, is going to make *THAT* go away.

      The UAC is living proof that the windows security model is way too complex for its audience (when historians need to assess the prevalence of a crime in a certain period, they look for laws forbidding it). This is what I call a (serious) design flaw. But you are welcome to call it George, if it makes you feel better.

      Cheers,
      alf

    7. Re:UAC is a blame shifting tool by Allador · · Score: 1
      At the risk of dragging this conversation out to a ridiculous point ....

      I dont think the Windows architecture is simple and easy. I just think, if this is what you do for a living, then its very doable. It takes some reading, and some experience. But if you're going to publish/sell software for that platform, then you need to take the time to figure out what you're doing.

      And also note that you're one who came up with the words 'lazy scum'. :) My business is one of those ISVs, but I've taken the time to make sure that my software works well on windows (since our software will run on windows). The installer works, I dont store information in the registry (other than one dependent library that needs to be registered with COM), and the app is self repairing. And it works as a non-admin user. Without UAC popups.

      And I didnt have to make ANY changes for it to do so on Vista. It was designed correctly, and so it 'just worked'.

      This kind of thing is not beyond the reach of your average developer. I'm no super-guru or anything, far from it.

      The UAC is living proof that the windows security model is way too complex for its audience This I dont understand. At this point, all of the mainstream desktop operating systems have some variation of this. gksudo, uac, whatever the heck kde calls it, the password popup in OSX, etc.

      There are some implementation differences, but its basically the same thing. If thats proof that the windows security model, then every security model in mainstream OSs are also broken. What triggers UAC most is violation of file system acls. All operating systems have them, in one flavor or another. Things like UAC and sudo are one of the ways to get around them.
    8. Re:UAC is a blame shifting tool by Anonymous Coward · · Score: 0

      Mod parent +1, Cynical (or is it -1, Cynical?) ;-)

    9. Re:UAC is a blame shifting tool by Crayon+Kid · · Score: 1

      I meant strangle her. The boss can shag the carcass all he wants. At least she'll be quiet.

      --
      i ate crayons when i was a kid and now i have two braincells and the blue ones taste nicer
  101. Missing tag... by Anonymous Coward · · Score: 0

    Where is the "defectivebydesign" tag when you need it?

    And why would M$ have to go through its users to get software developers to do what it wants? Also, isn't it a flaw in the OS when there is any need for permissions whatsoever? There should be a set of low-level permissions available for software. Everything else (root access level) should be restricted, only used when absolutely essential.

    I also recall having software installed that needed M$ dot net in order to function. But that dot net stuff for some reason needed all kinds of special permissions and even resulted in a new user account being created just for that. So isn't this a case of the pot calling the kettle black?

    Clippy: I see you are getting fed up with all these dialogs. Would you like to: a) call up the software developers to complain about this or b) just keep plodding along and force M$ to actually work on this?

  102. How about starting with Microsoft? by argent · · Score: 2, Interesting

    The biggest privilege level violation problem in Windows is the fact that there's even a mechanism to allow privilege elevation in the HTML control.

    If Microsoft wants to eliminate privilege elevation, they need to start by scrapping ActiveX.

  103. Let's not make things more complex than necessary by Anonymous Coward · · Score: 0

    The second reason is convenience features -- instead of making the user write <p><a href="http://slashdot.org/~evanbd">evanbd</a> said:</p><blockquote><p>It's a web site. You use HTML.</p></blockquote>, you can just have them write [quote=evanbd]It's a web site. You use HTML.[/quote], and the parser will convert that intelligently into valid HTML. If you decide down the line that you want to change the code that's outputted for whatever reason, all you need to do is change the application logic and clear out the caches.

    Well, let's make your two outputs equivalent first --- the BBCode example does not contain the link to evanbd's page (it simply prepends "evanbd said"), whereas your HTML example does, and your BBCode example includes evanbd's quote within the quote itself, not outside of it like your HTML example does. Furthermore, you don't need to embed a new paragraph within a blockquote. So really, the markups should be:

    <blockquote>evanbd said:<br />It's a web site. You use HTML.</blockquote>

    vs.

    [quote=evanbd]It's a web site. You use HTML.[/quote]

    The fixed HTML produces the following output:

    evanbd said:
    It's a web site. You use HTML.

    I threw in the <br /> for some visual similarity, but it's certainly not necessary. As you can see, the differences are fairly minimal.

    And to be fair to the poster, before this new comment system, Slashdot used to say below the post box what HTML could be used.

    Try clicking the small link to the "old form" --- the tags are still there.

  104. Here's an idea by StarfishOne · · Score: 2, Interesting

    Just like Apple, Microsoft should be smart for the following version of Windows. If they want to break with previous versions anyway, they should just pick an existing *nix foundations and write their won GUI on top of that. It would really make the world much better IMHO.

  105. lame by Anonymous Coward · · Score: 0

    What about designing an OS that's really secure in the first place instead of implementing this poor system.

  106. Re:you, my friend, made an incorrect assumption... by drsmithy · · Score: 1

    It's fine to blame "windows programmers" for the pop-ups that plague vista but in my experience (20yrs) most proffesional developers are also "*nix programmers". Conditional compilation and a lot more testing is the price one pays for supporting a diverse range of O/S's.

    And still it doesn't help. Doom 3, available for both Windows and Linux, ostensibly needs to run as Administrator in Windows.

    Why does it need to run as Administrator ? Simply because it attempts to write to a config file located in the %PROGRAMFILES%\Doom 3 directory. Make that one file (which shouldn't even be there in the first place) r/w and Doom 3 works fine from a regular user account.

  107. barn door left open so lets slow down the cows by Locutus · · Score: 1

    since they can't figure out how to actually do a good job at locking down the system, they've decided it's a good idea to put spike-strips all over the place to slow down those running around. And they want the user to help do the work of clearing the spike-strips.

    I can't wait until someone figures out how to automate the "ok" clicking of any and all UAC dialogs.

    This is just going to further desensitize Windows users to informational dialog boxes. Most noob Windows users I've seen just click OK without reading what the box says. They already don't understand 90% of what they are doing so clicking OK seems to make them feel like they are doing the right thing.

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  108. Office 2000 has LUA bugs by DragonHawk · · Score: 1

    Application designed following guidelines of win95 (e.g. Office) will work properly in Vista and will not even require folder/registry virtualization Office 2000 has LUA (Limited User Account) bugs in it. The details are in my notes at work, but I remember one of them is if the "Photo Editor" application. If it can't write to HKEY_LOCAL_MACHINE\something\or\other, it can't open any files.

    MSKB 260151 has details. I particularly like this gem from that KB article:

    Microsoft Photo Editor is a minor auxiliary application that does not meet the requirements of the Windows 2000 Logo compliant program. Core Microsoft Office applications do not depend on this application for their functionality. In other words, Office fails the Windows 2000 Logo requirements, but Microsoft gave it approval anyway. One nice thing about being the one making the rules is that one can also make your own exceptions.
    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
  109. CD-R Daoism by tepples · · Score: 1

    Also... what if *I'm* the owner of the disc, and not the admin? As I understand the current architecture, the admin is the owner of the drive on a shared machine, and it's also the admin's job to authenticate you as the owner of the disc.

    Please note, K3b (using distro defaults, generally) does not require you to run as root to burn a CD/DVD. Google found this ubuntu forum post, which appears to imply that k3b uses cdrdao as its back end. So I guess that a distro configured as a workstation can just grant admin credentials to cdrdao (chmod +s /usr/bin/cdrdao) if not a lot of people will be logging in remotely.
    1. Re:CD-R Daoism by colinrichardday · · Score: 1

      As I understand the current architecture, the admin is the owner of the drive on a shared machine, and it's also the admin's job to authenticate you as the owner of the disc.

      You can only write to the media, not the drive. And why is it the admin's job to authenticate you as the owner of the disc? If you have physical access to the disc, you could destroy it very easily without burning it. Does the admin have to stop me from keying a CD without the owner's permission?

    2. Re:CD-R Daoism by tepples · · Score: 1

      You can only write to the media, not the drive. But you can't write to the media without a drive.

      And why is it the admin's job to authenticate you as the owner of the disc? So that the admin can bill you for use of the drive. Or so that a user logged in from across the world can't race the user at the console to the start button.
    3. Re:CD-R Daoism by colinrichardday · · Score: 1

      People actually pay to use CD-ROM drives?

      Also, why would a nonlocal user need to access the drive? And hey, I've caused a race condition on an optical drive all by myself, without any help from faraway users.

    4. Re:CD-R Daoism by tepples · · Score: 1

      People actually pay to use CD-ROM drives? Yes. For example, people at the photo kiosk pay to get photos copied from a camera's SD card to a CD-R.

      Also, why would a nonlocal user need to access the drive? They don't; that's the point of such authentication. Showing that you know an administrative password approximates showing that you are physically present and authorized by the computer's owner. Yes, I know this approximation is not airtight, but on a server, it's pretty close. Who other than an admin uses a server locally?
  110. The UAC API sucks: A 'sudo' for Cygwin story. by TerranFury · · Score: 1

    The UAC API is a horrible piece of junk. Here's what happened one day when I tried writing a Vista sudo for Cygwin, once upon a time...

    Backstory first:

    I was used to running Cygwin on XP, which I like very much (and think is a great combination for getting stuff done). When I got a laptop with Vista, I found that a lot of the GNU tools on Cygwin simply wouldn't work if UAC was on; they simply returned an error, something like, "Permission denied." I wouldn't have minded if the programs had triggered a UAC elevation; I'd have seen that as akin to sudo. But instead, they just flat-out failed.

    It seems that programs on Vista do not automatically raise UAC when they attempt to do something that requires elevated privileges. So I asked, "Can I make a program -- I'll call it 'sudo' -- that triggers UAC and then runs another program with the elevated privileges?"

    It turns out that the answer is "not really." (I know scripts exist that people call 'sudo for Vista,' but they don't do quite what I wanted; I'll get to that in a second). (EDIT: it may actually be possible, through a somewhat convoluted process involving a number of different EXEs and DLLs with appropriate manifests. I'll get to that at the end. But it's certainly not something provided in any sane way by the API.)

    The best way to explain my goals for a Cygwin 'sudo' is with a simple example:

    Suppose I attempted the following:

    cd /cygdrive/c/Program\ Files/ # Some protected directory
    mv a.txt b.txt
    Error: Permission Denied

    I would want to be able to instead do,

    cd /cygdrive/c/Program\ Files/ # Some protected directory
    sudo mv a.txt b.txt
    #***Vista UAC Prompt pops up; I click OK.***
    # (file has been successfully moved)

    This seems useful, no? It would be a way to keep UAC, yet also use the commandline tools it currently cripples.

    Now, as I mentioned before, there do exist various scripts calling themselves 'sudo for Vista,' but none of them really achieve the above. Here's why: Rather than running mv in the same terminal, they pop up another terminal on top running mv. This sort of does what you want, but not quite -- and subtly breaks a lot of things: For a simple-if-not-compelling example, it's impossible with this scheme to run one program with "sudo" and pipe its output to an un-elevated program (one run without sudo).

    At the heart of the problem is the fact that, at the end of the day, there is only one nice way to get UAC out of Vista, and it is a most inflexible one: The ShellExecuteEx() function -- essentially, this is what gets called when you double-click on something in Explorer.

    That's a slight oversimplification: There are some other obnoxious hoops you can jump through to get UAC [changing manifests (What's up with that? Tell me how to do that with gcc.), some COM garbage, or simply -- and this is a little silly -- including the word 'setup' or 'install' in your executable's filename], but as far as I could tell they all take you to roughly the same place.

    (EDIT: It turns out that there might be just enough wiggle-room to get slightly different results from these different approaches.)

    Eventually, frustrated, I gave up.

    My conclusion was that the Vista UAC API was a horrible piece of garbage, as this sort of thing is not terribly difficult to achieve on Linux.

    EDIT: It seems that, since that day, someone else may have succeeded where I failed. I'll need to try out his solution myself before I can be completely sure that it's what I want, but what I see looks very good. If so, then the author -- Thomas Hruska -- deserves kudos for figuring out a very clever workaround. But I think the very fact that such a workaround is necessary at all merely reinforces my original point that the UAC API is a steaming mess.

  111. Inside UAC by DragonHawk · · Score: 1

    with UAC, even root has to sudo That's not far off. What happens is that at logon, privileged users get multiple security tokens created for their session. (A security token contains all the details of a user's security identifications and privileges.) Most things run using the "filtered token", which has system privileges removed. When a system operation needs to be done, a separate process running on a separate desktop ("station") prompts for confirmation. (It takes a screenshot of the regular desktop and fades it to give you the impression that it's just another window.) The system operation then runs with a different security token.

    UAC does seem to allow for some sudo-like functionality with UAC. If an unprivileged account tries to do something, they get prompted for credentials (username/password). An admin can then elevate that operation to a privileged account, without having to explicitly start a separate session with RUNAS. Too bad that's not available in XP, because I'm not moving to Vista any time soon.

    Mark Russinovich, of SysInternals fame, wrote a really good article on how UAC actually works internally. Recommended for those interested. "Inside Windows Vista User Account Control", TechNet.

    As far as the user experience goes, I liken it to the way Ubuntu does things: The account you use for normal operations prompts you before performing system actions. They're just implemented totally different. In Ubuntu, you run with a regular *nix user account, and it uses sudo-to-root for the system actions. The root account is nominally not used for interactive logon.

    I find the *nix method cleaner. But then, Microsoft is trying to provide backwards compatibility. I'd might be willing to buy that as an excuse, except for the fact that Vista broke so much other stuff. Clearly, backwards compatibility is only sometimes important to Microsoft.
    --

    dragonhawk@iname.microsoft.com
    I do not like Microsoft. Remove them from my email address.
    1. Re:Inside UAC by Z34107 · · Score: 1

      Interesting! I should start looking at technet again...

      --
      DATABASE WOW WOW
  112. I turned UAC off by Ranger · · Score: 1

    Now it annoys me by warning that I turned it off.

    But that's far less annoying than pissing me off every time I try to do something. I also turned off the special effects and Windows Defender. I XP-ified my new laptop as much as possible and it makes Vista usable. It's a lot slower in acquiring a wifi connection than XP.

    --
    "You'll get nothing, and you'll like it!"
  113. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  114. thank you microsoft by kris.montpetit · · Score: 1

    for yet another demonstration of just how backwards your logic really is

  115. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  116. ...What? by SanityInAnarchy · · Score: 1

    Let's compare. In HTML:

    <a href="http://example.com/rick_astley">get rick rolled</a>

    And in BBCode:

    [url=http://example.com/rick_astley]get rick rolled[/url]

    It saves you a grand total of three characters. It is arguably more intuitive, at the expense of meaning that someone coming from BBCode won't necessarily understand HTML -- and HTML is actually a web standard. And the fact that every forum seems to use its own markup makes it even worse.

    You know what I think? I think BBCode was invented because at some point, someone found it easier to create a parser of something entirely different (and escape out anything HTML-ish) than to simply enforce a subset of HTML. The fact that the second link from Google (after Wikipedia) on a search for bbcode takes me to phpbb is kind of a dead giveaway that it was some lazy PHP coding.

    Besides, there are even simpler syntaxes out there, if ease of use or ease of typing was the goal. There's WYSIWYG editors for HTML, there's Markdown, Haml, and more. If I wanted to save people from the horrible complexity of HTML, bbcode would be about dead last on my list.

    --
    Don't thank God, thank a doctor!
  117. Race condition by tepples · · Score: 1

    Imagine I log in remotely to your linux box. Now please explain to me how I get the CDR into the drive. By waiting for me to do so. Say you know when I typically put a CD-R into the drive to make a weekly backup. So between when I put the disc in and when I click record, you click record yourself.
  118. What explains Windows 98 then? by tepples · · Score: 1

    Oh, come on.... My Win95 PC was a P120, and it could run Windows just fine with privilege separation. Considering the "Funny" you got, I have to assume you're kidding. Then I have to assume Microsoft engineers were kidding when they released Windows 98 and especially Windows Me instead of hypothetical home editions of NT 4 and Windows 2000. It took years of Moore doublings until Microsoft felt ready to unleash Windows XP (with NT 5.1) on the masses.
  119. Privileges + GUI + applications? by tepples · · Score: 1

    I had compiled Linux from floppy on to a 386 and a 486 to use a work station to access to VAXs in the lab. Hand compiled X-Win on top of that. It ran fine. So yes, PCs clearly had enough RAM and CPU power to run "enforce proper privilege separation". So you were using your PC as an X terminal and running applications on a different computer. Windows 95 came out in August 1995, before DSL was widely deployed, and I don't think the 14.4 kbps modems that were common in the Windows 95 era were fast enough to make X from home enjoyable. Even if so, it would have been a big jump from running apps on one's own computer to running apps on someone else's computer. . So let me re-rephrase: "In the era of Windows 95, home PCs weren't considered to have enough CPU and RAM to enforce proper privilege separation while running a graphical user interface and non-trivial applications."
    1. Re:Privileges + GUI + applications? by Auckerman · · Score: 1

      I'm not sure what you define as non-trivial applications. These old machines were doing MORE than win 3.1 for workgroups and than win 95, on the same hardware. The reason I installed linux on the things was to make them useful again. Originally, it was to make them xterms. As time went on, we jobs on them, might as well. You under estimate what older machines can do.

      --

      Burn Hollywood Burn
  120. Re:you, my friend, made an incorrect assumption... by Allador · · Score: 1

    So were you just making up random words in the hope of sounding informed? Or did you just get a little confused.

    The teardrop attack has absolutely nothing to do with what you're talking about.

    I think what you were probably trying to reference was a Shatter Attack.

    Even this wasnt quite as simple or prevalant as you describe. And the whole class of attacks of which the Shatter Attack was one is eliminated in Vista by core changes to the windowing system.

    Please make sure you're fully educated and knowledgeable about a subject before coming in here and spouting off as if you know what you were talking about.

  121. Re:you, my friend, made an incorrect assumption... by DaedalusHKX · · Score: 1

    You got me there... well said.

    By the same token, given that some of the older virus hits still work in XP, with minor updates, even though there was an "architecture change", leads me to wonder if a slight modification to such a virus would not make it "vista compatible" ? Hell, Sub7 still works today. That's either a technical feat on the part of the sub7 crowd, or it is a total and dysmal failure of the windows people to keep up with vulns, especially the kind that would be critical if implemented by a hostile individual in a critical IT environment (banking, military, research, hospitals, etc?).

    If anything, I recall that MS has a tendency to not even really fix things when their customers are hurting... there's a reason I gave up on IT work. I valued my sanity. That and I don't like lying to customers that their problem is someone else's fault. Its their fault for buying products aimed at the lowest common denominator of user ability and intelligence.

    At this point I don't have to worry anymore and use some bullshit excuse like "its those evil virus writers' fault" or "Microsoft will fix it soon"... or "you probably weren't up to date on patches".

    The main flaws of Windows, is that they were operating systems marketed to the lowest common denominator in intellect, and fairly high end hardware that was affordable at the time. If it had not been for the gaming and hardware geeks (think the last generation of hardware overclockers, back when dip switches on boards were still common), and for the hard core gamers, I'm willing to believe that the hardware race would never have taken off like it did.

    Frankly I may well have forgotten what the attack was called, per se, you may be right and so might that wiki entry you pointed to. All I know is that walking away from windows IT has done wonders for my sanity. Lying to customers as a company policy is definitely not the way I prefer to do business, but working for someone else ends up costing dearly when the company line is "windows is good, and you need it". For office work, windows is a joke. For gaming, sure, its great... but gaming is the only reason I would even consider still using windows. Other than gaming, I have no reason to touch it, not even with a ten foot pole. Your mileage, however, may vary.

    --
    " What luck for rulers that men do not think" - Adolf Hitler
  122. MicroSoft purposely annoys users by whitehatlurker · · Score: 1
    --
    .. paranoid crackpot leftover from the days of Amiga.
  123. XBox by bill_mcgonigle · · Score: 2, Funny

    Shift the blame for the infection to the user, away from the system. That's all UAC is about.

    Yes, and once everybody declares Vista too difficult to use and administer, Microsoft will have an alternative for you.

    Since I wrote that essay last year, Office Live has become real(-ish).

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  124. Re:you, my friend, made an incorrect assumption... by Hal_Porter · · Score: 1

    But people aren't paying for something they could get 'for free'. Windows is a very different thing to Linux. Go read The Old New Thing for why in detail. Raymond Chen describes a mindset - that new releases of the OS should support old software even if it is buggy, that software interfaces are contracts that should not be broken, and that software designers should make choices for their users rather that presenting them with a load of questions they cannot possibly answer. That's completely missing in the 'free software' world. I've installed Linux a couple of times, fiddled around for a couple of weeks until all the bits of my PC more or less work. But they never work as well as they did in Windows. Eventually I end up nuking it and reinstalling Windows because the Linux 'equivalent' of some Windows applications I use all the time is completely amateurish and user hostile.

    And they are not paying very much. Suppose I buy a laptop for $1500. It comes with a copy of Windows which costs say $50 to the PC vendor (I read an article somewhere that estimated the cost of Windows to Dell was $50). But the PC vendor will install a load of trialware on it that I need to uninstall. My guess is that they get paid a kickback for doing that because a percentage of people will buy it at the end of the trial. So the effective cost of Windows is probably less. Under $50 every time I buy a new PC every three years is not a lot of money. Hell I'd pay a lot more to avoid the dreaded Linux fault threshold if I had to.

    --
    echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
  125. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  126. Re:you, my friend, made an incorrect assumption... by Anonymous Coward · · Score: 0

    Insightful!!! Fucking hell, slashdot needs to invent a new moderation system, one where jerks are prevented from moderating.

  127. Did you forget NT? by heybo · · Score: 1

    Did you forget about NT? 3.51 was around during the Win 3.1 days and NT4 was around during the Win95 days. All ran on the same hardware, NT just needed a bit more RAM to work well.

    Windows was designed for a PC (Personal Computer) which in the beginning the only network it used was "Sneaker Net" and a floppy. They had no NIC cards so in Microsoft's weak minds there was no need for security except for locking the room the PC was in. Actually what you are looking at Slashdot with is not a PC but a "Network Workstation". Herein lies the problem using an operating system that is designed so that its security depends on a locked physical door on an open network. Open networks go right around the physical door through the wall.

    UNIX and all its family (Linux, BSD, OSX, Solaris) were designed from the start to be a networked operating system so ACL's and user controls were built in from the start.

    NT was built to be a networked operating system and had a decent security model. Some said that it was too clunky because you had to set user permissions, users where set up as "Users" and not Administrators so in order to Admin the box you had to log out of your user account and log in as Administrator. (Gee what a novel idea!) So in XPee they used the NT kernel and threw away a decent security model for "Ease of Use" so that people that are either to lazy or too stupid to learn how to use a computer can use one.

    Yes they built the UAC to annoy users but it has nothing to do with developers and their code. It is to annoy users to the point they turn it off and then the user is responsible and not Microsoft when the machine gets 0wned. A simple fix to a problem. Shift the blame. You have to remember Microsoft's own development application VS compiles dll's to the system directory to where your app must run in "God mode" for you. Developers are not really to blame as much as the platform they are using to develop with.

    I'm glad I don't have to put up with such sh_t anymore.

  128. well done by SendBot · · Score: 1

    I lose nothing from this. I'm glad you came out of windows repair work unscathed with profit! - good stories :)
  129. Fundamentally wrong security model by TerraHertz_original · · Score: 1

    I can't help thinking that there's something fundamentally wrong with this whole approach to PC security.

    Now, as far as I'm concerned, all my PCs are extensions of my own mind. No one else is going to be using them, and it's MY responsibility to ensure that code I don't permit never runs on them.

    This implies several things, all of which are contradictory to 'how it's done' at the moment:
    * There should never, ever, be any 'active executables' that must run on the PC as part of net browsing or any other activity. Flash, Java, active agents, dynamic plugins, etc - all are a bad idea. Nothing should come in but passive data, that applications already on the PC (by my permission) parse to display.
    * Anything that IS installed on the PC should have full access to all PC resources. I don't set varying 'permission levels' to different parts of my own mind, and shouldn't have to put up with this shit on my PC either. At the moment the brain-computer link is so primitive (keyboard-screen) that the incompatible approaches are still workable. As technology advances, this will cease to be so.
    * The whole 'permissions' ideology inevitably leads to the kind of DRM insanity that has started with Vista and 'secure computing/trusted computing', and will only get worse (if Microsoft has anything to do with it.) When one considers the computer as an extension of one's own mind, then such DRM bullshit equates to mind control. Which is probably where Microsoft would like to go next.
    * The right security model for personal computing, is something more like a perimeter fence. Anything outside the fence is considered hostile. Anything let through the gate is going to have to undergo a very thorough checking out (such as being required to have all executable code in some plain text interpretable form, that can be scanned for nasties). Once inside the fence and OK'd, it is 'part of you' and has the same access to everything as you do.
    * Just as your mind has introspection, a conscience, that monitors what you do, PCs need a hardware means to continuously and invulnerably monitor the computer's activities, and throw an emergency halt if something stupid is happening. Some kind of secondary CPU and firmware that acts a bit like a continuous tracer and profiler, and which can't be corrupted by the main processor's actions.

    In other words, dispense with ALL the annoyances of internal security, and rely on perimeter executable exclusion, backups and self-activity monitoring to catch and recover from any hostile or faulty internal code operation.

    Note that any kind of DRM management would be impossible in such a model. GOOD!
    But that is why TPTB will not develop such an OS.

  130. "same-desktop mode," eh? by Anonymous Coward · · Score: 0

    You can configure to be like that with group policy. The official reason for the current default was that no ordinary process should be able to interfere with user input or fake the UI (i.e. showing some other always-on-top window with a different text that moves away just before the click etc etc). If you can accept that, just turn UAC into "same-desktop" mode, while not turning it off completely.

    Funny... after a whole bunch of Web searching, I have found exactly one reference to "same-desktop mode": your post. Apparently you either got the name wrong or you're the only person in the entire world who knows about it.

    Either way, can you please post instructions on how to enable this so-called "same-desktop mode" so we can all benefit from your knowledge?

  131. Their OWN products have permission issues! by EXrider · · Score: 1

    What a dumb arrogant statement. Microsoft has their own fucking products that don't run correctly under regular user accounts. Dynamics GP is one example. We run Dynamics for our ERP system, and we have to change NTFS permissions on various folders, and permissions on a handful of registry keys to get it to run correctly.

    --
    grep -iw skynet /etc/services
  132. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion