548
submitted 8 months ago by IverCoder@lemm.ee to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Strit@lemmy.linuxuserspace.show 149 points 8 months ago

What if your app actually needs access to the internet?

[-] tony@lemmy.hoyle.me.uk 166 points 8 months ago

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

[-] cheerjoy@lemmy.world 125 points 8 months 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 4 points 8 months ago

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

[-] FooBarrington@lemmy.world 17 points 8 months 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 8 points 8 months ago

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

[-] snowfalldreamland@lemmy.ml 39 points 8 months ago* (last edited 8 months 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.ee 24 points 8 months 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 23 points 8 months ago
[-] Empricorn@feddit.nl 37 points 8 months ago

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

[-] Theoriginalthon@lemmy.world 49 points 8 months 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 12 points 8 months ago

Lol, sorry no network access either.

[-] taladar@sh.itjust.works 8 points 8 months ago

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

[-] grue@lemmy.world 4 points 8 months ago

BRB, modulating my RGB to send data...

[-] QuazarOmega@lemy.lol 25 points 8 months ago

Download the internet along with it!

[-] ivanafterall@kbin.social 38 points 8 months ago

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

[-] QuazarOmega@lemy.lol 6 points 8 months ago

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

[-] ivanafterall@kbin.social 8 points 8 months ago

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

[-] QuazarOmega@lemy.lol 2 points 8 months ago

Thank you, good... bye

[-] 1984 7 points 8 months ago* (last edited 8 months 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.ee 24 points 8 months ago

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

this post was submitted on 06 Nov 2023
548 points (94.6% liked)

Linux

45530 readers
1188 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS