News for hackers. Stuff that matters.
Re:Alan Kay on “Should web browsers have stuck to being docu... by nine_k on Monday January 09, 2023 @07:45AM (#34309711)
When you download a program from the internets, it does not have access to any of your stuff. Can't read files. Can't make network requests. Can't access cameras or microphones.

You explicitly give it permissions to access something: give it a document you want to edit, allow it to save a result at some location (without giving it an idea what else exists at that location), allow it to connect to certain hosts on the internet, but not others, politely decline a request to use your camera, etc.

Very much like you do with a web app running in your browser.

Re:Alan Kay on “Should web browsers have stuck to being docu... by ModernMech on Monday January 09, 2023 @08:34AM (#34310116)
Another example: you have a printer, a printer server, and N clients connected to the server. You send a capability to the clients that grants them usage of the printer. That capability allows them to print at certain time in black and white only, but the marketing department gets a capability that allows them to print in color.

Your customer comes to the office comes and wants to use the printer while he’s there, so you use your capability to send them a capability that will give them access to the printer (b/w only still, they can’t get color because you can’t get color) for an hour. However their capability is restricted such that they will not be able to grant anyone else access to the printer