• falseWhite@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      4 days ago

      Simply clicking a link to open a website would never infect your machine. Only certain files are loaded in websites, like images, html, css, and JavaScript runs in a sandbox. I.e. you are safe clicking links, browsing the web and letting the browser handle security of those website files.

      Downloading files to your machine carries a much bigger risk.

      That’s how the internet works.

      • Kuinox@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 days ago

        Simply clicking a link to open a website would never infect your machine.

        Exploit to escape the js sandbox exists, there is a dozen brower 0day per year.

        Only certain files are loaded in websites

        Any files are downloaded and loaded, javascript can download arbitrary file in memory, browser too if the server serves incorrect MIME types.

        Downloading files to your machine carries a much bigger risk.

        The files are downloaded on your machines either case, when the browser do it, it still write the files on disk in it’s cache.

        That’s how the internet works.

        Given your other comments, I’d argue you dont know how it works.

        • falseWhite@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          4 days ago

          The files are downloaded on your machines either case, when the browser do it, it still write the files on disk in it’s cache.

          You clearly don’t know why Chrome uses such massive amounts of RAM.

          server serves incorrect MIME types

          Those are checked by the browser and any mismatch is highlighted as suspicious.

          I guess you might still be using Netscape.

          Given your other comments, I’d argue you don’t know how it works.

          Go ask AI again to help you reply again.

          • Kuinox@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            4 days ago

            You clearly don’t know why Chrome uses such massive amounts of RAM.

            You clearly have no idea how modern browsers works.

            Those are checked by the browser and any mismatch is highlighted as suspicious.

            Yep, you have no idea, you spew nonsense.

            Go ask AI again to help you reply again.

            You should ask AI, you would learn something.
            I dont need, I worked as a dev on webapps, so I know what a browser do.
            Let me introduce you to: caching.
            https://en.wikipedia.org/wiki/Web_cache
            Which store on disk all the thing the browser query.

            • falseWhite@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              4 days ago

              You clearly have no idea how modern browsers works.

              Please explain.

              Modern browsers sandbox everything from js execution, css interpretation, html rendering, image decoding, media streaming, pdfs, extensions and so on.

              By default, secure browsers never execute anything, cached or not, outside of sandbox.

              Yep, you have no idea, you spew nonsense.

              I dont need, I worked as a dev on webapps, so I know what a browser do.

              So much of a developer you must be if you are unfamiliar with the “Resource blocked due to MIME type mismatch”.

              • Kuinox@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                4 days ago

                So much of a developer you must be if you are unfamiliar with the “Resource blocked due to MIME type mismatch”.

                Good you used chatgpt, now ask it if it’s foolproof or not. I know it’s not, you can smuggle executables in images or various other ways.

                You didn’t knew that the browsed cached web requests a second ago.
                You didn’t knew basic functionality phone functionality for basic internet hygiene either.

                And now you try to make me think you know things ?

                Please explain.

                Mosts requests your browser make, is written on disk for caching, you claimed no, it was stored in memory and that’s why chrome take so much ram, right there:

                You clearly don’t know why Chrome uses such massive amounts of RAM.

                Then

                Downloading files to your machine carries a much bigger risk.

                Which is simply wrong, as long as you don’t do anything with the file. The file instead of being in the cache, would just be in your download folder.