GithubHelp home page GithubHelp logo

Comments (5)

Lumute avatar Lumute commented on July 30, 2024

Ok, I think I figured out a solution for this, indeed seems lime multiple users using the same sandbox is not suppoterd.

I was saving all sandboxes to a common path for all users. Putting the %USER% variable back in the FileRootPath makes it create create a separate instances of the same sandbox configuration for each user. That solves one problem but the next is that I prep each sandbox by installing one or more applications so when another user runs that sandbox a blank one is created, mmm...

I fixed this with a logon script that duplicates my user sandboxes in the right folders for each user that logs in, which brings me to the following suggestion which I think should be fairly simple to implement:

Would it be possible to add a Sandbox Setting called something like TemplateSandboxPath with a path to another sandbox, so when you start a sandbox, if Sandboxie detects it does not exists instead of creating a blank one then it copies the one in the TemplateSandboxPath instead of creating a blank one. If that path is invalid or not a sandbox the create the blank one as it does now...

I think this would be really useful.

BTW, it is amazing to see the community picking up on this code and now being open source. I would love to help and although I don't have much time I would be happy to add something like what I just suggested above... is the project open to other contributors? what would be the process to do this? or if not, is there a way to at least make a donation?

from sandboxie.

DavidXanatos avatar DavidXanatos commented on July 30, 2024

Yes indeed a sandbox can currently be used by one user,
a feature like suggested could be relatively easily added.
Although it may be worth looking into the possibility of allowing multiple users to use the same sandbox.

I will take a look into it.

You can donate on my homepage https://xanasoft.com (using paypal) or through patreon: https://www.patreon.com/DavidXanatos

from sandboxie.

DavidXanatos avatar DavidXanatos commented on July 30, 2024

mmh...

There is the setting KeyRootPath=\REGISTRY\USER\Sandbox_%SANDBOX%
what can be used to specify where to mount the registry file and using it this way changes the behavior such that for all users it will expect the hive to be mounted in the same place.

Unfortunately it sill fails as it than tries to mount the reg file. The expected behavior would be to realize that the file is already mounted and jut use it.

I Will look into how to fix that.

from sandboxie.

DavidXanatos avatar DavidXanatos commented on July 30, 2024

hah that was easy... it actually works, you just need to also use
FileRootPath=C:\Sandbox%SANDBOX%
to ensure its expecting the same file path to be mouned

So with this two parameters you can make any sandbox be usable by multiple users.

Cheers
David X.

from sandboxie.

DavidXanatos avatar DavidXanatos commented on July 30, 2024

There is one more potential issue... sandboxie uses separated folders fort user data,
having multiple users use the same sandbox will result on their sand boxed files to be mangled together.

You could add open path settigns such that all user files are not sandboxed.

I will add to the next build the option SeparateUserFolders=n that will disable this behavior and just keep the user files under drives/c/users/[username]...

from sandboxie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.