1.9.2
This commit is contained in:
parent
60a2463b29
commit
8fa158cade
|
@ -508,7 +508,7 @@ check:
|
||||||
|
|
||||||
if (Box_IsBoxedPath(proc->box, file, &Name->Name)) {
|
if (Box_IsBoxedPath(proc->box, file, &Name->Name)) {
|
||||||
|
|
||||||
if(Conf_Get_Boolean(NULL, L"NotifyImageLoadDenied", 0, TRUE))
|
if(Conf_Get_Boolean(proc->box->name, L"NotifyImageLoadDenied", 0, TRUE))
|
||||||
Log_Msg_Process(MSG_1305, Name->Name.Buffer + (proc->box->file_path_len/sizeof(WCHAR) - 1), NULL, proc->box->session_id, proc->pid);
|
Log_Msg_Process(MSG_1305, Name->Name.Buffer + (proc->box->file_path_len/sizeof(WCHAR) - 1), NULL, proc->box->session_id, proc->pid);
|
||||||
|
|
||||||
Log_Debug_Msg(MONITOR_IMAGE | MONITOR_DENY, NULL, Name->Name.Buffer);
|
Log_Debug_Msg(MONITOR_IMAGE | MONITOR_DENY, NULL, Name->Name.Buffer);
|
||||||
|
|
|
@ -98,7 +98,7 @@ void COptionsWindow::CreateAdvanced()
|
||||||
connect(ui.btnDelHostProcess, SIGNAL(clicked(bool)), this, SLOT(OnDelHostProcess()));
|
connect(ui.btnDelHostProcess, SIGNAL(clicked(bool)), this, SLOT(OnDelHostProcess()));
|
||||||
connect(ui.chkShowHostProcTmpl, SIGNAL(clicked(bool)), this, SLOT(OnShowHostProcTmpl()));
|
connect(ui.chkShowHostProcTmpl, SIGNAL(clicked(bool)), this, SLOT(OnShowHostProcTmpl()));
|
||||||
connect(ui.chkConfidential, SIGNAL(clicked(bool)), this, SLOT(OnAdvancedChanged())); // todo notify premium feature
|
connect(ui.chkConfidential, SIGNAL(clicked(bool)), this, SLOT(OnAdvancedChanged())); // todo notify premium feature
|
||||||
connect(ui.chkHostProtect, SIGNAL(clicked(bool)), this, SLOT(OnAdvancedChanged()));
|
connect(ui.chkHostProtect, SIGNAL(clicked(bool)), this, SLOT(OnHostProtectChanged()));
|
||||||
connect(ui.chkHostProtectMsg, SIGNAL(clicked(bool)), this, SLOT(OnAdvancedChanged()));
|
connect(ui.chkHostProtectMsg, SIGNAL(clicked(bool)), this, SLOT(OnAdvancedChanged()));
|
||||||
|
|
||||||
connect(ui.btnAddUser, SIGNAL(clicked(bool)), this, SLOT(OnAddUser()));
|
connect(ui.btnAddUser, SIGNAL(clicked(bool)), this, SLOT(OnAddUser()));
|
||||||
|
@ -135,7 +135,9 @@ void COptionsWindow::LoadAdvanced()
|
||||||
ui.chkOpenLsaEndpoint->setChecked(m_pBox->GetBool("OpenLsaEndpoint", false));
|
ui.chkOpenLsaEndpoint->setChecked(m_pBox->GetBool("OpenLsaEndpoint", false));
|
||||||
|
|
||||||
ui.chkHostProtect->setChecked(m_pBox->GetBool("ProtectHostImages", false));
|
ui.chkHostProtect->setChecked(m_pBox->GetBool("ProtectHostImages", false));
|
||||||
|
ui.chkHostProtectMsg->setEnabled(ui.chkHostProtect->isChecked());
|
||||||
ui.chkHostProtectMsg->setChecked(m_pBox->GetBool("NotifyImageLoadDenied", true));
|
ui.chkHostProtectMsg->setChecked(m_pBox->GetBool("NotifyImageLoadDenied", true));
|
||||||
|
|
||||||
ReadGlobalCheck(ui.chkSbieLogon, "SandboxieLogon", false);
|
ReadGlobalCheck(ui.chkSbieLogon, "SandboxieLogon", false);
|
||||||
|
|
||||||
LoadOptionList();
|
LoadOptionList();
|
||||||
|
@ -446,6 +448,12 @@ void COptionsWindow::OnNoWindowRename()
|
||||||
DelAccessEntry(eWnd, "", eOpen, "#");
|
DelAccessEntry(eWnd, "", eOpen, "#");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void COptionsWindow::OnHostProtectChanged()
|
||||||
|
{
|
||||||
|
ui.chkHostProtectMsg->setEnabled(ui.chkHostProtect->isChecked());
|
||||||
|
OnAdvancedChanged();
|
||||||
|
}
|
||||||
|
|
||||||
// options
|
// options
|
||||||
void COptionsWindow::LoadOptionList()
|
void COptionsWindow::LoadOptionList()
|
||||||
{
|
{
|
||||||
|
|
|
@ -103,6 +103,8 @@ private slots:
|
||||||
//void OnShowStartTmpl() { LoadStartTmpl(true); }
|
//void OnShowStartTmpl() { LoadStartTmpl(true); }
|
||||||
void OnStartChanged(QTreeWidgetItem* pItem, int Index);
|
void OnStartChanged(QTreeWidgetItem* pItem, int Index);
|
||||||
|
|
||||||
|
void OnHostProtectChanged();
|
||||||
|
|
||||||
// net
|
// net
|
||||||
void OnINetItemDoubleClicked(QTreeWidgetItem* pItem, int Column);
|
void OnINetItemDoubleClicked(QTreeWidgetItem* pItem, int Column);
|
||||||
void OnINetSelectionChanged() { CloseINetEdit(); OnOptChanged();}
|
void OnINetSelectionChanged() { CloseINetEdit(); OnOptChanged();}
|
||||||
|
|
Loading…
Reference in New Issue