Slashdot Mirror


Google, Mozilla Working on Letting Web Apps Edit Files Despite Warning That it Could Be Abused (techrepublic.com)

Google and Mozilla are heading a group that is devising a way for users to save changes they make using web apps. From a report: The idea is to allow users to save changes they've made using web apps, without the hassle of having to download new files after each edit, as is necessary today. "Today, if a user wants to edit a local file in a web app, the web app needs to ask the user to open the file," said Google developer advocate Pete LePage. "Then, after editing the file, the only way to save changes is by downloading the file to the Downloads folder, or having to replace the original file by navigating the directory structure to find the original folder and file. This user experience leaves a lot to be desired, and makes it hard to build web apps that access user files."

To this end, the W3C Web Incubator Community Group (WICG), which is chaired by representatives from Chrome developer Google and Firefox developer Mozilla, is working on developing the new Writable Files API, which would allow web apps running in the browser to open a file, edit it, and save the changes back to the same file. However, the group says the biggest challenge will be guarding against malicious sites seeking to abuse persistent access to files on a user's system. "By far the hardest part for this API is of course going to be the security model to use," warns the WICG's explainer page for the API. "The API provides a lot of scary power to websites that could be abused in many terrible ways."

112 comments

  1. ActiveX, anyone? by 93+Escort+Wagon · · Score: 5, Insightful

    Nah, I’ve tried and tried - but I really can’t see how this could possibly go wrong...

    --
    #DeleteChrome
    1. Re:ActiveX, anyone? by fred911 · · Score: 1

      "canâ(TM)t see how this could possibly go wrong..."
      Ah... here's how..

      Microsoft Silverlight

      --
      09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    2. Re:ActiveX, anyone? by AHuxley · · Score: 1

      Microsoft Chrome https://en.wikipedia.org/wiki/... expanded deep in to the OS from the browser :)

      --
      Domestic spying is now "Benign Information Gathering"
    3. Re:ActiveX, anyone? by helllllllloooo · · Score: 1

      OK lets be brutally honest here. Are we concerned about security in the sense that Jimmy Fallon might not want his jokes stolen by his audience? Or is it more like NBC doesn't want to be responsible if a joke offends someone? C'mon, we're all friends, you can tell us hehe.

    4. Re:ActiveX, anyone? by nazsco · · Score: 4, Interesting

      You forget one thing: Google!

      Google is microsoft plus advertising.

      When IE was pushing internet specs over W3c, it had nothing but the OS carrot pulling in users. If the website didn't like IE, it could just ask the user to change browsers, and the user did.

      Now we have Google, who controls both the users via chrome (and access to their own products, just like microsoft --try to use hangouts, which is required for interviews etc, without chrome!) but besides that, it also controls the websites via their Ad business.

      Now you have someone who have a monopoly on both user and site choices. Pushing one webstandard after another over everyone's heads. E.g. http2, http3... which is actually UDP...

      Here how it is going down: they will convince all the good engineers that could block this abusive idea that the feature will have lots of UI alerts. The first use case will be something like photoshopOnline. Then, when those smart people are not looking, they will make every site request the permission because they will use it for data persistence on their analytics code! then they will make this the default on chrome, because users complain about too many popups! then they will move this to data persistence for adWords et al. And at this point it is end game trying to not be tracked among devices and accounts on google ecosystem.

    5. Re:ActiveX, anyone? by Anonymous Coward · · Score: 0

      April Fools?
      Why even have a sandboxing environment? Just run all web code as Administrator, don't even warn about it!

    6. Re: ActiveX, anyone? by Anonymous Coward · · Score: 0

      Or he could make sure you never use it against him if he hangs you.

    7. Re:ActiveX, anyone? by Cmdln+Daco · · Score: 1

      In a way it sounds good. Because if they drop turds in my filesystem, I can just delete them. Or even change/corrupt them.

      Perhaps we can even come up with a 'wrench in the works' utility for people to run.

    8. Re:ActiveX, anyone? by mentil · · Score: 1

      How is 'local persistent tracking data' different from cookie files? That functionality already exists. There will be addons that delete these, if all that were to happen. Most people currently get 0 prompts for cookies, so it's unlikely Google would go to all that trouble.

      --
      Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
    9. Re:ActiveX, anyone? by Anonymous Coward · · Score: 1

      I think it's odd that literally every major comment in this discussion on /. is about security.
      Isn't there a much more important problem?
      This is a push to make sure that the software you'll use in the future isn't running (completely) on your system. Proprietary desktop software can at least in theory be reverse engineered or perhaps copied even if that means going against the law. But when part of the software is running on a server somewhere, what then?
      If this is going to go ahead, it will be yet another huge blow to computer users and software freedom.

    10. Re:ActiveX, anyone? by Anonymous Coward · · Score: 0

      Google is microsoft plus advertising.

      I thought Windows 10 was Microsoft plus advertising.

    11. Re:ActiveX, anyone? by q4Fry · · Score: 1

      Yeah, and it wasn't limited to files, either. Did you ever hit someone's website and have your CD tray physically eject from your tower?

  2. abused? by Anonymous Coward · · Score: 0, Funny

    If the user is choosing specifically where to navigate to, what is the risk?

    1. Re:abused? by Opportunist · · Score: 2

      Do you know a user that really knows where he's navigating to? Do you really think you know what things your browser loads when you surf to a page? You'd be surprised just WHAT kind of bullshit gets loaded, and from what sources.

      This is abuse waiting to happen.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    2. Re:abused? by fred911 · · Score: 2

      "things your browser loads when you surf to a page?"

      I've recently been required to view web pages without Ublock enabled. It amazes me how much JoeSixpack will allow others to waste his resources, without even talking about latency before the resource is viewable.

      It's reprehensible.

      --
      09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    3. Re:abused? by Dunbal · · Score: 2

      Because pages don't have ads and all advertisers are 100% honest and legitimate and have never, ever tried to install malware before.

      --
      Seven puppies were harmed during the making of this post.
    4. Re:abused? by Narcocide · · Score: 1

      Advertisements.

  3. LAWL by Anonymous Coward · · Score: 1

    This shit gets better and better.

    The good news is that there is now a huge opportunity for yet another browser to quickly rise and supplant both Chrome and Firefox.

    Take the best form both code bases, throw out the utterly fucking stupid parts like this, Pocket, and reporting every keystroke to Google, and boom Mosaic-NG puts them all to shame.

    I'll make an awkward confession: I work on Windows PCs a lot. I've always immediately installed Firefox and more recently Chrome. But, for the past few months, I've been using Edge with success. It's as fast or faster than Chrome and it lacks Google's bullshit.

    I know it can't last, but maybe I'll use Edge until Mosaic-NG is ready.

    This post made with Firefox 50.1

    1. Re: LAWL by Anonymous Coward · · Score: 0

      tldr; LOL Windows, ignore your opinion

  4. a lot of 'scary power'...indeed. by Anonymous Coward · · Score: 1

    and even more when the inevitable bugs in this api are exploited.

    file this under #whatweretheythinking and #donotwant

  5. #doNotWant by phantomfive · · Score: 5, Insightful

    "The API provides a lot of scary power to websites that WILL be abused in many terrible ways."

    FTFY. Fix your current mound of security bugs to demonstrate you have the ability to make a secure API, and then you might be able to convince people you have the ability to actually make it secure.

    --
    "First they came for the slanderers and i said nothing."
    1. Re:#doNotWant by Anonymous Coward · · Score: 0

      They really are that dumb.

    2. Re:#doNotWant by phantomfive · · Score: 1

      I thought Google had good people working there, but apparently they have really really bad people working there, too.

      --
      "First they came for the slanderers and i said nothing."
    3. Re:#doNotWant by Anonymous Coward · · Score: 0

      Your sentence is one word too long.

    4. Re:#doNotWant by AmiMoJo · · Score: 0

      What is this mound of security bugs you refer to? Modern Firefox and Chrome are both incredibly secure, especially considering they spend all day handling arbitrary data and running arbitrary scripts.

      We have had this panic several times before. Remember the Web USB API? That was going to be a security nightmare, massively abused and used to take over every poor sap's PC the moment it was deployed. Yet here we are, it's been around for years now, and somehow, presumably by blind luck rather than skill, they managed to make it secure.

      If you refuse to give them credit where it is due they won't listen to your concerns this time.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    5. Re:#doNotWant by Anonymous Coward · · Score: 0

      Fix your current mound of security bugs to demonstrate you have the ability to make a secure API, and then you might be able to convince people you have the ability to actually make it secure.

      Google doesn't have to "convince people they have the ability to make it secure".

      They don't have to convince anybody of shit.

      Now that they own the browser market, and increasingly the transport layers and server-side components too, they just have to roll it out.

      Whatever Google says is a standard, is a standard.

      Everybody else is a rounding error.

    6. Re:#doNotWant by phantomfive · · Score: 1

      What is this mound of security bugs you refer to?

      Just look here.

      The main thing I would be looking to see here is if they can find a way to stop XSS exploits, because this API is going to have similar attack vectors.

      --
      "First they came for the slanderers and i said nothing."
    7. Re:#doNotWant by Anonymous Coward · · Score: 0

      Yeah, it was so secure that it was disabled last March because of security holes.

      https://bugs.chromium.org/p/ch...

    8. Re:#doNotWant by Anonymous Coward · · Score: 0

      My big nígger cock was too long for yo mama! At least at first. Soon she learned to love it!!

    9. Re:#doNotWant by WaffleMonster · · Score: 1

      What is this mound of security bugs you refer to?

      Probably this one..

      https://www.cvedetails.com/vul...

      Modern Firefox and Chrome are both incredibly secure

      You got the "Incredible" part right.

      We have had this panic several times before. Remember the Web USB API?
      That was going to be a security nightmare,

      Um no Firefox does NOT support Web USB... Chrome is alone in this madness.

      It very much has been a security nightmare.
      https://pwnaccelerator.github....

      massively abused and used to take over every poor sap's PC the moment it was deployed. Yet here we are, it's been around for years now, and somehow, presumably by blind luck rather than skill, they managed to make it secure.

      What does Web USB have to do with granting web sites write access to local filesystem? I fail to see the linkage. They are two separate features with separate security properties. Each must be evaluated on the merits not by some ridiculous unfalsifiable false equivalence.

    10. Re: #doNotWant by Anonymous Coward · · Score: 0

      The best. Bigly best. My cousin works at google. He attended 4 community colleges. He knows a thing or two about APIs and security. Smart people. Very smart.

    11. Re:#doNotWant by thegarbz · · Score: 1

      Of course it will be abused in many terrible ways. But at some point you have to ask yourself to what extend do you wish to restrict what a user can do with their own machine. I mean this web-app thing is no different than a normal app downloaded from the web. Do we go the Apple way and curate the entire experience while blocking file system access through insane APIs?

      There's a reason the computer has survived the age of the iPad, it's because it's useful.

    12. Re:#doNotWant by phantomfive · · Score: 1

      Do we go the Apple way and curate the entire experience while blocking file system access through insane APIs?

      Yeah I think blocking access to the filesystem is the right way to go here.

      Again, if you can stop XSS problems, then give this a try. Otherwise it's just going to be a mess.

      --
      "First they came for the slanderers and i said nothing."
    13. Re:#doNotWant by Anonymous Coward · · Score: 0

      That's a pile of mostly fixed bugs. The bugs that aren't fixed are mild: note that "gained access level" is "none" on everything, and only a handful of the bugs (and these have all been fixed) allow either XSS or the saving of an executable that a user could manually run later if fooled.

      The vast majority are bugs where a web browser could be crashed by visiting a malicious website - aaand that's it. For obvious reasons, no web designer in their right mind would exploit those kinds of bugs except as a prank, which no professional would do.

  6. Pandora's Box by Anonymous Coward · · Score: 1

    Oh crap, this is going to be even worse than WASM.

    WASM : Let malicious apps mine crytocurrencies
    Writable files API: oh you didn't need that hosts file did you, let's just make it so that bank of america, citibank and wells fargo map to my fake bank website ip address, nobody will notice.

    To say nothing of breaking existing ad blocking tech by erasing or whitelisting themselves.

  7. A browser plugin, by wolfheart111 · · Score: 1

    probably much like the one google uses in it browser to take screenshots.

    --
    [($)]
  8. This is great news! by Opportunist · · Score: 3, Funny

    Total job security coming our way, let the champagne bottles roll in!

    Yours,
    Infosec department

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:This is great news! by Anonymous Coward · · Score: 0

      Security in a bottle (restricted container) rolled in!

    2. Re:This is great news! by infolation · · Score: 1

      in vino veritas!

    3. Re: This is great news! by Anonymous Coward · · Score: 0

      Until increased demand inspires a search for cheaper infosec resources.

  9. Make your app the browser by AHuxley · · Score: 1

    Need software to be an application?
    Have the user download the app and let that application have a "browser" GUI.
    How deep should any random encrypted web site gat access deep into a user OS? Past ad blocking, past AV software? To move files around? To upload files found? To copy out file names?

    --
    Domestic spying is now "Benign Information Gathering"
    1. Re:Make your app the browser by Anonymous Coward · · Score: 0

      Web browsers keep getting increasingly complex, so would it not be better if web apps could be accessed via some form of remote desktop instead?

    2. Re:Make your app the browser by cascadingstylesheet · · Score: 1

      Need software to be an application? Have the user download the app and let that application have a "browser" GUI. How deep should any random encrypted web site gat access deep into a user OS? Past ad blocking, past AV software? To move files around? To upload files found? To copy out file names?

      The Microsofts and Googles of the world have long, long wanted to blur the lines between what's on your machine, and what's elsewhere. ("Web desktop", anyone?)

      I can totally see them wanting web apps to seamlessly edit files on your computer.

    3. Re:Make your app the browser by infolation · · Score: 1

      It's becoming 'browser inception'.

      Originally we were supposed to throw away our fully-fledged laptops and just use a lightweight 'netbook' to access our apps running in the cloud.

      But now that's not light or safe enough, so we need to virtualise the netbook and run our in-browser apps on a cloud-based 'virtual netbook' accessed through our local netbookbook.

  10. Missing name by Anonymous Coward · · Score: 1

    Imagine the meltdown on /. if *Microsoft* was included in that group of companies trying to put this together.

    There'd be no end to the same old tired, recycled jokes.

    OTOH, substitute "Microsoft" with "Google" or "Mozilla", and this is pretty much what we're already getting...

  11. Do they have security in mind? by Sigma+7 · · Score: 2

    Browsers frequently follow the "auto-execute random code" paradigm, where it just takes one rogue ad to redirect you to a page that tries to force a download of "java_update.exe".

    navigating the directory structure to find the original folder and file.

    Most programs (or the OS) at least remembers the last location at which the file was saved, thus you only have to navigate the directory structure the first time you have to open a specific file. That's why the save window often doesn't revert back to some default folder for each new file.

    Not to mention that some of this directory navigation wouldn't be as difficult if apps made it easy to find their files.

    1. Re:Do they have security in mind? by Anonymous Coward · · Score: 0

      Even if the web app was limited to open files via a browser provided open dialog, and this dialog let users determine whether the app can read/write, read only, or overwrite but not read the original contents of the file, I guess many users will just grant read/write to all apps...

    2. Re:Do they have security in mind? by AmiMoJo · · Score: 1

      Actually, third party scripts can't trigger a redirect. It's part of the standard.

      Also most browsers don't allow downloads to be triggered by redirects or Javascript, only direct user interaction. That's why sites started trying to trick users into clicking stuff rather than auto-downloading. And even that doesn't work very well because once you tricked the user they still have to click through multiple warnings and their AV software has to fail before your code gets to run.

      The argument that modern browsers execute arbitrary code isn't very compelling. Most applications accept arbitrary data of some kind. We used to have fun crashing mail clients and IRC clients and even FTP servers with some dodgy data. It's rather fundamental to networked computers.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    3. Re:Do they have security in mind? by Anonymous Coward · · Score: 0

      The argument that modern browsers execute arbitrary code isn't very compelling. Most applications accept arbitrary data of some kind. We used to have fun crashing mail clients and IRC clients and even FTP servers with some dodgy data. It's rather fundamental to networked computers.

      Then you should know that the more complex the code the easier it is to make a mistake. You should also know that it's harder to determine malicious intent programmatically if the app is expected to have such functionality normally.

      The problem with providing an API isn't providing the API itself, but rather the problem lies in providing the mechanisms necessary to effectively control and audit the use of said API and the resources it provides access to.

      Also most browsers don't allow downloads to be triggered by redirects or Javascript, only direct user interaction. That's why sites started trying to trick users into clicking stuff rather than auto-downloading. And even that doesn't work very well because once you tricked the user they still have to click through multiple warnings and their AV software has to fail before your code gets to run.

      And this API allows direct access to files without needing to do or deal with any of that. So all of those security layers were just rendered irrelevant by this new API. Now rather than downloading something to manipulate the data, the site can just manipulate the data directly by itself. So your codepath just changed from:

      Server->Client interpreter->User action->Download->AV Check->User action->OS Security Check->data manipulation

      to:

      Server->Client interpreter->User action?->OS Security Check->data manipulation

      Hopefully user interaction is still a requirement, but I can imagine several scenarios (DRM, evercookies, etc.) where that requirement may be relaxed.

      Further, you've also failed to consider the security context of this as originally it was:

      Browser sandbox->User context->new file

      Now it's:

      Browser sandbox->User context->all user files

      I'll just leave this here. Feel free to replace facebook, gmail, paypal, dropbox, and bank with any other service or any other personal data that may be stored under the user's account. As that's typically the most valuable thing on the given device nowadays, and they already have access to the machine's hardware resources via ASM.js and friends.

    4. Re:Do they have security in mind? by Sigma+7 · · Score: 1

      Actually, third party scripts can't trigger a redirect. It's part of the standard.

      I've had this standard violated within the past month when listening to Internet radio. Leave radio running in the background, then suddenly the page is redirected to some virus alert. Another person i help with tech support also reports getting redirected to a virus alert page as well.

      We used to have fun crashing mail clients and IRC clients and even FTP servers with some dodgy data.

      More often than not, such crashing is an explicit violation of the standard where you send data which those clients don't know how to handle them. Easily fixed by making a better client/server that is less prone to malfunction.

      With Javascript, it's a blob of executable content that everyone knows is going to execute. It is completely foolish to allow such code to have free reign, which was practically the case when it first became popular - as if programmers never learned the lessons from floppy boot sector viruses, or even from MS Office macro viruses. As it's part of the design, any corrections has to be done in the standard itself, and will have unintended side-effects for legitimate scripts.

      Blindly run everything was default in the 1995-2005 era, and perhaps persisted even longer. In fact, it took that long just to find a way to prevent the simplest of malicious scripts (the alert() loop) to lock down the entire browser.

    5. Re: Do they have security in mind? by Anonymous Coward · · Score: 0

      In 1995, we knew executable code was bad. If you look back in slashdot history when Microsoft enabled visual basic code in Outlook, people knew what would happen.
      https://m.slashdot.org/story/11262

        History repeats.

  12. Oh lawd by mccalli · · Score: 1

    I can remember laughing at people who thought it was possible to get a virus through email. And then...yeah, not laughing quite so much anymore. What the hell is this one? Ye gods.

  13. It's just a dumb case repeat of the times of 64k by Anonymous Coward · · Score: 0

    64k memory and no swap space.

    I guess all the cases of a faulty decompression valve are over even though many people still use them.

    Once they are programming things for no good reason, well it's probably time for a new browser.

    Anyone want to invest in one?

  14. Give Me an Opt-Out or I'm Switching Browsers by Anonymous Coward · · Score: 3, Interesting

    I don't feel this is secure and don't need it. If Mozilla implements this API in Firefox and doesn't allow me to opt-out of it and restrict it, I'll find a new web browser. It's not acceptable from a risk-reward perspective for someone who doesn't use web apps to edit files on one's hard drive.

    Really, I think this should be blocked on an operating system level if possible, at least showing a dialogue box warning you when a website in your browser is trying to do this and giving the option to accept one-time only, decline one time only, or set to allows allow or always deny. If Windows 10 is going to keep being updates incessantly with questionable features and higher bug counts, they can at least give us this, or the browsers themselves don't.

    It might be a good idea to ask some of the smaller browsers like Waterfox, Vivaldi, Pale Moon, and Basilik whether or not they are going to adopt this. Maybe one or more of them will make a good fallback if the more mainstream browsers and big operating system don't want to protect their users.

    I kind of get when Google Chrome is doing this- Google wants everything done on the Internet because that's where their ads are and that's where they can get data on your to use to target you ads, and they will ignore obvious significant security concerns to achieve that. Why Mozilla would play follow the leader on this, I'm not sure. I guess they don't want to be perceived as lacking a feature the market leading browser has. However, this isn't a feature, it's a bug (See what I did there? :) ).

    1. Re:Give Me an Opt-Out or I'm Switching Browsers by Luthair · · Score: 1

      Which browser would that be, Edge? One imagines Microsoft might want this for Office so maybe Internet Explorer 11?

    2. Re: Give Me an Opt-Out or I'm Switching Browsers by Anonymous Coward · · Score: 0

      Curl

    3. Re:Give Me an Opt-Out or I'm Switching Browsers by Anonymous Coward · · Score: 1

      I don't feel this is secure and don't need it. If Mozilla implements this API in Firefox and doesn't allow me to opt-in of it and restrict it, I'll find a new web browser. It's not acceptable from a risk-reward perspective for someone who doesn't use web apps to edit files on one's hard drive.

      FTFY.

      No-one should have something like this turned on by default. Especially in a program who's entire purpose is downloading random stuff from the internet. No sane person would suggest this as a good thing to add during a developer's meeting. (If they do they'd had better have their desk cleared out before they suggest it.) This is something being pushed by idiots, who once again prove they don't know any better, and shady malcontents who'd love the ability to drop even more random ads on you.

      First method of abuse? WannaCry V3.0. Nothing like encrypting all of the user's personal data for ransom direct from a program that wouldn't be suspected when using high amounts of CPU, RAM, HDD, and network resources amirite?

      Second method of abuse? More evercookies. Now with extra traceable data.

      Third method of abuse? Downloading entire thumbdrive images directly over the internet. Because someone just had to make \Device\Harddisk1\DR1 or /dev/sdb1 accessible to this. (Looking at you Windows USB/DVD Download Tool.) Worse assuming the system is even remotely set up properly, it will lead to people becoming accustomed to blindly accepting random legitimate security warnings popping up because of their browser. If the system isn't, I hope /dev/mem is exempt from this.

      There needs to be a line drawn and enforced here. We've entered an era where browser developers have been inserting more and more dangerous code into their browsers because of management meddling and the idiot masses, at everyone's expense. We need to get ourselves out of it. For everyone's sake.

    4. Re:Give Me an Opt-Out or I'm Switching Browsers by Anonymous Coward · · Score: 0

      Why is Mozilla in on this? Where does 90% of Mozilla's funding come from? Alphabet/Google.

    5. Re:Give Me an Opt-Out or I'm Switching Browsers by Anonymous Coward · · Score: 0

      Their original status of a charitable foundation was supposed to protect them from this sort of thing. Conceptually, there would be no profit motive beyond break even to pay the salaries of the paid employees and fund development, and they could go directly to the people for donations if they had to and could make it's case for why. Also, though they did try to switch to Yahoo as their default search engine (And in theory make it their biggest cash inflow if users hadn't all promptly either changed the search engine back to Google on their personal installs, or, for the more privacy conscious, something like DuckDuckGo) for a while before restoring Google.

      However, the move to having a companion corporation, to allow themselves to carry over profit from year to year I think was a big corrupting influences. Maybe the corrupting influence was always there, or the move was made with the best of intentions, to have a war-chest in case of having to do a Googexit on short notice or the like. However, I think the end of it was that Mozilla operates more and more like what at least half of it's nature now is- a corporation. It seems like a mistake from the outside looking in.

      Right now, it's the best browser for my purposes on Android and PC, but I was there semi-close to the beginning on PC, jumped off well before the great curved tab exodus, and jumped back on again with Photon (Android several years prior simply because it was best Android browser with an add-on infrastructure and ad-blockers- fewer choices on a phone). I'll jump to whatever the best solution is for me on each platform at any given point- as long as we don't reach Singularity-levels of browser innovation where the best is changing more than on a once every few days or weeks basis (At least give me a few months or preferably years). I can export my bookmarks and re-import them to whatever (Any browser that doesn't offer this wouldn't be my thing anyway).

      Of course, the thing is, as been pointed out above, with Google controlling large swathes of the Internet even beyond it's basic goods and services (i.e. beyond the things like Gmail, Google Maps, etc. that are obviously labeled Google), and more and more into HTML standards (Especially for the mobile web, but for desktop also to a lesser extent), the question may come upon us soon where it's like "Will any browser that isn't Chrome or that doesn't keep close compatibility with Chrome work for the average web-user to do all or most of the things they use the web for anymore?". I mean, there will always be someone there with a fork or maybe a simpler freshly coded browser (Because you can't build modern browser level of complexity anymore without at least borrowing or forking a browser engine unless you've got a tremendous amount of financial backing a huge staff), but whether or not it'll work for people who just want to browse the web and have the sites load as intended by the site owners and don't have a huge ideological axe to grind where they don't care if half the web is broken and are just not going to bend for certain things ("The line must be drawn...", etc.) is an open question long-term.

      I'm thinking that a lot of the smaller browsers that aren't adopting EME-DRM, whether it's out of principle or an inability to facilitate it with whomever is running it and front costs, could herald the beginning of things going in that direction (Granted, they have been already, for years, but that'll be a bigger thing). Will people still use a non-Big 4 or 5 browser if one day it can no longer run Netflix and such? Because Flash or Silverlight fallbacks will be deprecated eventually. But that's really just a small part of it, because you could run a separate browser or the official app for some sites like that. But when it starts becoming all the popular sites, including non-video stuff, that require whatever Chrome, Firefox, Safari, and Edge have decided to do (Which, really is whatever Chrome wants to do), the smaller browsers holding out will have a tougher time being alternatives without an alternative Internet to use them on.

  15. Sandbox? by Anonymous Coward · · Score: 0

    Didn't browser makers just spend years trying to isolate browsers in sandboxes as much as possible to protect the rest of your computer? This pretty much destroys the sandboxes for all intents and purposes, if implemented. It gives a malicious webpage the power to reach right through to your file system and edit at will.

  16. I want simple by AndyKron · · Score: 1

    Can't just be a browser, can it?

    1. Re:I want simple by infolation · · Score: 1

      Lynx FTW!

  17. Good. Working on the issues that matter. by Anonymous Coward · · Score: 0

    Forget about advancing the state of the art with quantum compute or AI,
    Or solving problems like famine in Yemen -
    As long as we can have a better user experience - I'm happy.

    1. Re: Good. Working on the issues that matter. by Anonymous Coward · · Score: 0

      What have the Roman's ever done for us?

  18. Bad Idea by Anonymous Coward · · Score: 0

    This is a really bad idea.

    Of course the entire 'web' is a bad idea now that its been perverted into a client-heavy JavaScript infected cesspool. Long gone are the days of the original intent, a simple, lightweight display client.

  19. All structured data is a code. No way around it. by Anonymous Coward · · Score: 1

    HTML5 is turing-complete without JS. CSS3 and HTML5 is all that's needed.

    In any case. You don't need to have Turing-complete code. The risk of security holes for any data that is processed, is proportional to that data's structural complexity. Period. Even simple syntaxes can be can be context-sensitive. Even if not intentionally.

    So yes, whenever you receive *anything* from the outside, be very wary, limit the interface and the data's structural complexity as much as you can, and use hardened code, until you have processed it all. And don't forget, that UTF-8 is a quite complex code too.

    Hell, this text here is a code to program your brain. What we speak/write, is the language of manipulation. And there is no person without bugs (triggers, ignorance/delusion, illusions, etc).

  20. why not just install a plugin? by Khashishi · · Score: 1

    If the user wants to use a particular web program that messes with the user's files, then they can install a plugin from the webpage.

    1. Re:why not just install a plugin? by e432776 · · Score: 1

      I was just thinking.. isn't this the sort of "functionality" that was installed by various Java(TM) plugins years ago? And for which the same plugins were condemned for being insecure? Seems like a poor idea to bundle this with the browser now..

  21. There go another 20% of CPU power by Anonymous Coward · · Score: 0

    You know the next step: Someone will add another level of indirection to separate the newly capable browser from data that it must not touch, for example an automatic virtual machine to run the browser in an environment separate from the actual OS. And there go another 20% of the CPU power, wasted on an increasingly deep stack of abstractions which alternately separate things and join things, just because everybody latches onto the thing that everybody uses and tries to make it do their special trick too. It's a web browser, not an OS. It browses the web.

  22. What is the real practical use case? by scamper_22 · · Score: 1

    Just what is the real practical use case here?

    The vast majority of editors out there are made to work with the storage being in the 'cloud'.

    Google docs: you keep the file in Google Drive.
    Confluence: you edit in confluence

    That's the direction most apps are going. Are the current exceptions? Of course there are. Picture editors tend to work like how they describe in the article with the upload/edit/download phase. But some of these are even moving to cloud platforms.

    I can personally think of a much safer/1st draft solution that solves 99% of the headaches that I have when encountering local files.

    The problem is when you download a file, it doesn't know where it was on your local PC, so you have to navigate and that is annoying.

    So you could have a simple mechanism
    1. For the file upload dialog, the browser can pass the local file location to the website.

    2. Upon download, the website passes this location back to the browser, so the browser can open the save dialog to that location.

    This way the user is still involved at every step, just as they are now. Things like autosave are of course not availalbe, but for websites, this solves the major problem for most files. Mult-file edit problem are another story which can happen, but I think this 1st simple case solves most of it.

    The obvious security hole here is the local file location being passed to the website. You wouldn't want that for every file upload, so a new component with security permissions would have to be created. But at least... even if it is compromised, it is not the worst thing. Just a file location.

    You could complicate it by having this mechanism be local to the browser. So instead of passing the actual local file location, the browsers stores that in local storage, and passes some token value to the website. When the website passes this back to the browser, the browser does a lookup and starts the file download to that location.

    1. Re:What is the real practical use case? by Anonymous Coward · · Score: 1

      But at least... even if it is compromised, it is not the worst thing. Just a file location.


      X-File-Upload-Local-Source: C:\Users\Anon Y. Mous\Documents\Work\Old Jobs\Data\Totally NOT PORN\kinky\Personal Fetishes\34028492094204.jpg

      Yeah, gives a whole new meaning to sanitizing the meta-data now doesn't it?

  23. Very simple answer for the security model by raymorris · · Score: 2

    The article raises the question of which security model os needed.

    Security has been been studied a lot, and there are many well-defined models, an acronym soup of security models to choose from. Since this is my field, I've studied most all them to varying degrees.

    There is a very simple answer to the question of which security model will prevent abuse while allowing the API to be useful. They need the U.N.I.C.O.R.N. security model. It's called UNICORN because it doesn't exist. There is no security they can put on this that will work.

    1. Re:Very simple answer for the security model by phantomfive · · Score: 1

      There is a very simple answer to the question of which security model will prevent abuse while allowing the API to be useful. They need the U.N.I.C.O.R.N. security model. It's called UNICORN because it doesn't exist. There is no security they can put on this that will work.

      Yeah, I tend to agree. The best Google can hope for here is an API that lets them constantly answer criticism by saying, "Developers are using the API wrong! That's why it's insecure!" While ignoring the fact that the very nature of the API makes it practically impossible to not use 'wrong'

      --
      "First they came for the slanderers and i said nothing."
  24. Return to platform-specific applications by tepples · · Score: 1

    Have the user download the app

    We're sorry!
    $APPNAME is not yet available for $PLATFORM. We apologize for the convenience.

    In what way would a return to OS-specific applications be superior to what we have now? Even if you build your application using Qt or another multi-platform framework, and you cross-compile it, you can't cross-test the application on a machine that you don't have. And even if you can rent a remote desktop of a given platform through the Internet, responsiveness of a remote desktop through the Internet is not indicative of responsiveness when used locally.

    1. Re: Return to platform-specific applications by Anonymous Coward · · Score: 0

      Superior in the fact we would go back to fully native apps optimised for the platform they are built for, as opposed to the web ui hell we have today, looking at you VMWare...

    2. Re: Return to platform-specific applications by tepples · · Score: 1

      In the scenario that you envision, would it be common for people to buy multiple machines in order to run applications exclusive to each platform? For example, would it be common to carry both a Windows or X11/Linux laptop and a MacBook, or both an iPhone and an Android phone?

  25. Urgent Firefox Update by tepples · · Score: 1

    Actually, third party scripts can't trigger a redirect. It's part of the standard.

    If your claim is true, then most web browsers that I've used violate the standard, as I've seen third-party advertisement scripts on Slashdot redirect the browser to a fraudulent "Urgent Firefox Update" page.

  26. Browsers implement WebExtension API by tepples · · Score: 1

    First, you can't install a Chrome extension from a web page unless that web page is Chrome Web Store, and Google has been known to "curate" (i.e. censor) Chrome Web Store to remove extensions that hurt Google's business model.

    Second, any platform integration functionality available in an extension has to be implemented in the browser through APIs that it exposes to extensions. What's the meaningful difference between making an API available to a website and making the same API available to a website-specific extension?

    1. Re:Browsers implement WebExtension API by Waccoon · · Score: 2

      Both of these points directly highlight the real issue: it's about control.

      Technically, nobody forces you to use a plugin, and everything can be disabled by default unless you turn it on. It's a user choice. By banning plugins and using only "standard" APIs implemented by the browser developers, they ensure everything is under their control. Same reason for forcing signed extensions, which was always a bad idea. They'll allow it only if they like it. Users can't be allowed to make choices we think are dangerous... for their own good. Also, when a bad extension is discovered in the wild and causes a ton of damange, it may only take a deluge of complaints racked up over 6 months to get the extension pulled from the store. Maybe. If they feel like it.

      Yeah, there's always some nutcase who has to argue that "most" people are too ignorant to make good choices, and thus forcing the curated model is a good thing. Might as well cater to the lowest common denominator and make things miserable for everyone (and keep adding new crap that props up that ad business model -- security be damned). It's all marketing and politics.

  27. Going offline is one by tepples · · Score: 1

    The vast majority of editors out there are made to work with the storage being in the 'cloud'.

    Good luck with the "cloud" once you have left your wired router's cable range or Wi-Fi router's signal range and/or run out of cellular hotspot data for the month.

  28. I feel like I'm in the twilight zone... by RhettLivingston · · Score: 2

    I feel like I've entered the twilight zone when I read an argument that storing my work on my machine is dangerous while storing it anywhere else is considered safe. Security has been compromised the moment my data isn't stored on my machine. Virtually every internet service today is a major security breach. And when someone tries to come up with something to reduce the near-requirement that all data be given up from inception, people call it a security threat? WTF? That's some pretty rich spin control.

    1. Re:I feel like I'm in the twilight zone... by Anonymous Coward · · Score: 0

      when someone tries to come up with something to reduce the near-requirement that all data be given up from inception, people call it a security threat?

      The security threat, as you already pointed out, was giving up the data to them in the first place. If the data had not been given to them in the first place, there would be no need for a "download prompt."

      The actual problem posed by this solution is far worse. As the "solution" involves not only giving up the data to them, but also allowing them to alter your own copy of said data directly. Previously, they couldn't alter pre-existing files. This "solution" does away with that restriction. The "solution" also creates an entirely new range of security threats that didn't apply before. Example: Ransomware needed to be downloaded and executed locally before, now it can run from within the browser itself, without the need for an exploit.

      There is no spin here, just the fact that whoever came up with this didn't do the due diligence on what the impact and risks of their proposed changes would be.

    2. Re:I feel like I'm in the twilight zone... by WaffleMonster · · Score: 1

      I feel like I've entered the twilight zone when I read an argument that storing my work on my machine is dangerous while storing it anywhere else is considered safe.

      Most browsers support local storage for applications. Websites are able to store data on your local computer in a local file store that only the site can access. Websites are currently also able to prompt you to upload files from your computer and save files to your computer.

      Security has been compromised the moment my data isn't stored on my machine.

      More likely it was compromised before that when software was loaded / executed from someone else's machine.

      Virtually every internet service today is a major security breach.

      People who don't want to be owned run software from vendors they trust and don't let it screw around on the Internet.

      And when someone tries to come up with something to reduce the near-requirement that all data be given up from inception, people call it a security threat? WTF? That's some pretty rich spin control.

      The reason this is a security threat is external web sites can gain access to modify your files. Imagine a browser dialogue that asks the user to upload a data file. The chooser selects file for upload and then at some future time website retains the capability to access and modify local file without prompting to insert a virus that is executed the next time data file is accessed or to exfiltrated additional data the user didn't intend to share.

      Given that websites can already:

      1. Store and manipulate data locally
      2. Prompt for user file to upload
      3. Prompt for user file to save/overwrite

      The question is whether this feature serves sufficiently useful purpose to warrant risk given current capabilities or will it on balance be leveraged primarily for malicious intent. Well over 90% of security breaches are achieved by way of social engineering / tricking end users who frankly don't understand what all of these security dialogues mean.

  29. Constructive suggestion by WaffleMonster · · Score: 1

    Don't do it, don't even think about it.

  30. Plugins! by Waccoon · · Score: 1

    So after all the major browsers went berserk banning all plugins in sight, now they want to bring back the same functionality all over again.

    But, hey, now it doesn't come from those nasty, untrustworthy 3rd-party developers. The browser boys will do it right! Trust us!

    I've been saying it for a long time. The real reason why plugins were killed is because it was technology that the browser developers couldn't control. It was all politics and security had nothing to do with it.

    1. Re:Plugins! by Anonymous Coward · · Score: 0

      Firefox halts and catches fire when the Flash plugin tries to get hit with a known exploit.
      To think even to this day, there are still exploits for Flash.

      So yes. I'd think trusting the browser programmers would be less bad, than trusting the 3rd party plugin makers, who potentially wouldn't prioritize security or are lazy or are acquired or out of business.

  31. Transparent Versioning by mentil · · Score: 1

    I foresee two main problems: 1) "hey in order to see the dancing pig, I first need you to upload this .DLL file from a certain directory. I lost mine. pls?"
    File access granted, file overwritten with trojan, loaded and executed by Windows/whatever on boot.

    2) File out of sync between two devices, old version autosaves over new version, which propagates to every connected device, and the new updates are gone forever everywhere.

    An easy-ish solution to both is to never actually overwrite anything -- just make a new file every time changes are saved, and the browser maintains a database for what the most recent version of a file is (or just check timestamp in metadata/filename). DLLs won't get overwritten and loaded, and updated data won't be accidentally lost forever. Of course this does nothing to stop people from uploading sensitive data, but people can already do this.

    --
    Corruption is convincing someone that the selfless ideal is the same as their selfish ideal.
  32. Sounds like a bad idea... by Anonymous Coward · · Score: 0

    But I'm excited. I have apps I wrote for work that I can make function a lot smoother with this API

  33. Email viruses by aberglas · · Score: 1

    Actually, I wrote one of the early email viruses.

    We just got new terminals with programmable function keys. Put an escape sequence in the text of the subject, and people wondered why they were suddenly locked out.

  34. about:config "disable" by Anonymous Coward · · Score: 0

    isn't a web app supposed to use JAVA?
    once the java app is downloaded you can run it and give it access to your local storage (HDD).
    you can also allow it so serve request from the mothership e.g. the site from which you original got the java web app?
    the mothership can then profile ... errr ... remember you, so that if you login with your unique token on another computer
    the JAVA web app gets downloaded (again) and it in return downloads all your junk (again)?

    i guess, right-clicking on a google-web- app link and then clicking "save as ..." and plopping whatever comes your way into "/srv/www/htdocs" on you local 127.0.0.1 apache instance would be consider stealing?

  35. google chrome engineers by Anonymous Coward · · Score: 0

    google chrome engineers were not even ablle to manage CORS for local files (xml file are not allowed to load xsl) and they want to do THAT ?
    WTF

  36. Not a big problem if OS is used correctly by drinkypoo · · Score: 1

    If the user has write access to executables, then the OS is already being misused. That goes for every single program which installs itself in the user's directory instead of into Program Files or equivalent. Minecraft, Chrome... And that's where the problem lies. If you're backing up your data and you're using your OS correctly then so what if the browser can write out a file? It's not going to cause you any problems in that case. Unfortunately, users misuse systems, Windows was designed to be misused in particular, and of late a lot of app developers have taken the lazy route and implemented self-download and -update instead of bothering to integrate with package managers. This means that they have to write executables to your profile directory, which is a horrible and terrible mistake only made by lazy pricks who don't care how much they compromise the security of your system.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:Not a big problem if OS is used correctly by Anonymous Coward · · Score: 0

      Classic Word documents (especially) had executable code in them.
      Lots of programs just blindly copy large chunks of document files into memory (for speeeeeed, it's always about speeeeeed).

      So the attack vector isn't just from writing to executable programs or dropping .dlls.
      It's being able to directly modify data files to exploit other executable programs that run locally on the machine at a high enough privilege.

  37. webtards by Anonymous Coward · · Score: 0

    why do files need to be edited in a "web app" again?

    1. Re:webtards by Anonymous Coward · · Score: 0

      Because Notepad.exe is too lightweight and simplistic to use. Firing up a .7G app that can and will push what you edit outbound is the ONLY way to go.

  38. WebExtention killed Chatzilla by MrLint · · Score: 1

    Well as one of the killers of chatzilla was the lack of a file access method in the conversion to webextentions. (https://bugzilla.mozilla.org/show_bug.cgi?id=1246236)

    chroot and jails (https://www.freebsd.org/doc/handbook/jails-build.html) arent a new concept.I don't know what kinda overhead is involved in having each extension or page have a root based on its own namespace, but it doesn't seem impossible. However I do see a couple of things to abuse, filling up the file system with junk accidentally or on purpose, and does the browser dispose of the jailed files on quit, tab closure, some other criteria?

    Perhaps another alternative would be a filestore file, like a VM file. The app doesn't actually write to the file system it only commits to its own blob. I also wonder if this could be sufficiently done via the already built in DB engine, which IIRC FF uses SQLite.

  39. Not "could be" by meerling · · Score: 1

    Not "could be abused", but rather "will be abused".
    There is zero doubt of this, so why try to make it seem otherwise

  40. IMPERSONATING ME AGAIN? apk by Anonymous Coward · · Score: 0

    gweihir KNOWS u IMPERSONATE me https://it.slashdot.org/commen... c6gunner proves it https://linux.slashdot.org/com... he forgot to SUBMIT as AC & using his registered 'lusrname' instead (because he tried to mock me both BEFORE & after I FAIRLY challenged him to show he's done better work - he had ZERO).

    & NO WAY I'd "cry" like you "playing victim ne'er-do-wells" on /. (TROLL /.ers, not all) OR post on hosts offtopic.

    YOU HELPED ME https://science.slashdot.org/c... (& you quit trying to make me look bad trying to "tell lies" on hosts as "ME" IN YOUR IMPERSONATIONS of me e.g. https://tech.slashdot.org/comm... as regards Intel speculative execution attack? Hosts PREVENT 'EM)

    APK

    P.S.=> I KNOW the 2nd to last link above's KILLING YOU - YOU ACTUALLY HELPED ME getting me to see if hosts stop more than portsmash (& Meltdown + Spectre too) & "lo & behold" - hosts WORK on 'em - U LOSE... apk

  41. What's next? by BobbyWang · · Score: 1

    An API to gain root access?