Lemmy for LUS
  • Communities
  • Create Post
  • 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
93
fedilink
548

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

i.imgur.com

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

    What if your app actually needs access to the internet?

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

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

      • cheer
        link
        fedilink
        125•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
          4•2 years ago

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

          • @FooBarrington@lemmy.world
            link
            fedilink
            17•2 years ago

            Why does an IDE need unfettered access to my whole FS? Access to the project directory, and maybe the runtime directory, have to be enough.

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

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

      • @snowfalldreamland@lemmy.ml
        link
        fedilink
        39•
        edit-2
        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 has access to a private app-specific filesystem, just not to the host.

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

      • @IverCoder@lemm.eeOP
        link
        fedilink
        English
        24•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.

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

        Portal.

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

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

      • @Theoriginalthon@lemmy.world
        link
        fedilink
        49•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
          8•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
            4•2 years ago

            BRB, modulating my RGB to send data…

    • QuazarOmega
      link
      fedilink
      25•2 years ago

      Download the internet along with it!

      • ivanafterall
        link
        fedilink
        38•2 years ago

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

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

          https://github.com/iiab/iiab

          • ivanafterall
            link
            fedilink
            6•2 years ago

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

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

            Lol

        • QuazarOmega
          link
          fedilink
          6•2 years ago

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

          • ivanafterall
            link
            fedilink
            8•2 years ago

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

            • QuazarOmega
              link
              fedilink
              2•2 years ago

              Thank you, good… bye

            • @Cwilliams@beehaw.org
              link
              fedilink
              1•2 years ago

              Jane

      • @1984@lemmy.today
        link
        fedilink
        7•
        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
      24•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
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

  • 90 users / day
  • 391 users / week
  • 1.53K users / month
  • 5.31K users / 6 months
  • 8 subscribers
  • 8.7K Posts
  • 226K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org