4 ms·
Ubiquitous networking, and the lack of a suitable operating system to match it. When I started programming, systems with floppy disks that held 360k were the n
by mikewarot 5y ago
Ubiquitous networking, and the lack of a suitable operating system to match it.
When I started programming, systems with floppy disks that held 360k were the norm. Those disks could be write protected. Diskcopy was a standard DOS command that allowed you to have an exact copy of your data, protected against alteration by the hardware of the machine, and the write-protect tab.
You could directly know what data you were putting into the computer, if it was at risk of modification, and you could even tell if it was being accessed, because it was slow and noisy. Modern Operating Systems have no such provisions for controlling access to data in a obvious and transparent manner.
The hardware was simple enough that there was nowhere for malware to hide. Now that we have systems to boot our systems, that's no longer true. There's no operating system available to provide anywhere near the assurance of MS-DOS on a stand alone twin floppy drive machine.
Because things were inherently secure, shareware was huge. You could freely try out new things, dozens of things in a sitting, sourced from a guy selling floppy disks at a computer club meeting, and know you couldn't possibly mess up your computer or your work.
There is no equivalent operating system security today. The only reasonable approach, in my mind, is that of capability based security. In those systems, you decide what specific resources (files, folders, network access, etc) to make available to a program when you run it. If you didn't include it, your application can't get at it, no matter what. This in direct opposition to the way things are done now, where the program might pull up a file dialog, but then directly accesses the files without oversight, and can do anything you're allowed instead of what you told it.
Couple insecure operating systems with ubiquitous networking, and it's a recipe for disaster.
I figure 5 more years before people wake up to the root cause, and 10 more before it starts getting fixed.
- jfrunyon 5y agoYou're forgetting a step in your "reasonable approach". How do you expect a user to know whether or not they should grant access for HN.exe to talk to 127.0.0.1 or for mikewarot.exe to access some file? The reality is the sort of system you suggest almost inevitably ends up being the same as broad permission-based security like current mobile OSes have, because the only scalable decision is "give it access to all resources in a category if it asks and that seems appropriate". However, those systems DO exist in both Windows and Linux.
- mikewarot 5y agoConsider cash in your wallet... you quite easily hand out tokens to clerks for transactions. Instead of a dialog box run by an application to open a document, you have the OS do the same thing, and enforce the decision of the user. As far as the user interface, the same steps would happen, but security would be radically improved. Broad based permissions are horrible kludges, and make explaining fine grained capabilities much harder to do, but I don't have a better term for it. If some random application wants to phone home, you could allow it, or not, or give it X amount of bandwidth, the options are limitless. I don't know what the optimal conventions we'll settle on will be. I know if I were to specify them, they'd definitely be the wrong ones. ;-)
- jfrunyon 5y agoOh, that's great. Good to hear that the user interface will totally be the same. ring ring Hey mikewarot, my computer is asking me if I should grant TotallyAGoodApp.exe access to C:\WINDOWS\system32\config\sam. I went ahead and said yes because I wasn't sure. Clearly you've never worked in any kind of remotely user-facing position.