Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Technology
  3. Given that a lot of Python software I see already by convention runs in a venv, which is at least somewhat-isolated from the rest of the system...I wonder how much harder it would be to make it the norm for most Python software to run in an isolated sa...

Given that a lot of Python software I see already by convention runs in a venv, which is at least somewhat-isolated from the rest of the system...I wonder how much harder it would be to make it the norm for most Python software to run in an isolated sa...

Scheduled Pinned Locked Moved Technology
3 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tal@lemmy.todayT This user is from outside of this forum
    tal@lemmy.todayT This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    Given that a lot of Python software I see already by convention runs in a venv, which is at least somewhat-isolated from the rest of the system...I wonder how much harder it would be to make it the norm for most Python software to run in an isolated sandbox, without broader filesystem access. Like, kinda follow an Android-like model, where there's an application-private directory and permissions that mostly make the app keep to itself.

    I do run some Python software in firejail. But it'd need to be a norm for how the software is distributed. Can't require a bunch of technical work on the part of end users.

    A 1 Reply Last reply
    0
    • System shared this topic on
    • tal@lemmy.todayT [email protected]

      Given that a lot of Python software I see already by convention runs in a venv, which is at least somewhat-isolated from the rest of the system...I wonder how much harder it would be to make it the norm for most Python software to run in an isolated sandbox, without broader filesystem access. Like, kinda follow an Android-like model, where there's an application-private directory and permissions that mostly make the app keep to itself.

      I do run some Python software in firejail. But it'd need to be a norm for how the software is distributed. Can't require a bunch of technical work on the part of end users.

      A This user is from outside of this forum
      A This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      You can't simultaneously have an executable that operates in a private sandbox and maintain all the features expected of the programming language.

      tal@lemmy.todayT 1 Reply Last reply
      0
      • A [email protected]

        You can't simultaneously have an executable that operates in a private sandbox and maintain all the features expected of the programming language.

        tal@lemmy.todayT This user is from outside of this forum
        tal@lemmy.todayT This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        You're correct. Not all software will be able to usefully run under such a restriction.

        But I think that a very substantial amount probably can.

        1 Reply Last reply
        0
        • System shared this topic on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups