Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add various settings #183

Merged
merged 9 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/Content/AllPages.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

[Block Net Param](BlockNetParam.md)

[Block Network Files](BlockNetworkFiles.md)

~~[Block Password](BlockPassword.md)~~ (obsolete)

~~[Block Port](BlockPort.md)~~ (removed since Sandboxie v0.9.0 / 5.51.0)
Expand Down Expand Up @@ -186,6 +188,8 @@

[Hide Host Process](HideHostProcess.md)

[Hide Message](SbieCtrl_HideMessage.md)

[Hide Other Boxes](HideOtherBoxes.md)

[How It Works](HowitWorks.md)
Expand Down Expand Up @@ -308,6 +312,8 @@

[Programs View](ProgramsView.md)

[Prompt For File Migration](PromptForFileMigration.md)

[Protect Host Images](ProtectHostImages.md)

[Protected Storage](ProtectedStorage.md)
Expand Down Expand Up @@ -654,6 +660,8 @@

[Shell Folders](ShellFolders.md)

[Show For Run In](ShowForRunIn.md)

[Start Command Line](StartCommandLine.md)

[Start Program](StartProgram.md)
Expand Down
16 changes: 16 additions & 0 deletions docs/Content/BlockNetworkFiles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Block Network Files

BlockNetworkFiles is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). It specifies whether Sandboxie will block sandboxed programs from accessing network files and folders without specifically opened
```
.
.
.
[DefaultBox]
BlockNetworkFiles=n
```

Specifying _n_ indicates that a sandboxed program may access network files without specifically opened, in this case "Net Share" will appear in sandbox status.

Related Sandboxie Plus setting:
* Sandbox Options > Network Options > Other Options > Block network files and folders, unless specifically opened.
* On creating new sandbox with "Configure advanced options" selected, Sandbox Isolation options > Network Access > Allow access to network files and folders
18 changes: 18 additions & 0 deletions docs/Content/PromptForFileMigration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Prompt For File Migration

PromptForFileMigration is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). It specifies whether Sandboxie will prompt for large file migration.
For more information, see [SBIE2102](SBIE2102.md).

```
.
.
.
[DefaultBox]
PromptForFileMigration=n
```

Specifying _n_ indicates sandbox will not prompt user for file migration(the access will be read only).

Related Sandboxie Plus setting: Sandbox Options > File Options > File Migration > Prompt user for large file migration

Related [Sandboxie Ini](SandboxieIni.md) setting: [CopyLimitKb](CopyLimitKb.md), [CopyLimitSilent](CopyLimitSilent.md)
18 changes: 18 additions & 0 deletions docs/Content/SbieCtrl_HideMessage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SbieCtrl_HideMessage

SbieCtrl_HideMessage is a user setting in [Sandboxie Ini](SandboxieIni.md). It specifies which of the SBIE messages should be hidden from popping up

```
.
.
.
[UserSettings_054A02CE]
SbieCtrl_HideMessage=1101
SbieCtrl_HideMessage=1102,Example Message
```

The first parameter is mandatory, specifies the id of the SBIE Messages to be hidden.

The second parameter is optional, displayed as "Message Text" in UI. Notice: Even if this is configured, All messages of such will be hidden regardless of its text.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The second parameter is optional, displayed as "Message Text" in UI. Notice: Even if this is configured, All messages of such will be hidden regardless of its text.
The second parameter is optional, displayed as "Message Text" in UI.

I have doubts about the second sentence. Does it mean that there is no point in setting the second parameter?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you set it it will be shown in GUI, not if not set, see image attached:
image

Copy link
Contributor Author

@zihu12 zihu12 Sep 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the second parameter may be regarded useless considering all messages of this id will be hidden

In sbie plus it seems not the case?
image

Copy link
Contributor Author

@zihu12 zihu12 Sep 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did some changes considering this situation.
Also checked all messages of the instance will be hidden if second parameter is not set.

Copy link
Contributor Author

@zihu12 zihu12 Sep 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

So we maybe change the text info of sbie plus gui as well?
(Agreeing to this prompt will set the text along with the ID


Related Sandboxie Plus setting: Global Settings > General Config > Notifications > SBIE Messages
14 changes: 14 additions & 0 deletions docs/Content/ShowForRunIn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Show For Run in

ShowForRunIn is a sandbox setting in [Sandboxie Ini](SandboxieIni.md). It specifies whether Sandboxie will show this box in "run in box" selection prompt
```
.
.
.
[DefaultBox]
ShowForRunIn=n
```

Specifying _n_ indicates that this sandbox will not be shown as a candidate in "run in sandbox" selection window.

Related Sandboxie Plus setting: Sandbox Options > General Options > Box Options > Show this box in the 'run in box' selection prompt