diff --git a/SandboxiePlus/SandMan/Forms/OptionsWindow.ui b/SandboxiePlus/SandMan/Forms/OptionsWindow.ui index ee47c50e..1b07f23e 100644 --- a/SandboxiePlus/SandMan/Forms/OptionsWindow.ui +++ b/SandboxiePlus/SandMan/Forms/OptionsWindow.ui @@ -55,7 +55,7 @@ - 1 + 3 @@ -669,7 +669,7 @@ Restrictions - + @@ -686,21 +686,21 @@ - + Block access to the printer spooler - + Remove spooler restriction, printers can be installed outside the sandbox - + @@ -713,7 +713,7 @@ - + @@ -730,14 +730,14 @@ - + Open System Protected Storage - + @@ -756,35 +756,35 @@ - + Open Windows Credentials Store (user mode) - + Block read access to the clipboard - + Allow to read memory of unsandboxed processes (not recommended) - + Issue message 2111 when a process access is denied - + @@ -802,7 +802,14 @@ - + + + + Prevent interference with user control operations whatever + + + + Qt::Vertical @@ -815,7 +822,7 @@ - + Qt::Horizontal diff --git a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp index e0042e34..9dfdadc1 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsGeneral.cpp @@ -191,6 +191,7 @@ void COptionsWindow::CreateGeneral() connect(ui.chkRamBox, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged())); connect(ui.chkEncrypt, SIGNAL(clicked(bool)), this, SLOT(OnDiskChanged())); connect(ui.chkForceProtection, SIGNAL(clicked(bool)), this, SLOT(OnGeneralChanged())); + connect(ui.chkUserOperation, SIGNAL(clicked(bool)), this, SLOT(OnGeneralChanged())); connect(ui.btnPassword, SIGNAL(clicked(bool)), this, SLOT(OnSetPassword())); bool bImDiskReady = theGUI->IsImDiskReady(); @@ -332,6 +333,7 @@ void COptionsWindow::LoadGeneral() ui.chkRamBox->setChecked(m_pBox->GetBool("UseRamDisk", false)); ui.chkEncrypt->setChecked(m_pBox->GetBool("UseFileImage", false)); ui.chkForceProtection->setChecked(m_pBox->GetBool("ForceProtectionOnMount", false)); + ui.chkUserOperation->setChecked(m_pBox->GetBool("BlockInterferenceControl", false)); if (ui.chkRamBox->isEnabled()) { ui.chkEncrypt->setEnabled(!ui.chkRamBox->isChecked()); ui.chkForceProtection->setEnabled(!ui.chkRamBox->isChecked()); @@ -427,6 +429,7 @@ void COptionsWindow::SaveGeneral() //WriteAdvancedCheck(ui.chkBlockCapture, "IsBlockCapture", "y", "n"); WriteAdvancedCheck(ui.chkProtectPower, "BlockInterferePower", "y", "n"); WriteAdvancedCheck(ui.chkForceProtection, "ForceProtectionOnMount", "y", "n"); + WriteAdvancedCheck(ui.chkUserOperation, "BlockInterferenceControl", "y", "n"); WriteAdvancedCheck(ui.chkVmReadNotify, "NotifyProcessAccessDenied", "y", ""); //WriteAdvancedCheck(ui.chkOpenSmartCard, "OpenSmartCard", "", "n"); //WriteAdvancedCheck(ui.chkOpenBluetooth, "OpenBluetooth", "y", "");