It may be a stupid question, but...
It may be a stupid question, but...
I have a question about Forced Programs.
What happens if I have the same forced program registered in more than one sandbox and, say, I start it not in any one of those sandboxes, but using instead (unsandboxed) Windows Explorer or from the Start Menu? Assuming that Sandboxie would trap the program invocation, which sandbox would prevail, for example concerning Internet access restrictions for the program concerned?
What happens if I have the same forced program registered in more than one sandbox and, say, I start it not in any one of those sandboxes, but using instead (unsandboxed) Windows Explorer or from the Start Menu? Assuming that Sandboxie would trap the program invocation, which sandbox would prevail, for example concerning Internet access restrictions for the program concerned?
-=-=-=-=-=-=-
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
-
- Sandboxie Support
- Posts: 2337
- Joined: Mon Nov 07, 2016 3:10 pm
Re: It may be a stupid question, but...
Hello cocoon,
The program will run in the first Sandbox that it is forced to start in.
You can test it if you have the paid version. Just set a program to forced in multiple Sandboxes and you'll see the behavior.
Please find more info here:
https://www.sandboxie.com/ForceProcess
Regards,
Barb.-
The program will run in the first Sandbox that it is forced to start in.
You can test it if you have the paid version. Just set a program to forced in multiple Sandboxes and you'll see the behavior.
Please find more info here:
https://www.sandboxie.com/ForceProcess
Regards,
Barb.-
Re: It may be a stupid question, but...
Thanks Barb.
Forgive me if I didn't fully understand the explanation.
Taking as an example the information in the link that you mentioned:
[DefaultBox]
ForceProcess=iexplore.exe
ForceProcess=firefox.exe
[MailBox]
ForceProcess=outlook.exe
ForceProcess=firefox.exe
What would happen in the above situation? If Firefox were to be started unsandboxed, would it run as a forced process in the DefaultBox or in the MailBox sandbox?
Forgive me if I didn't fully understand the explanation.
Taking as an example the information in the link that you mentioned:
[DefaultBox]
ForceProcess=iexplore.exe
ForceProcess=firefox.exe
[MailBox]
ForceProcess=outlook.exe
ForceProcess=firefox.exe
What would happen in the above situation? If Firefox were to be started unsandboxed, would it run as a forced process in the DefaultBox or in the MailBox sandbox?
-=-=-=-=-=-=-
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Re: It may be a stupid question, but...
Hi cocoon, the proper thing to do would be to leave Firefox as a Forced program in your DefaultBox, and take it off from the Mailbox.cocoon wrote: ↑Wed Nov 22, 2017 2:45 pm
[DefaultBox]
ForceProcess=iexplore.exe
ForceProcess=firefox.exe
[MailBox]
ForceProcess=outlook.exe
ForceProcess=firefox.exe
What would happen in the above situation? If Firefox were to be started unsandboxed, would it run as a forced process in the DefaultBox or in the MailBox sandbox?
By doing so, if you click a link in an email and Firefox is your default browser, Firefox will run sandboxed in your Mailbox (as long as outlook.exe is forced, as you have it now).
If you run Firefox in any other way, it would be forced to run sandboxed in your DefaultBox.
Bo
Re: It may be a stupid question, but...
Thanks for the comment. So if I understand correctly according to that example, if program X is invoked by a sandboxed program Y, then X will run sandboxed in Y's sandbox. Else, if X is a Forced Program in a sandbox, it will run sandboxed if invoked either specifically from its sandbox or by any other means.
-=-=-=-=-=-=-
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Re: It may be a stupid question, but...
Exactly.cocoon wrote: ↑Thu Nov 23, 2017 9:13 amThanks for the comment. So if I understand correctly according to that example, if program X is invoked by a sandboxed program Y, then X will run sandboxed in Y's sandbox. Else, if X is a Forced Program in a sandbox, it will run sandboxed if invoked either specifically from its sandbox or by any other means.
Bo
Re: It may be a stupid question, but...
Thank you for the confirmation. Looking back, I see that this is compatible with the practice that you use according to what you wrote a while back in answer to some other questions by me.
-=-=-=-=-=-=-
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Windows 10 Pro Creators Edition, Sandboxie 5.22 beta, Bitdefender Total Security 2018, VoodooShield 4.15b, HitManPro Alert, Firefox 57
Who is online
Users browsing this forum: No registered users and 1 guest