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
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reflected Assembly -> Class Instance should have no Access to the System (Sandbox)

Reflected Assembly -> Class Instance should have no Access to the System (Sandbox)

Scheduled Pinned Locked Moved C#
questionjsonhelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    softwarejaeger
    wrote on last edited by
    #1

    Hello, how can i run or create an instance of a class, which runs in a sandbox (so have no access to the filesystem and so on) and is only able to communicate over for example my host application over an api? The api and so on is no problem, that is already implemented, but the problem is to restrict all those access... Has somebody any idea for doing this? Thanks

    0 P 2 Replies Last reply
    0
    • S softwarejaeger

      Hello, how can i run or create an instance of a class, which runs in a sandbox (so have no access to the filesystem and so on) and is only able to communicate over for example my host application over an api? The api and so on is no problem, that is already implemented, but the problem is to restrict all those access... Has somebody any idea for doing this? Thanks

      0 Offline
      0 Offline
      0x3c0
      wrote on last edited by
      #2

      I don't know if you'll be able to do everything you've described, but you could probably try loading the assembly with various permissions. I'm not certain how you would go about this though.

      OSDev :)

      1 Reply Last reply
      0
      • S softwarejaeger

        Hello, how can i run or create an instance of a class, which runs in a sandbox (so have no access to the filesystem and so on) and is only able to communicate over for example my host application over an api? The api and so on is no problem, that is already implemented, but the problem is to restrict all those access... Has somebody any idea for doing this? Thanks

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        If the classes in the Assembly wants to access the system I don't think you can stop it.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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