VA-11 Hall-A Bar
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@IverCoder@lemm.ee to Linux@lemmy.mlEnglish • 2 years ago

If only more Linux programs followed sandboxing best practices...

i.imgur.com

message-square
84
427

If only more Linux programs followed sandboxing best practices...

i.imgur.com

@IverCoder@lemm.ee to Linux@lemmy.mlEnglish • 2 years ago
message-square
84
  • Strit
    link
    fedilink
    115•2 years ago

    What if your app actually needs access to the internet?

    • @tony@lemmy.hoyle.me.uk
      link
      fedilink
      132•2 years ago

      Or actually do anything useful? No network, no filesystem… it’s a hello world app isn’t it…

      • cheer
        link
        fedilink
        91•2 years ago

        No filesystem access for a flatpak app just means it cant read host system files on its own, without user permission. You can still give it files or directories of files through the file explorer for the app to work with, just that it’s much safer since it can only otherwise view files in its sandbox.

        • @ian@lemmy.sdf.org
          link
          fedilink
          2•2 years ago

          Which is fine for some apps, try that with an IDE.

          • @Disregard3145@lemmy.world
            link
            fedilink
            6•2 years ago

            To be fair, the title says more apps, not all apps…

      • @snowfalldreamland@lemmy.ml
        link
        fedilink
        32•2 years ago

        There are portals: https://docs.flatpak.org/en/latest/desktop-integration.html#portals . they allow secure access to many features. Also any flatpak app still have access to Private filesystem, just not to the host.

        Doesn’t work for all applications but for many sand boxing is possible without a loss of features.

      • @Pantherina@feddit.de
        link
        fedilink
        20•2 years ago

        Portal.

      • @IverCoder@lemm.eeOP
        link
        fedilink
        English
        14•2 years ago

        There’s Obfuscate, an image redactor, and Metadata Cleaner which is self-descriptive. Both works properly without any filesystem access at all, because they use the file picker portal to ask the user for the files to be processed.

    • @Empricorn@feddit.nl
      link
      fedilink
      English
      31•2 years ago

      Oh come on, what modern program actually needs to communicate or access the file system?

      • @Theoriginalthon@lemmy.world
        link
        fedilink
        42•2 years ago

        Exactly all programs should be web based cloud subscription only. We don’t want that filthy code on our rgb nvme drives

        • @Kbobabob@lemmy.world
          link
          fedilink
          12•2 years ago

          Lol, sorry no network access either.

        • @taladar@sh.itjust.works
          link
          fedilink
          6•2 years ago

          Wouldn’t want the gaping security hole open that is hypnotizing the user via RGB control.

          • @grue@lemmy.world
            link
            fedilink
            English
            3•2 years ago

            BRB, modulating my RGB to send data…

    • @QuazarOmega@lemy.lol
      link
      fedilink
      18•2 years ago

      Download the internet along with it!

      • ivanafterall
        link
        fedilink
        30•2 years ago

        I’m self-hosting the entire internet. I hope you guys are enjoying yourselves.

        • Norah (pup/it/she)
          link
          fedilink
          English
          13•2 years ago

          https://github.com/iiab/iiab

          • ivanafterall
            link
            fedilink
            3•2 years ago

            That’s super cool. I bookmarked it. Thanks!

          • @Pantherina@feddit.de
            link
            fedilink
            2•2 years ago

            Lol

        • @QuazarOmega@lemy.lol
          link
          fedilink
          4•2 years ago

          Thanks for having us on your server… when can I get out again though?

          • ivanafterall
            link
            fedilink
            6•2 years ago

            I just unplugged you. Give it a minute or two and no more pain.

            • @QuazarOmega@lemy.lol
              link
              fedilink
              2•2 years ago

              Thank you, good… bye

      • @1984@lemmy.today
        link
        fedilink
        6•
        edit-2
        2 years ago

        I remember in 1995-ish or something when I used the internet for the first time using the Netscape browser… And I was asking a friend if he had tried all the web sites yet. Just got a weird look back… :) I didn’t know what the internet was back then at first.

    • @IverCoder@lemm.eeOP
      link
      fedilink
      English
      17•2 years ago

      The app can then declare the network permission and it will still be marked as safe.

Linux@lemmy.ml

!linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 742 users / day
  • 3.5K users / week
  • 7.36K users / month
  • 16.4K users / 6 months
  • 56.3K subscribers
  • 7.71K Posts
  • 192K Comments
  • Modlog
  • mods:
  • @nooter692@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.19.1
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org