Slashdot Mirror


2010 Will Be the Year of Sandboxing Apps

Trailrunner7 writes "In a guest editorial on Threatpost, Mac hacker and security researcher Dino Dai Zovi writes that 2010 will be the year that software vendors get religion about sandboxing untrusted data in desktop apps. 'Instead of the usual top ten lists that are all-too-common with predictions for the new year, I have just one: 2010 will be the year of desktop applications handling untrusted data in sandboxed processes, and it will be about time. The largest Internet security threats now arrive through malicious web pages or e-mail attachments. This is because attackers are opportunistic and these are the weakest links especially because they easily pass through every firewall. Security is not and never was about SYN packets, it is about data: the software attack surface that attacker-controlled data interacts with and what sensitive data the attacker can get a hold of if they can exploit vulnerabilities in that software.'"

203 comments

  1. And the year of.. by sopssa · · Score: 2, Insightful

    .. bloat.

    Just look at how slow IE8 is to use.

    1. Re:And the year of.. by Penguinisto · · Score: 1

      ...and if you think Exchange 2007 is evil now (what with store.exe arrogantly sucking down 95% of your available RAM, no matter how much RAM you have, whether it needs to or not), I simply cannot wait until someone gets the idea that hey, maybe they should sandbox services too!

      /P

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    2. Re:And the year of.. by SnarfQuest · · Score: 2, Funny

      If you want to leave a lot of openings in your sandbox for malicious software to work through, you have to expect things to slow down.

      --
      Who would win this election: Andrew Weiner vs Andrew Weiner's weiner.
    3. Re:And the year of.. by alen · · Score: 1

      and what exactly is the point of having RAM go unused?

    4. Re:And the year of.. by spun · · Score: 4, Informative

      and what exactly is the point of having RAM go unused?

      File cache. RAM unused by bloated applications gets used by (most) operating systems to cache files, resulting in quicker disk access.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    5. Re:And the year of.. by thetoadwarrior · · Score: 1

      What's the point of operating systems that can run more than one program if we're happy to let one program eat up all the memory?

    6. Re:And the year of.. by alen · · Score: 2, Insightful

      unless you're using SBS, most organizations will only run Exchange or SQL or one major app on a server. on our servers we're running the HP software and SQL on our database servers. we even put all the third party database drivers on a separate server so as not to cause any potential issues.

    7. Re:And the year of.. by Anonymous Coward · · Score: 2, Interesting

      Exchange takes the file cache into account when setting its cache size. If you start paging it can reduce its memory usage. The point here is subtle:
      Free memory = Bad (wasted resources which can be used to reduce I/O)
      Paging = Bad (bad performance)

      So Exchange increases its memory usage unless the machine is paging.

    8. Re:And the year of.. by MistrBlank · · Score: 1

      Also, lots of memory used =/= efficient programming.

    9. Re:And the year of.. by Eponymous+Coward · · Score: 1

      It all depends on what efficiencies you are seeking. Many organization value developer time over cpu/memory usage and so never bother profiling their software (the only way to do it) to look for more efficient machine use. "Worse is better" applies to source code as well.

    10. Re:And the year of.. by Eponymous+Coward · · Score: 1

      Actually, the more I think about your statement, it's just wrong.

      You are assuming lots of memory used implies memory is wasted. I wouldn't assume that. There is usually a time/space trade off in algorithms.

    11. Re:And the year of.. by Anonymous Coward · · Score: 0

      And? IE8 is certainly not the standard of good programming, anywhere, even in Microsoft.

      Why not Chrome? That sandboxes and is speedy as a photon on steroids.
      Even WITH extensions, it is still incredibly fast.
      And i have fair amount of extensions, almost as much as i had in Firefox previously, and certainly more than i do now and Firefox is still significantly slower. (I have 4 in the current install vs 17 in Chrome)

      Sandboxing isn't slow, it is the devs that coded it horribly who made it slow.

    12. Re:And the year of.. by abigor · · Score: 1

      People who say things like this typically know nothing about programming or how operating systems allocate resources, let alone how to compute efficiency. No offence.

    13. Re:And the year of.. by alexhs · · Score: 1

      And mostly useless bloat at that.

      It's only adding one added layer to the dancing bunnies problem.

      Virtualization is detectable. Your dancing bunnies malware will complain that it needs better access to the computer in order to run.

      You only need memory protection, and an OS with some access control mechanisms.

      If the application can't run in those constraints:

      • Educated users will know that something is going wrong;
      • Uneducated users will escalate privileges one by one until the computer is pwned.

      Now what I think would be a secure system on paper :
      Only signed apps run on native hardware, everything else in one big sandbox (resetted each time, have fun reinstalling unsigned apps every day).

      Practically, bugs can allow code injection in signed code, and the signing authority can miss malware, but this at least solves the dancing bunnies problem, because it's the hardware/OS vendor which will refuse you to run the application.

      Well, unless if there was a way to work around the signing check. We could call that "jailbreaking" the computer. But that's unthinkable, isn't it ?

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    14. Re:And the year of.. by BlackSnake112 · · Score: 1, Interesting

      Great Idea, but it looks like exchange is doing it wrong since the exchange machines I have seen are often using more memory then is installed so they are paging and using all the RAM it can. These are not the massive exchange systems that large companies have. These exchange systems have 5-20 email accounts on them. Not large at all. So why is exchange using between 5GB (on a systems with 4GB installed RAM) and 18GB (on a system with 16GB installed RAM) of RAM? I am not the exchange admin, I pointed it out and the exchange admin said not to worry the system is running fine. I still think something is very wrong.

    15. Re:And the year of.. by Anonymous Coward · · Score: 0

      not the only way,
      if you choose the right data structure and algorithm from start you will solve a lot of memory/speed problems.

    16. Re:And the year of.. by dave562 · · Score: 1

      What FUD are you spewing? I am looking at an Exchange box right now that is hosting 100 mailboxes. Store.exe is using 683,000K of memory. The Symantec AV for Exchange services are eating another 700,000K. Combined that is under 2GB.

      Something is wrong with your specific Exchange server.

    17. Re:And the year of.. by toadlife · · Score: 1

      So why is exchange using between 5GB (on a systems with 4GB installed RAM) and 18GB (on a system with 16GB installed RAM) of RAM

      As I understand it, there is a performance penalty involved with paging data into RAM. By leaving the pages in RAM after programs exit or release memory, the the next time that data is read, it can be accessed faster because it doesn't need to be paged into RAM again. That "extra" (the amount of memory being "used" over the physical memory) is not actively being used and does not serve to degrade performance. It's just paged out. Linux and FreeBSD will do this too, and I'm pretty sure that Windows was a latecomer in implementing this kind of memory management strategy.

      Check this article out. It's about Vista, but relevant.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    18. Re:And the year of.. by neokushan · · Score: 1

      Please go tell John Carmack that he didn't efficiently program the early Quake Engines, then. They use Look up tables (i.e. extra memory) to calculate normals instead of having the CPU do it. Why? Because it's actually faster, or at least it was at the time. That's just one example off the top of my head that proves you don't actually know what you're talking about.

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    19. Re:And the year of.. by lgw · · Score: 2, Insightful

      It's easier to snap-and-rollback a virtual machine than a physical machine when the user causes it to get pwnt.

      It's easier to snap-and-rollback a sandboxed (jailed) app than a virtual machine.

      It's easier (at least in Windows) to give the user admin control of his virtual machine than not. That doesn't mean he needs any sort of privledges on the host machine. Depending on the app sandboxing paradigm, the app can run as admin (as far as it knows), but the user doesn't have the ability to escalate the apps permissions.

      From a security perspective, both VMs and app sandboxing are attempts to address the "user will escalate anyway" problem, and both are real progress over the pre-virtualizion norm IMO.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    20. Re:And the year of.. by neokushan · · Score: 1

      And who's going to pay to have all these signed apps run?

      That scenario ends up going one of two ways:

      1) THe signing process is made free and becomes self-signed (Think Android), which completely negates the whole point of it as anyone can sign anything.

      2) The signing process costs money, no company will do it for free so in order to get your app signed, you need to pay. This isn't cheap, often 3-digit territory and only really feasible for fairly large companies. Indie developers are screwed. Open source software is screwed. Freeware is screwed. Say goodbye to Media player classic, FFDSHOW, VLC, Firefox, Opera, Chrome, CCleaner, Spybot, AVG (The free version, anyway) and anything else that you've been given for free. It's all gone, or at the very least, such a hassle to run (hurrah for installing unsigned certs every day!) that people just disable the whole thing entirely, bringing you back to square one.
      Signing does not work.

      --
      +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    21. Re:And the year of.. by Jawn98685 · · Score: 1

      Exchange takes the file cache into account when setting its cache size. If you start paging it can reduce its memory usage...

      All of which takes time. No, thank you.

    22. Re:And the year of.. by Anonymous Coward · · Score: 0

      Except people b*tched when Vista reported the cache ram as used.

    23. Re:And the year of.. by spun · · Score: 1

      They bitch when Linux does that, too. What can I say? People, in general, are ignorant.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    24. Re:And the year of.. by Gr8Apes · · Score: 1

      You've merrily drunk the MS coolaid. The idea that a server is only good for 1 task sells... more hardware and software!

      We happily run a DB, mail server, web application server and more on a single decently sized box.

      (Yes, there are situations where you need to separate functions due to pure load optimization/performance requirements, but Exchange doesn't meet those criteria as in most cases the server is sitting idle except when a mail virus comes along, in which case they fall over)

      --
      The cesspool just got a check and balance.
    25. Re:And the year of.. by LordLimecat · · Score: 2, Interesting

      Chrome uses a sandbox model, and it seems to do OK. Programs running in Sandboxie seem to run pretty quick too. Is it possible not all sandbox apps are created equal?

      I'll also note that IE8 has more security than IE7, and yet curiously runs much faster than its predecessor. Seems like security vs speed is a false dichotomy.

    26. Re:And the year of.. by LordLimecat · · Score: 1

      Pretty sure you can adjust how much RAM Exchange 2007 sucks down, and that it sucks it down by design-- its called caching. In fact, a quick search turns up a number of articles explaining why Exchange 2007 behaves this way compared to 2003 (basically, to improve performance by minimizing disk reads-- ie cache), how it works (uses most unused memory, dynamically freeing RAM up if pressure to do so occurs-- see above link), and how you can limit the behavior (set msExchESEParamCacheSizeMax in ADSIEdit).

      I mean, im all about bashing MS when they get something wrong, but throwing blame on them for using unused RAM in exactly the way its SUPPOSED to be used (caching on-disk data) is just silly.

    27. Re:And the year of.. by LordLimecat · · Score: 1

      Also, lots of memory used =/= efficient programming.

      Depends what youre doing. Caching on-disk data to speed up searches can use tons of RAM without it being a sign of defect.

    28. Re:And the year of.. by tepples · · Score: 1

      Many organization value developer time over cpu/memory usage

      True; many organizations never distribute their in-house software. But when you do distribute software, you have to take into account the hardware that your customers have lest you limit your market.

    29. Re:And the year of.. by tepples · · Score: 1

      Caching on-disk data to speed up searches can use tons of RAM without it being a sign of defect.

      That is, until it interferes with other applications' use of RAM to cache on-disk data.

  2. A wish, not a prediction by truthsearch · · Score: 1

    This is much more of a wish, not a prediction. Microsoft has only barely just started to offer sandboxing. It's also not common practice by other desktop application developers.

    1. Re:A wish, not a prediction by tempest69 · · Score: 2, Insightful
      Sandboxing is long overdue. It's a primitive step in the right direction, but it's needed to take the whole host of steps that can make a stable system. There is a freakload of work that needs to be done to get past the mess that exists in current operating systems. But instead of making a really innovative system, we keep getting more of the same: incremental improvement to the desktop system.
      Sandboxing is a decade late, we should be so much further by now.. dang.

      Storm

    2. Re:A wish, not a prediction by twiddlingbits · · Score: 0, Troll

      ...the mess that exists in the Windows operating systems.... There, fixed it for you. Unless improperly configured, UNIX/Linux don't have these issues. Windows has them be default with pitifully few workarounds.

    3. Re:A wish, not a prediction by mattpalmer1086 · · Score: 4, Insightful

      Not true.

      All of these systems are designed to protect users from each other on a single system, when a computer was an expensive resource. It's just that unix had a good multi-user single-machine design long before windows did.

      But the threat model these days is running untrusted code from the network. Very few machines actually have more than one user on them - they all have their own machines. And all of that code is running with the full privileges of the user, with access to all their data.

      That is the. problem these days. And it's not one that unix is any better at solving than windows is. I would add that I've used Ubuntu as my primary desktop for the last 4 years - I'm no Windows fanboy - but neither am I blind to the security weaknesses of my chosen operating system.

    4. Re:A wish, not a prediction by vcompiler · · Score: 1

      True. And I think apps should make more use of the underlying mechanism provided by OS, like configuring their one non-login user with limited previlige to start sandbox process, instead of implementing their own sandbox mechanism. In-process sandbox is a bad design, as what Applet did, because it reinvents whole wheel whereas OS provides process boundary.

      On the other hand, even app does not provide sandbox, a user can always configure some low-previlige user by his/her own. That may be a too hard requirement for users, but better than wait.

    5. Re:A wish, not a prediction by tempest69 · · Score: 1
      ok.. ALL current Major OS's have huge gaping issues..
      If you go all Linux nerd on me.., I've been a Unix admin since 1995.. with a few years doing other stuff.. But this isnt about specific OS's it is about the whole way things work.

      It's broken..

      yea.. people can work in these environments.. and be productive.
      But the foundations of how these systems work is too narrow for the power that an OS could have.
      Imagine 3 people all playing a first person shooters from the same box, with a fourth working a spreadsheet.. or torrenting from a second isp connection. The hardware is there, but the OS isnt.

      Programs can become unresponsive.. thats inexcusable. But it strikes all of the OS's.
      The OS area has been a stagnant pile of goo. Plenty of window dressing but, you cant polish a turd.

      Storm

  3. Windows 7 by gbjbaanb · · Score: 3, Funny

    Great, I just upgraded from XP to Windows 7 and now all my apps have to be run in XP Mode's virtual machines. Thanks Microsoft. :)

    1. Re:Windows 7 by wisty · · Score: 2, Interesting

      Doesn't FreeBSD has some sort of "jail" functionality? And has since the year 2000?

      I'm not convinced that virtualizing a whole frigging OS is always the best. It's great for running XP or Linux on a MacBook; or XP on a Linux box (if Wine isn't enough), but the RAM use high enough to severely limit it's uses for security.

      I'm not using a browser if it opens a new OS for every damn tab, for example.

      OS tools (jails, lower level user accounts, etc) are going to be better. Or using a State Machine, or some other real engineering paradigm (instead of nasty hacked up code that kinda looks like it works).

    2. Re:Windows 7 by Mr.+Freeman · · Score: 1

      That's not a bug, it's a security feature. At least, that's how we'll market it.

      --
      -1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
    3. Re:Windows 7 by Anonymous Coward · · Score: 0

      You Upgraded from XP to Windows 7?

    4. Re:Windows 7 by gbjbaanb · · Score: 2, Interesting

      you're looking at the chroot command, Linux has it too.
      It basically restricts an app to the directory and subdirs only, which only causes problems when they try to reach out of the jail to, say /tmp or /etc.

      According to wikipedia, chroot has been around since... 1982.

      (yes, FreeBSD jails are better, but still based on the same concept).

  4. Wow.... Welcome to Java applets, 1995... by haemish · · Score: 2, Interesting

    Sandboxes are a tried and true idea, they work well. It's about time

  5. Already here. It's on my family PC.. by Lumpy · · Score: 4, Interesting

    sandboxie... Great program, will NOT work on a 64 bit OS.

    IT has kept my Daughter's PC free of crap because she refuses to not click on everything and not use Internet explorer... so I sandboxed it. Click on everything, it's all sandboxed.

    --
    Do not look at laser with remaining good eye.
  6. Cannon Fodder for your VM by Anonymous Coward · · Score: 0

    Fire up your VM-based Windows XP machine and head to http://www.offensivecomputing.net/

    Their site contains tons of live malware. I believe it requires free subscription, however.

  7. Beats waiting on lower computer prices... by ibsteve2u · · Score: 0, Offtopic

    About time...I was getting the impression that the solution was going to be $20 netbooks...use one to browse the web, it gets contaminated, and you throw it away and get a new one. Not very efficient, resource-wise.

    --
    Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
    1. Re:Beats waiting on lower computer prices... by ibsteve2u · · Score: 1

      lolll....rated off-topic?

      I must be the only person in the world who knows people...lots of people...who buy new computers because the lack of isolation - lack of sandboxing - between the browser app and the o/s ends up making them think the computer is worn out 'cuz it is so sloooowwwwwwwwww....servicing all of those 'bot requests, and all.

      --
      Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
  8. Re:Wow.... Welcome to Java applets, 1995... by Anonymous Coward · · Score: 1, Funny

    Sandboxes are a tried and true idea, they work well. It's about time

    So, sandboxes will see as much success as Java desktop apps? What?

  9. Let's just stop using the browser as an OS. by Anonymous Coward · · Score: 4, Insightful

    Maybe we should just stop using the goddamn browser as an operating system. It was never meant to be anything more than a way to view mainly static documents, and quickly access other linked documents.

    While some interactivity is of course useful and sensible, some fools have gone off the deep end and think we should treat the browser as some sort of an application development platform.

    Of course, anyone who has done real application development under a real operating system, even if it is just Windows, knows how poorly the browser is as such a platform. It's clear that everything, from JavaScript to AJAX to Flash, has been tacked on as a shitty afterthought.

    The answer isn't sandboxing. The answer is that we need to go back to using the browser as just a browser, and nothing else. And any real applications that demand network connectivity should be written as such, and run outside of the browser.

    1. Re:Let's just stop using the browser as an OS. by Anonymous Coward · · Score: 0

      I don't know... I find myself using more and more internet apps and fewer desktop apps. I constantly bounce around between different machines (desktops, laptops, netbook, smartphone, etc) and having access to the same data on any one of those outweighs the "clunkiness".

    2. Re:Let's just stop using the browser as an OS. by phantomfive · · Score: 2, Insightful

      The answer is that we need to go back to using the browser as just a browser, and nothing else.

      It's never going to happen. The browser is too useful for too many other things. If somehow we managed to get the browser to return to being just a page viewer, someone (like Microsoft) would create an API for online applications and call it a non-browser. In fact, this was the original idea behind .net, and why it is called .net. Online applications AKA cloud based applications are here to stay.

      --
      Qxe4
    3. Re:Let's just stop using the browser as an OS. by AvitarX · · Score: 2, Insightful

      It was never meant to be anything more than a way to view mainly static documents, and quickly access other linked documents.

      You are wrong wrong wrong. For many years now the browser has been meant for more than that. It originally may not have been meant for more than that, but to say it never was is stupid. The reason MS panicked about it was there was an express intent of making the browser more than that.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    4. Re:Let's just stop using the browser as an OS. by MobileTatsu-NJG · · Score: 1

      If you stopped and asked why those 'fools' would want to accomplish a task in a browser, you'd realize why 'writing apps that run outside of the browser' isn't the ideal situation.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    5. Re:Let's just stop using the browser as an OS. by Locutus · · Score: 3, Insightful

      and things like ActiveX don't apply to the "been tacked on as a shitty after thought" comment? From what I've seen, Microsoft is the king of tacking things on as a shitty after thought otherwise they'd not still be known for security and reliability problems. Rebooting a Windows computer is still the number one recommendation for 'fixing' a broken Windows system across many IT orgs and reinstalling Windows is probably still in the top 10 things done to 'fix' the computer.

      Besides, it's been Microsoft's attacking of software application vendors on their platform which has lead to so much being attempted in the browser since it isolates them so much from Microsoft. You don't hear so much of what software vendors software broke at every release of a new version of Microsoft Windows. That's because more and more business applications are fed from app servers to browsers and a minimum standard feature set must be met in the browser for it to be useful across the web and therefore IntraNet.

      This has little to do with the browser being the problem, it is about the design of the Windows OS not doing it's own memory protection and letting applications run many things as admin when they should be run as the user and they should not be accessing OS or other application space memory. This is another crutch for a bad design but it'll help sell more hardware if that's what you want.

      LoB

      --
      "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
    6. Re:Let's just stop using the browser as an OS. by Anonymous Coward · · Score: 0

      In principle I agree with you, but I'm afraid the horse has already left the barn; good luck at getting it back in.

    7. Re:Let's just stop using the browser as an OS. by Phiu-x · · Score: 1

      Its 2009. That's evolution baby!

      --
      This is a stolen sig.
    8. Re:Let's just stop using the browser as an OS. by drsmithy · · Score: 1

      Besides, it's been Microsoft's attacking of software application vendors on their platform which has lead to so much being attempted in the browser since it isolates them so much from Microsoft. You don't hear so much of what software vendors software broke at every release of a new version of Microsoft Windows. That's because more and more business applications are fed from app servers to browsers and a minimum standard feature set must be met in the browser for it to be useful across the web and therefore IntraNet.

      No, it's because Microsoft go to insane lengths to make sure applications *don't* break between Windows releases.

      This has little to do with the browser being the problem, it is about the design of the Windows OS not doing it's own memory protection [...]

      Oh, do go on. This should be pretty funny.

      [...] and letting applications run many things as admin when they should be run as the user and they should not be accessing OS or other application space memory.

      Perhaps you can highlight an OS that does not do this ?

    9. Re:Let's just stop using the browser as an OS. by Phiu-x · · Score: 1

      uh , I meant 2010 ... :] *return under its rock*

      --
      This is a stolen sig.
    10. Re:Let's just stop using the browser as an OS. by Anonymous Coward · · Score: 0

      As someone who has developed both client/server programs outside the browser and browser based apps, I can say you are right and wrong. A stand alone app has a lot of advantages if you can get every single end user to install your stand alone app. Being inherently more secure is not necessarily one of those advantages though, it just seems that way because most stand alone apps are a) not documented and b) not distributed enough to bother hacking. If the app does become common place enough though (multiple adobe products and office both come to mind), then just as many attacks start appearing.

      The part I think you are correct about though is that it would be nice to see HTML revised and expanded to cover more without resorting to flash & javascript. Of course, if that was to happen (and it maybe in progress, I dont know), we'd likely be writing HTML/javascript for IE6 for the next 10 years regardless simply because of the huge install base.

    11. Re:Let's just stop using the browser as an OS. by snadrus · · Score: 1

      So you want to return to AOL's software-per-keyword mechanism? Or use browsers to download SonySiteViewer.exe ?

      --
      Science & open-source build trust from peer review. Learn systems you can trust.
  10. Re:Already here. It's on my family PC.. by sakdoctor · · Score: 5, Funny

    Whoa! Your daughter is off the rails, and your soft approach to parenting is not helping.
    Install linux on her system right now, and don't give her the root password until she's 18!

  11. requires sophistication & motivation; not opti by bcrowell · · Score: 4, Insightful

    All security problems are easy to solve if you have users who are sophisticated about security, and motivated to put up with inconveniences. The real world isn't like that.

    A proposal like this inevitably requires that the user understand something about the sandbox, and also requires that the user go through various hassles because of the sandbox. They're going to perceive it as a hassle, because the sandbox is going to prevent them from doing things they would otherwise have done. If they're unsophisticated and unmotivated, they'll just see it as something to work around.

    Not only that, but this isn't an optimal solution. A flash game has to be a Turing-complete program. A memo doesn't have to. The simple solution is just to stop embedding Turing-complete programming languages in file formats that don't require them. Adobe actually started by designing postscript as a Turing-complete language. That had some unfortunate consequences, since, e.g., you can't predict whether a program written in a Turing-complete language will halt, so in principle you can't predict whether a document will take forever to come out of the printer. The realized that that was a mistake, and when they designed pdf, they intentionally made it not Turing complete. Now we've come full circle, and they've added a Turing-complete language, javascript, back into pdf. That's just bad design. The solution for users is actually pretty easy: if you're using Adobe Reader, turn off javascript.

  12. Offtopic Parent by Anonymous Coward · · Score: 1, Insightful

    .. bloat.

    Just look at how slow IE8 is to use.

    What does this offtopic post have to do with sandboxing?

    1. Re:Offtopic Parent by bingoUV · · Score: 1

      Sandboxing also consumes computing resources: processor cycles, extra memory. He might be saying that all this sandboxing might be causing the slow-ness?

      --
      Bingo Dictionary - Pragmatist, n. A myopic idealist.
  13. This is the year of wishes being predicitons by spun · · Score: 1, Offtopic

    And I predict this will be the year of 'Spun getting freaky with Kari Byron of MythBusters.'

    --
    - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
    1. Re:This is the year of wishes being predicitons by csartanis · · Score: 5, Funny

      I predict this will be the year of Kari Bryon on the desktop!

    2. Re:This is the year of wishes being predicitons by maxume · · Score: 1

      Right after the baby? Or are you going to give it a few months?

      --
      Nerd rage is the funniest rage.
    3. Re:This is the year of wishes being predicitons by spun · · Score: 1

      Who said anything about after the baby? When it comes to Kari, I'm just not that picky.

      --
      - None can love freedom heartily, but good men; the rest love not freedom, but license. -- John Milton
  14. Old news? by COMON$ · · Score: 1

    Wasnt sandboxing the cool word about 10 years ago?

    --
    CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    1. Re:Old news? by MrEricSir · · Score: 2, Funny

      Yes, but a big bully came and stomped on all our sand castles. Now that we've grown up a little, it's time to try again.

      --
      There's no -1 for "I don't get it."
    2. Re:Old news? by danlip · · Score: 1

      Wasnt sandboxing the cool word about 10 years ago?

      Actually 15 years ago, when Java came out.

    3. Re:Old news? by camperdave · · Score: 1

      Yeah, maybe if we built a good enough sandbox, Microsoft wouldn't be able to stomp our sand castles.

      --
      When our name is on the back of your car, we're behind you all the way!
    4. Re:Old news? by Anonymous Coward · · Score: 0

      shit i have 15 years of java experience ... :( ...
      time for a Language change

  15. Re:Already here. It's on my family PC.. by CannonballHead · · Score: 2, Informative

    "Windows 64-bit: Full support for 64-bit is available in recent beta versions of Sandboxie. Click here"

    Looks like they are working on that. :)

  16. Re:Already here. It's on my family PC.. by ub3r+n3u7r4l1st · · Score: 1

    LOL you just successfully stopped a future professional gamer by not teaching her how to install GTA 4 in Ubuntu.

  17. Son of portable apps by Anonymous Coward · · Score: 0

    Sounds like a good plan for the future. As far as I'm concerned, 2009 was the year for portable apps. All those useful apps we have on our thumbdrives and thinstalled. The registry and local app dirs have been virtualized and redirected to local stores in a subdirectory of the app dir. All the settings remain local to the app dir (just like the old days) and migrate with a simple copy. A full sandbox is an incremental step above this.

    I suspect VMware wont be alone for long with their thinstaller. I suspect MS sees the future of app deployment being more like the portable apps we use today.

  18. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    "Windows 64-bit: Full support for 64-bit is available in recent beta versions of Sandboxie. Click here"

    Looks like they are working on that. :)

    Cool. When can we get this for Linux? Oh wait... we've already had chroot for years.

  19. Re:Already here. It's on my family PC.. by Lumpy · · Score: 1

    Yup, WAYYYY off the rails... she turns 18 this week. Sadly she is very much like her mother.

    --
    Do not look at laser with remaining good eye.
  20. Re:Already here. It's on my family PC.. by CannonballHead · · Score: 4, Insightful

    Yes. Linux has many, many things that are pretty cool.

    Unfortunately, they haven't had a good all-together tied-in user experience.

    Claiming things like "we have chroot" and "we have sudo" and other code/geek-ish type of coolnesses is like claiming that your car has awesome engine with new piston technology, very secure door locks, and can run on almost ANY fuel currently available; unfortunately, the seats are rather uncomfortable and the controls on the dashboard look more like a commercial airliner's cockpit.

    Yes, I know it's getting better. That's good. I hope they keep it up and continue to improve issues that apparently many geeks don't care about and many average users do (like flash video [youtube] and audio) and being able to use their iPods and scanners). :)

  21. Sandboxing great for Multiplayer gaming by ub3r+n3u7r4l1st · · Score: 1

    Just the 3D acceleration is a little bit iffy.

    But otherwise, one can debug VAC or Warden in a sandbox and find a way to disable these spyware to make the gaming experience more enjoyable.

    1. Re:Sandboxing great for Multiplayer gaming by sexconker · · Score: 1

      But otherwise, one can debug VAC or Warden in a sandbox and find a way to disable these spyware to make the gaming experience more enjoyable.

      VAC requires a logged-in Steam account.
      VAC is not (solely) client-side.
      VAC has a built-in delay of at LEAST 2 months.

      Of course, even with all the potential, VAC still sucks and never catches anyone.

  22. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 2, Funny

    [dont-take-it-personal][joke-to-easy-to-resist]
    "Much like her mother"? she has poor taste in men?
    [/joke-to-easy-to-resist][/dont-take-it-personal]

  23. Untrusted apps - like Windows? by strotz · · Score: 1

    Not trying to be a total troll but... I kind of like running XP in VMware as a virtual machine (especially when it is busy grinding through critical security updates and reboot cycles - while I am getting work done on the host OS)

  24. Re:Wow.... Welcome to Java applets, 1995... by Anonymous Coward · · Score: 1

    Java sucks for the desktop because of the long startup times and huge memory usage, but that doesn't mean that all sandboxes have to be that way. For example, you can run a program in a chroot jail in Linux, and its performance won't be much worse than running it normally.

  25. The Year of "The Year of..." by Anonymous Coward · · Score: 0

    I predict that 2010 will be the year of the year of predictions.

  26. So, everything will run via interpreter then? by mrflash818 · · Score: 1

    Usually when I hear the term used, it refers to implementation of an interpreter of bytecode (java or dot net).

    So, then it will just be an intrepeter layer, that removes direct access to hardware APIs?

    That would seem to require more clock cycles to run, and some more RAM, and even would mean that the interpreter could be reverse-engineered so it could be ported to other platforms....

    --
    Uh, Linux geek since 1999.
    1. Re:So, everything will run via interpreter then? by metamatic · · Score: 1

      Usually when I hear the term used, it refers to implementation of an interpreter of bytecode (java or dot net).

      Java hasn't been interpreted since J2SE 1.3 introduced HotSpot in 2000.

      There's no reason why sandboxing should imply interpreted code.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    2. Re:So, everything will run via interpreter then? by Rockoon · · Score: 1

      .NET programs are also not interpreted, and in fact NEVER have been.

      --
      "His name was James Damore."
    3. Re:So, everything will run via interpreter then? by Anonymous Coward · · Score: 0

      Java hasn't been interpreted since J2SE 1.3 introduced HotSpot [wikipedia.org] in 2000.

      From the article you linked to:

      Sun's JRE features 2 virtual machines , one called Client and the other Server. The Client version is tuned for quick loading. It makes use of interpretation, compiling only often-run methods.

      Congratulations on contradicting yourself.

    4. Re:So, everything will run via interpreter then? by metamatic · · Score: 1

      At least in 1.3.1, you could just specify -client or -server to choose whether you ran interpreted or compiled. So Java hasn't been solely interpreted since J2SE 1.3, though interpreted Java was a default Sun continued to choose for a while. IBM, on the other hand, had J9 JIT on both server and desktop versions of Java 1.3.

      Congratulations on irrelevant nitpicking.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  27. Sorry. The WWW is now a huge API by Colin+Smith · · Score: 4, Informative

    Web servers don't serve html documents any more, they serve remote procedure calls from javascript front ends.
     

    --
    Deleted
  28. wha? by jasno · · Score: 2, Insightful

    Security is not and never was about SYN packets

    Security is about everything, period.

    --

    http://www.masturbateforpeace.com/
  29. Yea, right. (you hold my breath for me department) by Suki+I · · Score: 1

    'Instead of the usual top ten lists that are all-too-common with predictions for the new year, I have just one: 2010 will be the year of desktop applications handling untrusted data in sandboxed processes, and it will be about time.

    Let us all know how that works out for you this time next year, big boy?

  30. Isolate by gmuslera · · Score: 1

    Just yesterday was reading about Isolate (http://code.google.com/p/isolate/) that looks going to the core of the problem. You can sandbox any app, but not needing to sandbox all the desktop/OS/etc for that. So if your browser or media player, or other programs could have a risk of doing locally something you dont want, you can run it in a way that don't touch or modify anything private. in a very easy way.

    1. Re:Isolate by Fnord666 · · Score: 3, Funny
      From the Isolate web site:

      isolate currently suffers from some bad security bugs! These are local root privilege escalation bugs. Thanks to the helpful person who reported them (email Chris if you want credit!). We're working to fix them ASAP, but until then, isolate is unsafe and you should uninstall it. Sorry!

      This doesn't really sound like the solution most people looking for.

      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  31. you mean like an operating system is supposed to? by Locutus · · Score: 3, Interesting

    really? sandboxing desktop apps? Look at what one of the design goals of any real OS is and providing security, memory protection( from other apps and OS space ), indirect access to hardware, and smooth multitasking between apps and OS are right up there near the top. Memory protection is WAY up there near the top unless you're looking at special purpose realtime applications or micro-controller apps. Now what we are seeing on Windows is yet another layer in an attempt to fix a bad design and one which will continue to slow down the system while pushing the hardware. It's great if you are out to sell more expensive hardware and you don't want lower end( cheaper priced ) hardware to run your software. You know, like how Vista ran so good on netbooks and how Windows 7 is better than Vista at that but still worst than Windows XP.

    Sandboxing is basically what virtual machines like VMWare, VirtualBox, KVM, VirtualPC all do. Off of Windows, it gives users a way to run Windows without rebooting their main OS. On Windows, it gives businesses a way to keep one crashing Windows server from taking down the other servers and in the desktop it lets users boot Linux without rebooting Windows. But for app protection? That's what the OS is supposed to be doing.

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  32. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    [joke-too-easy-to-resist]

    "Much like her mother"? she has poor taste in men?

    Hey! There's nothing wrong with me!

    [/joke-too-easy-to-resist]

  33. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    Then she has a chance at a life.

  34. Awesome! by InlawBiker · · Score: 4, Funny

    I was just handed a memo from a collection of all major software and hardware vendors on Earth, saying that security will be put ahead of profits from now on! It was delivered by a Unicorn, who got here on the gumdrop express via the rainbow highway.

  35. Re:Already here. It's on my family PC.. by Jason+Levine · · Score: 1

    I use that too. Program I'm not sure about? Run it in SandboxIE and delete the Sandbox when I'm done. Website that might impact my security? Run it while my browser is under SandboxIE so I'm safe from viral threats.

    --
    My sci-fi novel, Ghost Thief, is now available from Amazon.com.
  36. Office 2010 by PCM2 · · Score: 1

    Microsoft might be doing more than you think. TFA brings up Protected Mode Internet Explorer, but Microsoft is incorporating sandboxing-type ideas into Office 2010, too. For example, before it opens files, Word 2010 will validate them against known-good and known-bad schema. The idea is to detect potentially risky files/actions and run them with reduced privilege. So if a given file was created using an old version of Word that includes implicit vulnerabilities, for example, Word 2010 will open it in read-only mode with macros disabled, while giving the user a button to activate the disabled features (with an "it's your funeral" warning message).

    This is not exactly "sandboxing," but it serves the same purpose: It helps to keep bad things from happening accidentally or out of user ignorance. In the past, if a user tried to open a file with dangerous macros, the app might throw up a warning message: "OMG if I open this file all hell will break loose!" But the user really wants to see what's in that file, so he just clicks "OK," and the damage is done. With Office 2010, there are more situations where a file will open with a slightly degraded user experience (no macros, etc), which lets users do 90 percent of what they want to do -- read the text, or copy and paste it into a new file -- without putting them at risk.

    --
    Breakfast served all day!
    1. Re:Office 2010 by Gr8Apes · · Score: 1

      ... So if a given file was created using an old version of Word that includes implicit vulnerabilities, for example, Word 2010 will open it in read-only mode with macros disabled, while giving the user a button to activate the disabled features (with an "it's your funeral" warning message)

      Ahhh good - UAC all over again....

      --
      The cesspool just got a check and balance.
    2. Re:Office 2010 by PCM2 · · Score: 1

      Ahhh good - UAC all over again....

      Naaah, it's really much less intrusive than that. It's more like the little warning ribbon you get in the top of IE when a site wants to install an ActiveX control or something.

      And FWIW, Windows 7 really does get UAC right. I routinely switched it off in Vista, but in Windows 7 I don't bother (which I think has to be a good thing).

      --
      Breakfast served all day!
    3. Re:Office 2010 by Gr8Apes · · Score: 1

      Windows 7 is Vista, release 1.0. They decided to partially switch it off for you.

      It still doesn't solve the core problems with the (lack of) security architecture. It's still swiss cheese, they've just added enough layers to hide the holes somewhat.

      --
      The cesspool just got a check and balance.
  37. Whatcha gonna do, if the CPUs don't sell anymore.. by Hurricane78 · · Score: 1, Interesting

    ...because nearly nobody needs even more power...

    Just sandbox everything, and sandbox it again, then interpret, sandbox, and interpret again. Until you can barely get the framerate of a small handheld console from 15 years ago (remember that JavaScript Tetris?)

    Just don’t feel the urge to actually write clean code. And cling to C-like languages, ’till the bitter end. Since C in a generic VM is oh-so-much faster, than Java (in its Hotspot VM) or Haskell on the bare metal...

    Yay. I wonder how much I will kick the butts of others by writing clean straight-to-the-metal code without having to micromanage (C-style)... ;)

    --
    Any sufficiently advanced intelligence is indistinguishable from stupidity.
  38. Re:requires sophistication & motivation; not o by Anonymous Coward · · Score: 0

    You can sandbox without users noticing 95% of the time,
    web browsers and anything launched by browsers get access to (browser configs, download folder and read access to relevant configs and executables)
    non-network apps (except update apps) do not get web access without a dialog.
    etc...

    sure if your 100% clueless you'll let word access imhaxoringyourpc.cn, but simple profiles will let people with 1/2 a clue about security safe without ridiculous tricks like running chrome in a VM (which btw is retarded because if your host os, is compromised your screwed anyway)

  39. Correction needed ... by Viol8 · · Score: 3, Insightful

    "unless you're using SBS " or run unix/linux " most organizations will only run Exchange or SQL or one major app on a server"

    There, fixed it for you. Curiously unix can generally cope with running more than one app/DB without falling over or having one app
    screw up the other.

    "we even put all the third party database drivers on a separate server so as not to cause any potential issues."

    Well that sums up running a Windows server doesn't it.

    1. Re:Correction needed ... by aix+tom · · Score: 1

      Yep. The only thing that makes Windows "servers" half-way bearable is to put one server for each single service you need in a virtual machine.

      So basically the whole thing IS already sandboxed.

    2. Re:Correction needed ... by aztracker1 · · Score: 1

      Actually, single purpose VMs are a fair idea for other OSes as well. If the configuration for a given environment is a single application's needs, and that can be replicated easily, it's more maintainable. If you have to configure a dozen apps for every server, or instance it becomes harder to manage.

      --
      Michael J. Ryan - tracker1.info
    3. Re:Correction needed ... by LordLimecat · · Score: 1

      There, fixed it for you. Curiously unix can generally cope with running more than one app/DB without falling over or having one app screw up the other.

      A lot of the time it is the vendor recommending one app per machine, and im sure it makes their support a lot easier, but I deal with plenty of client servers running SBS 2003 with 3-5 MSSQL instances, BackupExec (with another database), Symantec Endpoint (yet another database), and BES (pretty sure that has a DB too), and it works just fine.

      Making comments like this

      Well that sums up running a Windows server doesn't it.

      is pretty childish and inaccurate as well; I could pull up horror stories of Linux / Unix issues caused by dependencies, or app conflicts, or unavailable drivers, or updates breaking the system.... but I recognize that to claim that all *nix is trash is not valid. Why do you think its any more legitimate to label Windows as terrible just because you dont like it, or because someone in an online comment is uberparanoid about it?

    4. Re:Correction needed ... by Viol8 · · Score: 1

      "I could pull up horror stories of Linux / Unix issues caused by dependencies, or app conflicts, or unavailable drivers, or updates breaking the system"

      Go ahead. I'm come across a few in my time but compared to the DLL hell on Windows they pale into insignificance. Certainly some toy linux distributions do dick around with libraries a bit too much but if you know what you're doing its not an issue.

    5. Re:Correction needed ... by toadlife · · Score: 1

      The last time I saw a case of "dll hell", was Windows 98.

      You need to update your talking points.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
  40. Re:Already here. It's on my family PC.. by Archangel+Michael · · Score: 1

    So many tasteless jokes in such a short thread. Root, Box, turning 18, like her mother .... I ... must ... resist ...

    --
    Agent K: A *person* is smart. People are dumb, stupid, panicky animals, and you know it.
  41. Bill Gates isn't CEO any more by Anonymous Coward · · Score: 0

    Slashdot needs to retire the Bill Gates Borg picture.

    1. Re:Bill Gates isn't CEO any more by Larryish · · Score: 1

      Maybe a Ballmer monkey pic instead?

    2. Re:Bill Gates isn't CEO any more by drsmithy · · Score: 1

      Slashdot needs to retire the Bill Gates Borg picture.

      Are you kidding ? It's the *epitomy* of Slashdot.

  42. Re:you mean like an operating system is supposed t by Anonymous Coward · · Score: 0

    But for app protection? That's what the OS is supposed to be doing.

    Sandboxing and virtual machines are not interchangeable terms. VMs are one way to sandbox applications, but not the only way. For example, SELinux and the iPhone sandbox all applications by default. MacOS X currently sandboxes a subset of executables, mostly services at risk of exploitation (like their zeroconf service). A move towards more sandboxing of desktop apps doesn't necessarily mean more VMs. It may well mean sandboxing being applied by the OS, by default, to desktop apps based upon any number of trust criteria, like whether it is signed or not.

  43. Re:requires sophistication & motivation; not o by FlyingBishop · · Score: 1

    Point is you don't gain anything if the users don't understand the sandbox.

    Android tells you precisely what every app is allowed to do, most people blithely ignore the part where a variety of apps have access to "Read phone call state and identity."

  44. Umm... actually... by yttrstein · · Score: 1

    Security did used to be very much about SYN packets and not much else. Hi, I used to build ISPs in the early 90s.

  45. Good to see MS catching up with 1995 Java by presidenteloco · · Score: 1

    I can hardly wait for the flurry of sandboxing
    patents.

    --

    Where are we going and why are we in a handbasket?
    1. Re:Good to see MS catching up with 1995 Java by Anonymous Coward · · Score: 0

      Your post makes no sense. This isn't about Microsoft, it is about how all application vendors will sandbox their applications. Thanks for playing.

  46. Instead of validating inputs by vlm · · Score: 3, Interesting

    Cool, instead of screwing up the simple task of validating inputs, we'll simply screw up the complicated task of sandboxing. Awesomeness!

    --
    "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    1. Re:Instead of validating inputs by jpmorgan · · Score: 3, Insightful

      Sandboxing only needs to be done right once. Validating user input needs to be done right every time. I'm not saying don't validate your user input, but if your first line of defense is a fairly brittle mechanism, having extra protection is a good thing.

    2. Re:Instead of validating inputs by jhol13 · · Score: 2, Informative

      We have tried the "validating" approach for 20 years and it is still failing at a tremendous rate.

      Maybe it is time to try something else?

    3. Re:Instead of validating inputs by Anonymous Coward · · Score: 0

      Cool, instead of screwing up the simple task of validating inputs, we'll simply screw up the complicated task of sandboxing.

      Do both. And try not to screw them up.

      I know you were being sarcastic. I'm not.

  47. Horse. Barn. by istartedi · · Score: 1

    That horse bolted the barn a long, loooong time ago.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  48. Re:Already here. It's on my family PC.. by tunapez · · Score: 1

    Been using SandboxIE for 3 years now. Highly recommended utility.
    Right-click any program and run it sandboxed.

    Additionally, useful for testing captured malware. In a VM is recommended, never know if/how/when it may be subverted.

    --
    Imagination drew in bold strokes, instantly serving hopes and fears, while knowledge advanced by slow increments...
  49. Re:you mean like an operating system is supposed t by jpmorgan · · Score: 5, Insightful

    This isn't a Windows specific problem. The fundamental problem is the user/process model that's been popular since the inception of UNIX (maybe even earlier, I don't know enough about Multics to say): the idea that only users have identities and programs run under the identity (and permissions) of the user who runs it. If I'm running a game, there's no reason why it needs access to my tax spreadsheets, etc...

    All software should be running under its own identity and access to user documents should be through standardized user interfaces... i.e., the 'File Open' dialog is actually a part of the OS not the application, and also grants temporary permissions in addition to just selecting a file.

    We talk about the principle of 'least privilege' but in practice (with a few notable exceptions) the 'low-privilege' processes have the most important privileges of all: access to all our stuff.

  50. You still want sandboxing by Sloppy · · Score: 1

    The answer isn't sandboxing.

    Yes it is, because even if the browser didn't have everything but the kitchen sink in it, it could still (for example) have a buffer overflow bug in an image decode library. When that bug gets triggered, you want that process to be "nobody."

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    1. Re:You still want sandboxing by mlts · · Score: 1

      The Web browser can be extremely secure. However, attackers are going after isn't the browser any more. They are gunning for the add-ons, both the big names and the small things. All it takes is a hole in even a relative obscure add-on, and an attacker now has code running in a security context of the add-on. As it stands now, the security context of an add-on is the same as the browser, which is usually the same as the user... and often times having root privs.

      Even user nobody is somebody. You want a security context where if the buffer overflow bug in an image library gets used, the malicious software ends up with just the context of the library -- it can display something in a certain window, and no more. No access to intercept keystrokes. No filesystem access. No access to other threads, much less other processes.

      For the best performance and security, the heavy lifting of a sandbox needs to be handled by the OS, while the Web browser specifies the hard and soft limits of what processes the add-ons it is about to spawn. A JPEG library needs only enough RAM and CPU to take a file, decompress it, and slap it on the space the browser specifies. A generic scripting language will need more than that, perhaps access to the keyboard if the window is in the foreground. In no case, should an add-on have a context equal to the user unless the Web browser is downloading a file at the user's behest, copying/pasting to other applications, and requesting a file to be uploaded at a user's behest.

  51. Yeah right. by Anonymous Coward · · Score: 0

    > 2010 will be the year that software vendors get religion about sandboxing...

    A prerequisite is that software vendors will get religion about security. Haha.

  52. Fundamental Problem by Ohio+Calvinist · · Score: 2, Interesting

    The fundamental problem is that users want their computer to do things. They want responsive rich media web applications so conventional wisdom to turn off everything but HTML rendering causes their computer to not do stuff it used to be capable of. The second problem is that in order for computers to do things, particularly in networked environments, is that processes could be working with trusted, semi-trusted or untrusted stuff (be-it content, code, whatever, it doesn't matter for the purpose used.) When security tools attempt to figure out what ought to be trusted or not trusted and gets it wrong, you either do something unsafe or you block the user from doing what they want to do (even if you or me would consider what they want to do as foolish or downright dangerous.) When users are expected to indicate what is trusted or not trusted they generally lack the insight to know what to pick, and vendors are at peril of designing annoying software that provides little true security if users always click "yes" causing the unsafe action to happen, or prevents their computer from working as expected, if they always click "no." Sandboxing can be effective to limit access to other application's data, but can greatly limit interoperability and requires the developer make some decisions on behalf of the user, or makes the developer ask the user how isolated the process is from other resources in a way that is meaningful and they they can understand what the consequences in either case will be if they approve (ideally at setup).

    --
    Forgive my spelling from time to time. I'm often posting during short breaks.
    1. Re:Fundamental Problem by Anonymous Coward · · Score: 0

      The fundamental problem is that users want their computer to do things.

      If you want to break it down to true fundamentals, security is making sure the computer does what the user wants and not what the user does not want and... not making the former conditional on the latter.

      When security tools attempt to figure out what ought to be trusted or not trusted and gets it wrong, you either do something unsafe or you block the user from doing what they want to do...

      Which is why good security is built in and has a human component.

      When users are expected to indicate what is trusted or not trusted they generally lack the insight to know what to pick...

      Users are rarely if ever given both the information as to what the system is doing and the choice by the OS to do what they actually want.

      ...annoying software that provides little true security if users always click "yes" causing the unsafe action to happen...

      Part of good security is good usability. If you ever give users a "yes" button instead of a verb describing the action to be taken, then your system is flawed. Secondly, good security asks the user as little as possible. A whole lot can be determined in advance by good defaults and expert analysis ala graylists.

  53. 2011 by Pebby · · Score: 1

    Then, clearly, 2011 will be the year of the Sandboxed Linux Desktop.

    1. Re:2011 by thatkid_2002 · · Score: 1

      Linux has used sand-boxing for years. I don't think your joke is very funny.

  54. How about reducing the surface area? by argent · · Score: 3, Interesting

    Sandboxing means that once the attacker has used an input exploit to own the process, it has to perform a privilege escalation exploit to get out of the sandbox. The problem is that applications running in sanboxes have to be able to write files, read files, load and install plugins, execute helper applications, and generally do just about anything a regulat application has to. So the sandbox can't be very "strong".

    Instead of adding a leaky sandbox, how about reducing the surface area exposed to attack in the first place? Simplify the application. Get rid of things like XPI in Firefox and ActiveX in IE. Get rid of the need for third party plugins like Java and Flash (HTML5 goes a long way here). Get rid of the ability for network apps to masquerade as local apps (there's no reason a web page should be allowed to remove the status and address bar, for example). Don't even *offer* to automatically open a file after downloading. Remove that option from the browser completely. Get rid of Acrobat and other plug-in document viewers.

    Yes, this might make it less convenient for websites to "wow" the user. So what? I'd rather be safe than "wow"ed.

    1. Re:How about reducing the surface area? by hedwards · · Score: 2, Insightful

      Sandboxing means that once the attacker has used an input exploit to own the process, it has to perform a privilege escalation exploit to get out of the sandbox. The problem is that applications running in sanboxes have to be able to write files, read files, load and install plugins, execute helper applications, and generally do just about anything a regulat application has to. So the sandbox can't be very "strong".

      That's not really sandbox's fault, so much as the way that people design and run their OS. FreeBSD for example has the ability to combine flags and securelevel to prevent any changes to files that are so marked at all. It can be a pain in the ass, but it makes it very difficult for somebody to remotely install something to run at boot time.

      Additionally, a proper sandbox shouldn't allow one to write to any portion of the hard disk that's directly accessible to the OS, and should really require exporting the information through the sandbox to access outside of the sandbox. If you're allowing the sandboxed app to operate directly on the disk you're doing something wrong and that area of the disk probably shouldn't be directly accessible except through a utility for doing so.

    2. Re:How about reducing the surface area? by jonaskoelker · · Score: 1

      I'd rather be safe than "wow"ed.

      Your users (family members etc.) think they're safe, and want to be wow'ed. They're going to complain if they can't be.

      Don't even *offer* to automatically open a file after downloading.

      What's gained by having the user traverse a path of directories before opening the file manually, versus having the user explicitly ask for the file to be opened automatically at some later point? I mean, it's going to get opened one way or the other, right?

      When's the last time you downloaded a file and then immediately decided never to open it?

    3. Re:How about reducing the surface area? by argent · · Score: 1

      What's gained by having the user traverse a path of directories before opening the file manually, versus having the user explicitly ask for the file to be opened automatically at some later point?

      Well, let me explain something. I've been a system and network admin for 20 years. I can't count the number of times that someone has come to me saying "um, I think I clicked the wrong thing and I think I have a virus". What they've done is some link has downloaded a file, and then IE has popped up a dialog asking "do you want to open or save this", and they automatically clicked "open" because that's what they're used to doing. When Microsoft added more stupid security dialogs, they reflexively approved them, because they get those messages all the time, and 99% of the time approving them is the right thing to do.

      I used to say that I'd never had someone come up and say "I downloaded a file, and then opened it, again... and I think I have a virus". Now more recently I had ONE person say that. ONE person, in 20 years.

      The difference? Clicking "infect me" on a dialog is something people do by reflex. Opening a folder or a download manager, selecting a file, and opening it... that's a deliberate action. People are so much more likely to realize that they shouldn't do this when they come up after the fact, on THEIR schedule, and look at it, and think about it... than when they're hit with just another "hey, I'm about to do something dumb" dialog that they reflexively approve dozens of times a day.

      Your users (family members etc.) think they're safe, and want to be wow'ed. They're going to complain if they can't be.

      Yes, I had lots of people complaining when I banned IE and Outlook at our division in 1997. Netscape wasn't "wow" enough. When we were the only part of the company that wasn't whacked by the flood of viruses and worms that hit in 1997 and 1998, most of them quit complaining about it. A few did. One contractor sat there and argued with me that he should be an exception to the no-outlook rule... WHILE I WAS CLEANING UP AN INFECTION HE GOT THROUGH OUTLOOK.

      So, yeh, they'll say that. I have no sympathy.

      When's the last time you downloaded a file and then immediately decided never to open it?

      According to my download folder, 16:48 today. The name was "image_2.gif.exe".

    4. Re:How about reducing the surface area? by jhol13 · · Score: 2, Informative

      applications running in sanboxes have to be able to write files, read files, load and install plugins, execute helper applications,

      No, they don't.

      They can be made so that only way to access file system is by File Dialog (see Java Web Start / JNLP).

    5. Re:How about reducing the surface area? by argent · · Score: 1

      Yes, you can create a sandbox using a FreeBSD jail, and you can union-mount everything in the jail over a read-only file-system, and you can wipe the jail after every run, and that would be pretty secure. Personally, I run dubious software in a VM and roll back to a checkpoint afterwards.

      But then people would be a bit upset that their bookmarks didn't get saved and they couldn't download files. Because most of the software that would need to be sandboxed is the stuff that people use regularly. A *useful* sandbox *has to* be leaky.

      Making the application itself simple enough that it doesn't contain any mechanism run content outside its *application level* sandbox (like XPI or ActiveX or "Internet Enabled disk images" ... it seems like every browser these days has SOME kind of stupidity built in) is a much better place to start. AFTER you get that bit right, worry about sandboxing the application itself... because that kind of sandbox is a secondary line of defense at best.

    6. Re:How about reducing the surface area? by argent · · Score: 1

      Now you're talking about an application level sandbox around untrusted code. That's a good way of redusing the surface area, BUT it's also a completely different kind of animal than the article is talking about. He's talking about OS level sandboxes around the whole application itself.

    7. Re:How about reducing the surface area? by jhol13 · · Score: 1

      I see no difference. Why cannot a "normal" application be limited in the same way as a Java Web Start application?

      How the limit is imposed, by Java runtime or by virtual machine, capabilities, SELinux or whatnot is irrelevant in principle.

    8. Re:How about reducing the surface area? by argent · · Score: 1

      How the limit is imposed, by Java runtime or by virtual machine, capabilities, SELinux or whatnot is irrelevant in principle.

      The higher level it is, the more capable it can be without getting in the way. Implemented at the OS level, the way the article writer is talking about, the conflict between security and convenience is stark. Implemented at the language level, where the language itself contains no mechanism to do anything outside the application domain, it can be highly secure and almost invisible.

    9. Re:How about reducing the surface area? by drsmithy · · Score: 1

      What they've done is some link has downloaded a file, and then IE has popped up a dialog asking "do you want to open or save this", and they automatically clicked "open" because that's what they're used to doing.

      So how did they "get used to it" ? The default after downloading a file in IE is, and always has been, "Save".

    10. Re:How about reducing the surface area? by tepples · · Score: 1

      Get rid of the need for third party plugins like Java and Flash (HTML5 goes a long way here).

      A long way, but not all the way. Java is statically typed, and fast ways of running statically typed bytecode are better understood. This makes it possible to run an NES emulator in Java with much higher frame rate than an equivalent emulator in a fully dynamic language like JavaScript.

      Don't even *offer* to automatically open a file after downloading.

      Not even an HTML file?

    11. Re:How about reducing the surface area? by tepples · · Score: 1

      They can be made so that only way to access file system is by File Dialog (see Java Web Start / JNLP).

      But then the mechanism for providing a rich file chooser dialog, including a pane for previewing the selected file before opening, must be carefully designed so that the mechanism itself doesn't expose any holes.

    12. Re:How about reducing the surface area? by argent · · Score: 1

      Not even an HTML file?

      After *downloading*? To a local file on your disk?

      Given the way Windows security zones work, I'd almost say "especially not an HTML file". :)

    13. Re:How about reducing the surface area? by argent · · Score: 1

      So how did they "get used to it" ?The default after downloading a file in IE is, and always has been, "Save".

      1. Because Windows is always popping up dialogs with "open" as one of the options, and "open" is usually the option to clock on.

      Remember, most people don't use many keyboard shortcuts... I regularly get users going "how do you do that" when I hit tab, return, or space instead of reaching for the mouse. Most people, rather click stuff with the mouse. Especially when they have the mouse in their hand because they'd just clicked on a link they expected to open a new window.

      2. More recently, Outlook has been telling them to open attachments in separate applications instead of in Outlook itself, which has been providing even more incentive.

    14. Re:How about reducing the surface area? by tepples · · Score: 1

      Get rid of the ability for network apps to masquerade as local apps (there's no reason a web page should be allowed to remove the status and address bar, for example).

      I just thought of another one: When you've pushed the button to expand video to the full screen on YouTube or Hulu, do you really want a bright gray status and address bar ruining the picture's perceived contrast?

    15. Re:How about reducing the surface area? by tepples · · Score: 1

      After *downloading*? To a local file on your disk?

      You appeared to dis in-browser support for JAR and SWF applications and PDF documents, instead recommending that browsers require the user to download them in their entirety and then dig them out of the operating system's file manager before viewing them. So I almost expected you to recommend that a browser require the user to download an HTML document before viewing it.

    16. Re:How about reducing the surface area? by argent · · Score: 1

      A browser *is* an HTML viewer.

      Yeh, let the user run a dedicated PDF app or Flash app, and maybe idiots would create web pages in HTML instead of 30 different plugins (and all the associated performance and security problems that goes along with that).

    17. Re:How about reducing the surface area? by argent · · Score: 1

      When you've pushed the button to expand video to the full screen on YouTube or Hulu, do you really want a bright gray status and address bar ruining the picture's perceived contrast?

      I'd go along with that... anything to discourage the four hundred and sixty seven slightly different and flakey flash wrappers around streaming video players.

  55. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    Also, Sandboxie has another interesting use-case that isn't really mentioned.

    Sandboxie is GREAT for making pretty much any application portable.
    How annoying is it when programs need to be reinstalled because you reinstalled the OS and it no longer has any registry items?
    Well, no longer, install inside sandbox, backup before reinstalling, copy sandbox back over, bham.
    Of course, applications that depend on USER keys won't work. Only solution there is to write a script to replace the key IDs with the current users ID.

    I might write in to the developer to see if he could possibly add a tool in to do this automatically.

  56. Been There Done That. by thatkid_2002 · · Score: 1

    There is plenty of sandboxing technology out there, but few are willing to use it.
    I had some discussions on the Haiku OS forums about using some type of application virtualisation or sandboxing as a way to take care of OS level security. Links to these are Here... and Here.
    There is many ways to skin a cat, but its almost impossible to find the "best" way when you are trying to balance security and user experience.

  57. yo dawg by edittard · · Score: 1

    I herd u like sandboxing, so I put a sandbox in your sandbox so you can run in a sandbox when you're running in a sandbox.

    --
    At the bottom of the /. main page it says 'Yesterday's News'. Well they got that right.
  58. Re:Wow.... Welcome to Java applets, 1995... by Anonymous Coward · · Score: 0

    Sandboxes usually get filled with cat scat. We'll have to see what happens with software sandboxes, but definitely the term they were taken from - playground sandboxes - sure don't stay clean.

  59. Re:Whatcha gonna do, if the CPUs don't sell anymor by ca111a · · Score: 1
  60. Ever heard of an app called "SandBoxie"? by Anonymous Coward · · Score: 0

    Per my subject-line above?

    http://www.sandboxie.com/

    Now, from what I understand as to EXACTLY what it does & how it works? Well, what it does, is use a FILTERING DRIVER to "intercept" interrupts that send calls to the OS & filesystem to do writes to your local Hard Disk Drives, creating a 'virtual HDD' (really a set of folders, wherever YOU choose to place them also, mind you)

    Foor that?? Well - I use a solid-state drive called a GIGABYTE IRAM to do this, less latency this way (because unfortunately, this DOES add somewhat of a speed-hit to things if you use a std. mechanical HDD, even IF it's say, a 10,000rpm 16mb buffered WD Velociraptor)

    That's "sandboxing", in a nutshell, WITHOUT the use of a VM...

    (Folks MOSTLY tend to use it for internet surfing with a LOT more safety, & today/nowadays what with javascript exploits & such being foisted on us potentially @ least? Makes sense... but, it's NOT just restricted to webbrowsers either, so you all know this "up front", and, it works pretty well!)

    APK

    P.S.=> I suppose that *NIX folks MIGHT call it analogous to a chroot jail, but... well, there you are: Basically a GUI model of chroot, albeit for Windows rigs! apk

  61. Nah, it can still be done by Weaselmancer · · Score: 1

    Even in Windows.

    My home system? Windows XP. And I use VMware Player to access the internet. And nothing else. That's the trick. Towards that end here's what I've done:

    Step 1. I got a USB 2.0 10 Base T network doohickey. Then I plugged it in to my Windows box. It has never heard of the thing and wanted a driver. Cool! Step one - passed. There is no way my main machine can use this thing to get on the net. FWIW, if it had known how to connect to this thing I would have went and found the INF file that describes it and erase that. For part one the main thing is to have a USB gizmo that can connect you to the internet, and make sure your machine cannot use it. So for all purposes my main machine is not on the net.

    Step 2. I load up a VMware Player machine (also XP) and disconnect the virtual network adapter, so there is no network link between it and the host machine. Just in case the VM gets owned. Then I have VMware transfer the USB device to the VM. And I install the USB driver there. And there *only*.

    Viola! My main machine is 100% off the net, and not able to be owned. But I can still get on the net. I'm *sandboxed*. Zip up a copy of your VM and restore it every so often and Bob's your uncle. Be sure to save off your bookmarks and email to a shared folder. And if anything icky happens to your network VM, a full restore is just a file copy away.

    The only thing this doesn't work well for is online gaming. You won't be able to WoW with this setup. Well, you won't be able to do it very well. I'd imagine the game would suck in a VM. But since I don't play I don't worry about it much.

    --
    Weaselmancer
    rediculous.
    1. Re:Nah, it can still be done by Anonymous Coward · · Score: 0

      Interesting, but not effective against any quality malware. Why? Because quality malware supports relayed communications/chaining. Your main machine can talk to the VM. Your VM can talk to the internet. The malware on your main machine will just relay all it's data to the VM malware and then out to the internet. Some malware even organizes itself this way on purpose to avoid detection... that way, only a single machine inside a firewall will appear to be communicating to a random internet site... less suspicious and even if that single relay machine is caught, the malware will support an ad-hoc selection of another machine to resume relaying (after a random delay of course).

    2. Re:Nah, it can still be done by lgw · · Score: 1

      There are proven VMware breakout exploits. You've merely forced the malware to use somehting other than the network to escape. Not a practical risk today, but it's only a matter of time, unless we re-invent "trusted computing" with 100% less evil, and encrypt the host resources (especially memory, including CPU cache) at the hardware level.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    3. Re:Nah, it can still be done by tempest69 · · Score: 1
      ok. while malware blows.. That's not enough to make a system stable. The number of times I've had "explorer.exe has stopped working" alone make me cringe. or machine locks. This isnt one poor machine. It pervades computers. sandboxing is a nice step to reduce full system crashing.. but is so far from the full monty..

      Storm

    4. Re:Nah, it can still be done by CxDoo · · Score: 1

      What's the point of this setup?

      Whatever you want to download and use, has to come from the VM -> your security is compromised.

      Or... your main machine has no access to internet. Not really a solution.

      --
      "Blah blah blah." - [citation needed]
  62. Good choice Lumpy: I noted it too... apk by Anonymous Coward · · Score: 0

    "sandboxie... Great program, will NOT work on a 64 bit OS. IT has kept my Daughter's PC free of crap because she refuses to not click on everything and not use Internet explorer... so I sandboxed it. Click on everything, it's all sandboxed." - by Lumpy (12016) on Wednesday January 06, @03:32PM (#30674480) Homepage

    Per my subject-line above Lumpy, again: GOOD CHOICE!

    http://tech.slashdot.org/comments.pl?sid=1500360&cid=30676292

    Albeit, I extolled what I am PRETTY SURE is the "mechanics" of HOW it works, which is via a FILTERING DRIVER (and that's WHY it won't work on 64-bit OS, because it doesn't have a 64-bit driver ported for it... not yet @ least, but, I am sure it will one day!).

    I use it myself, albeit, on a TRUE SSD (so its F A S T on writes too, because of how it works? It helps... less latency, & especially on writes to disk!).

    It's probably the CLOSEST thing Win32 has right now to a *NIX-style "Chroot jail" basically... @ least in effect.

    APK

    P.S.=> Again: Good choice on your part though... &, always NICE to meet another "coinnoiseur" of Win32 freeware/shareware apps also! Glad this post on /. reminded me to look if there was an update, & recently (last month)? There was, so I went "up" from version 3.30 to 3.42, which is usually always good! apk

  63. standard on Ubuntu by pydev · · Score: 1

    Well, it's nice if Microsoft and Apple get their desktops upgraded, but AppArmor is standard on Ubuntu and has rules for common desktop apps in place.

  64. Re:you mean like an operating system is supposed t by Compholio · · Score: 1

    This isn't a Windows specific problem. The fundamental problem is the user/process model that's been popular since the inception of UNIX (maybe even earlier, I don't know enough about Multics to say): the idea that only users have identities and programs run under the identity (and permissions) of the user who runs it. If I'm running a game, there's no reason why it needs access to my tax spreadsheets, etc...

    You mean like SELinux? Brought to you by the NSA since 2000 and included in the kernel since 2003? I remember when it first became enabled in Fedora and broke all my games that used PunkBuster...

  65. Wishful thinking by tsotha · · Score: 1

    At the same time some people in the industry are talking about sandboxes other people are talking about adding yet more features to the browser so we apps can compete with boxed software. Added functionality nearly always wins over added security, so I expect we'll go into 2011 with even more avenues for Russian mobsters to lift your identity.

    Java has had a sandbox since forever, and it's virtually unused in commercial applications. Why? Because it's a pain in the ass to give the user everything he wants when you can't do things like connect to random URLs, use a printer, or open ports.

  66. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    Why not just create a highly restricted user account and setup the IE icon to launch as that user? Pretty simple and very fast (no performance hit at all). Deny write and delete access to all drives, deny write access to the registry, remove all privileges... that should do it.

  67. Re:Already here. It's on my family PC.. by wisty · · Score: 1

    Yes. Linux has many, many things that are pretty cool.

    Unfortunately, they haven't had a good all-together tied-in user experience.

    Claiming things like "we have chroot" and "we have sudo" and other code/geek-ish type of coolnesses is like claiming that your car has awesome engine with new piston technology, very secure door locks, and can run on almost ANY fuel currently available; unfortunately, the seats are rather uncomfortable and the controls on the dashboard look more like a commercial airliner's cockpit.

    Yes, I know it's getting better. That's good. I hope they keep it up and continue to improve issues that apparently many geeks don't care about and many average users do (like flash video [youtube] and audio) and being able to use their iPods and scanners). :)

    And you can't drive it into town because it's a boat, not a car. And the "road compatibility mode" is a little wonky.

  68. DNF and Linux by Gothmolly · · Score: 1

    Can I sandbox DNF on my I-Opener running Linux ?

    --
    I want to delete my account but Slashdot doesn't allow it.
  69. Re:you mean like an operating system is supposed t by Anonymous Coward · · Score: 0

    So give each system process its own user ID. That's how it's done on production servers. Problem solved.

  70. Re:Already here. It's on my family PC.. by hedwards · · Score: 1

    I take it you haven't used WIndows or Linux lately, there really isn't that much difference in terms of usability or ease of use. It's mostly the people who refuse to learn how to deal with Windows after a new service pack has been installed.

  71. Re:Already here. It's on my family PC.. by Anonymous Coward · · Score: 0

    Drilling holes in the hard drive and encasing the whole PC in concrete and then cutting the power cord works better. Problem is it makes a windows box just as useful as your idea.

  72. Re:Already here. It's on my family PC.. by CannonballHead · · Score: 1

    I use both daily, along with a few Unix flavors.

    There's some major, major differences in terms of usability and ease of use, depending on the distro. I was almost pulling my hair out dealing with Pulse vs. ALSA vs. OSS for sound. Using a half-baked audio solution by default is not a good idea (I'm looking at Ubuntu...).

    Flash video was another one of my woes. It was very stuttery when fullscreen on my machine, even though any other video was fine. I'm not sure if it was audio or video related, or even video drivers.

    I installed Windows 7 shortly after this on the same laptop (it's my OS "play" machine). I have had no troubles with it whatsoever. It even boots faster (that was pretty surprising).

    I'm sure there are other issues; those are just the major ones I ran into.

    And I said it had improved. I've used a lot of different distros... MEPIS based, PuppyLinux, SLAX based, PCLinuxOS based, SuSE (and SLES), Ubuntu (and various flavors of it), RedHat (and RHEL), Mandriva(/Mandrake), etc. Haven't really used Debian much, but have used Debian-based ones.

  73. Re:Already here. It's on my family PC.. by nschubach · · Score: 1

    She has a daughter and a husband as well? :p

    --
    Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
  74. It's not like it's impossible... by RulerOf · · Score: 1

    If you have the skill, and are willing to troubleshoot the process, installing multiple applications on a Windows server is quite entirely doable.

    The problem comes from the fact that it's so complicated to get it working correctly and even more difficult to troubleshoot it in the event of issues that you end up with a lower TCO in a virtualized "one VM per app" type of scenario.

    I, not having a large amount of Windows licenses or servers to work with on certain occasions (and having worked for peanuts on occasions) have gotten pretty good at it.... But even I will never [again] install Exchange on a multipurpose Windows install.

    --
    Boot Windows, Linux, and ESX over the network for free.
  75. Capability based operating systems by Anonymous Coward · · Score: 0

    The whole sandbox idea is utterly broken on all mainstream OS's that I know of as there is no fine grain capabilities that are even remotely close to what a capability based operating system can do. This includes the security circus that is Linux.

  76. Re:you mean like an operating system is supposed t by jonaskoelker · · Score: 1

    We talk about the principle of 'least privilege' but in practice (with a few notable exceptions) the 'low-privilege' processes have the most important privileges of all: access to all our stuff.

    What are you talking about? None of my users---whom I've made the embodiment of "least privilege"---have access to any of my stuff...

    -- your friendly neighbourhood BOFH

  77. But that's unrealistic! by jonaskoelker · · Score: 1

    But that's unrealistic! We all know that unicorns are pink and invisible. But by being invisible, the light they emit doesn't fracture in the same way as the sun's, so it couldn't have gone by the rainbow highway.

    I think a much more plausible hypothesis is that it was riding a flying pig.

  78. Re:Already here. It's on my family PC.. by smaddox · · Score: 1

    If you are willing to use the 32 bit version (which is all you need for standard desktop stuff), all of that stuff works.

  79. Re:requires sophistication & motivation; not o by jhol13 · · Score: 1

    user understand something about the sandbox

    Why? The user has no clue about ssh privilege separation and still it works extremely well.

    user go through various hassles because of the sandbox

    I agree Microsoft nor Linux can do it well, but just perhaps Apple might be able to do it seamless.

    A flash game has to be a Turing-complete program.

    Turing complete does not mean "must have access to whole system".
    Actually it means nothing in this context (there exist exactly zero Turing complete systems in the "real world"). AFAIK a PDF can take "long enough" to print that it makes no difference whether it is ever going to halt or not.

  80. Re:you mean like an operating system is supposed t by jhol13 · · Score: 1

    But the game you play does have. Or "ls" (dir in Windows), although it needs only read access to directories.

  81. Wait by MSDos-486 · · Score: 1

    Can someone explain how "sandboxing" is different then what chroot does?

  82. Re:Wow.... Welcome to Java applets, 1995... by RobertM1968 · · Score: 1

    Sandboxes are a tried and true idea, they work well. It's about time

    Ummm... didja mean "Sandboxes are a tried and true idea, they work well if Microsoft doesnt write the code"?

    Because it seems to me that it's been of no help with IE and Vista/Windows 7. Yeah, in theory, it's a great plan - and probably will work well everywhere else. But the key problem is it's ineffectiveness on Microsoft platforms/browsers - but then again, their failures keep business coming in for me. No complaints here. Forget what I said above...

  83. The Thin Line Between "Victim" and "Idiot" by Anonymous Coward · · Score: 0

    May I point you to: The Thin Line Between 'Victim' and 'Idiot' and The isolate utility

    And also a shoutout to lwn.net from whom I've been stealing much information for my Slashdot submissions and not giving them appropriate credit.

  84. Re:requires sophistication & motivation; not o by bcrowell · · Score: 1

    Turing complete does not mean "must have access to whole system".

    I didn't say that it did.

    there exist exactly zero Turing complete systems in the "real world"

    A Turing machine is of course a mathematical idealization. That doesn't mean that theorems about Turing machines don't tell us useful things. There's a mathematical theorem about mathematically ideal Turing machines that says that a Turing machine can't predict whether another Turing machine will halt. The real-world interpretation of this is that if real-world program A is written in something resembling a Turing-complete language (modulo the finite amount of memory, etc.), then in general it is not practical to write another such program, B, that can take programs like A as input and tell us anything useful about their behavior.

    AFAIK a PDF can take "long enough" to print that it makes no difference whether it is ever going to halt or not.

    The difference is that it's at least theoretically possible for an automatic computer program to look at a PDF at determine how long it will take to print. That's not even theoretically possible in the case of a PostScript file (again, modulo issues like finite memory, which do not invalidate the result for all practical purposes).

  85. Hear hear - an idea whose time has come by WinstonWolfIT · · Score: 0

    When a prediction spurs on nothing but agreement in /. on how to implement it, you know it's bound to happen.

  86. Uses of free RAM by tepples · · Score: 1

    and what exactly is the point of having RAM go unused?

    For one thing, on a computer under low load, the chipset or virtual machine monitor can turn off the second RAM stick. For another, some applications do a poor job of figuring out how much free memory should be left available to the operating system for caching and room to start other applications.

  87. Why is there no Sandbox.com by CrazyJim1 · · Score: 1

    Here is how it'd work:
    Download and run applications on someone else's computer via one of those nifty remote desktops.
    If it has a virus, you don't download and run it on your own computer.

  88. Easy to do in Linux by Random+Walk · · Score: 1

    I have a separate sandbox user for each application that accesses the net (mail, browser, ...). Each of these sandbox users is in its own group, and thus has access only to their own files and world readable (and eventually writeable, like /tmp) locations. Applications get started from my "real" account with sudo. I wonder why distros don't support that out of the box at least for the browser, because it would be fairly trivial to set up as part of a "create new user" script.

  89. Platforms that do not allow downloads by tepples · · Score: 1

    Yeh, let the user run a dedicated PDF app or Flash app, and maybe idiots would create web pages in HTML

    You propose to replace Java applets with JNLP, Flash with AIR, Silverlight with plain old .NET apps, and Adobe Reader plug-in with Adobe Reader executable. But your replacements don't work on a platform that doesn't allow downloads, such as a dedicated web terminal or a video game console. For example, Wii Internet Channel supports in-page Flash but not AIR. So how would a web application work if it requires more low-latency (that is, local) computing power than common JavaScript engines are able to provide, or if it needs a machine feature for which Java and Flash expose an API but web browsers don't?

    1. Re:Platforms that do not allow downloads by argent · · Score: 1

      So how would a web application work if it requires more low-latency (that is, local) computing power than common JavaScript engines are able to provide, or if it needs a machine feature for which Java and Flash expose an API but web browsers don't?

      Not everything that's a web application should be a web application.

      This is that old "security vs convenience" dilemma. I'd say this was a perfect example of a slippery slope, except you're so far down the slippery slope you've forgotten that there ever was solid ground to stand on.

  90. Platforms that ban native apps from small entities by tepples · · Score: 1

    Not everything that's a web application should be a web application.

    On the platforms I'm talking about, everything that isn't a web application must be 1. developed by a sufficiently large company and 2. digitally signed by the entity in control of the platform. This limits smaller entities to making only web applications, which leads to complaining that the API exposed to web applications is incomplete.

  91. Re:Already here. It's on my family PC.. by CannonballHead · · Score: 1

    I was using the 32 bit, as my old laptop, while a dual core, is one of the early dual core chips from Intel and was only 32 bit :)

  92. Don't use locked-in platforms, maybe? by argent · · Score: 1

    Yeh, DRM sucks, and locked platforms suck. We know that. There's a much better solution to the problem of rich homebrew apps on platforms like that, one that doesn't carry with it the implication that huge bleeding maggot-infested security holes are a good idea. I'll let you think about that for a while. I'm sure you'll get it.

  93. The hidden cost of going PC-exclusive by tepples · · Score: 1

    Does the next step up from JavaScript on a locked-down platform involve A. switching all our users to PCs, B. becoming a larger company, C. rendering everything server-side and increasing bandwidth use and latency to unacceptable levels (like OnLive), or D. something else? If so, which of the four? If D, please describe in more detail.

    Based solely on the subject of your comment, I'm guessing A, but then a $20 product suddenly becomes a $270 product because then we have to bundle a nettop PC and a VGA-to-SDTV scan converter (for CRT SDTV owners) with each copy. I've found that most people who game on a console own a PC but don't own a spare PC to put by the TV.

    1. Re:The hidden cost of going PC-exclusive by argent · · Score: 1

      In the alternate universe where companies take basic security seriously, there would be a market for consoles that weren't locked down, because people would have revolted against the restrictions that strong DRM imposed years ago. Or maybe you'd be using a rich scripting language native to the Wii that wasn't piggybacking on PC security holes. Or maybe you'd be working on another product because the particular niche you're selling into wouldn't exist.

  94. Wrong by CAIMLAS · · Score: 1

    2010 will not be the year of sandboxing applications. Give that another couple years, I think. System specifications are nowhere near high enough yet to make that a non-tedious infringement upon performance: consumers likely won't stand for it, and they're difficult features to implement (well) anyway. Poorly implemented sandboxing - which could arguably be considered 'infrastructural' to an application - isn't the kind of poorly implemented feature to walk forward with. Poorly implemented features at the infrastructure level = Windows engineering. Please, no.

    What I think 2010 will give us: a speedy departure from the Desktop, for both home and business users. The only people still using them predominantly in a couple years will be the geeks, and the setbacks.

    To move away from something, there's got to be something to move to... and with that, we've got a whole mess of inexpensive laptops and netbooks, and cellular phones/smartphones.

    Most people have very simple Internet "needs". Facebook, email, youtube... that's the Internet to them. Even crappy smartphones (Blackberry, LG) can do that pretty well (albeit somewhat slowly). In the next year we're going to see a slew of smartphones coming out with fast, capable processors, more advanced frontend software, and some pretty impressive specifications.

    So my prediction is: 2010 will be the year of smartphone malware and/or use.

    I don't think we'll be to the "my cell phone is also my desktop computer" for another couple years, but if someone releases a smartphone with DisplayPort or similar technology, well... could be.

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  95. Re:Already here. It's on my family PC.. by Perky_Goth · · Score: 1
    Flash video was another one of my woes. It was very stuttery when fullscreen on my machine, even though any other video was fine. I'm not sure if it was audio or video related, or even video drivers.

    From what I've read over time, it's purely an Adobe Problem. Of course, having stable and modern APIs would go a long way in helping them. It's almost there.
  96. Re:Already here. It's on my family PC.. by snadrus · · Score: 1

    Flash Video, Ipods, & Scanners all work much better than they once did, though they have a ways to go still. The things that get me are the "sys admin" tasks like setting a program to start per-user vs once-as-root or once-as-a-user. And if they have a GUI, trying to change it programmatically (since they all save to places and use commands unspecified in the GUI). Then there's the lack of multi-system synchronized actions like settings, updates, etc. Modern homes have 2+ PCs and increasing.

    --
    Science & open-source build trust from peer review. Learn systems you can trust.