▲ | mikewarot 2 days ago | |
The question more than 100 years ago was "If anyone can put together a lamp and plug it in, how will we keep our houses from getting burned down by the wires in the wall?" The solution then, and the solution now, is to limit what can be delivered to a load, electrical, or computational, before plugging things in. In our homes, we have circuit breakers, or fuses, electrical codes and their enforcement. In our computers, we could have the PowerBox[1], which, much like the breakers in a house, serves to limit what resources are given to a program. Unlike AppArmor, etc., this is done at run-time, and takes the place (often seemlessly to the user) of the file handling dialog boxes the user would encounter anyway. The actual application code changes required would be minimal. PS: Yes, this has been brought up before[2] [1] https://wiki.c2.com/?PowerBox [2] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... |