This commit is contained in:
DavidXanatos 2023-01-27 13:00:05 +01:00
parent a535d70c65
commit 97606eb745
4 changed files with 25 additions and 12 deletions

View File

@ -4,7 +4,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.7.0 / 5.62.0] - 2023-01-?
## [1.7.1 / 5.62.1] - 2022-12-
### Fixed
- fixed BlockNetworkFiles=y not workign tigether with RestrictDevices=y [#2629](https://github.com/sandboxie-plus/Sandboxie/issues/2629)
## [1.7.0 / 5.62.0] - 2022-12-27
### Added

View File

@ -21,8 +21,8 @@
#ifndef _MY_VERSION_H
#define _MY_VERSION_H
#define MY_VERSION_BINARY 5,62,0
#define MY_VERSION_STRING "5.62.0"
#define MY_VERSION_BINARY 5,62,1
#define MY_VERSION_STRING "5.62.1"
#define MY_ABI_VERSION 0x56000
// These #defines are used by either Resource Compiler or NSIS installer

View File

@ -671,7 +671,6 @@ _FX BOOLEAN File_InitPaths(PROCESS *proc,
L"\\Device\\DfsClient",
L"\\Device\\KsecDD",
L"\\Device\\MountPointManager",
L"\\Device\\Mup\\*",
L"\\Device\\Ndis",
L"\\Device\\PcwDrv",
L"\\Device\\SrpDevice", // Smart App Control
@ -839,6 +838,10 @@ _FX BOOLEAN File_InitPaths(PROCESS *proc,
ok = Process_AddPath(
proc, normal_file_paths, NULL, FALSE, approved_devices[i], FALSE);
}
if (ok && !proc->file_block_network_files) {
ok = Process_AddPath(
proc, normal_file_paths, NULL, FALSE, File_Mup, TRUE);
}
}
if (ok && !proc->use_privacy_mode) { // when not in privacy mode we need to set drive paths to "normal"
@ -1007,8 +1010,15 @@ _FX BOOLEAN File_BlockInternetAccess2(
_FX BOOLEAN File_InitProcess(PROCESS *proc)
{
BOOLEAN ok;
BOOLEAN ok = File_InitPaths(proc,
proc->file_block_network_files = Conf_Get_Boolean(proc->box->name, L"BlockNetworkFiles", 0, FALSE);
proc->file_warn_direct_access = Conf_Get_Boolean(proc->box->name, L"NotifyDirectDiskAccess", 0, FALSE);
proc->file_open_devapi_cmapi = Conf_Get_Boolean(proc->box->name, L"OpenDevCMApi", 0, FALSE);
ok = File_InitPaths(proc,
#ifdef USE_MATCH_PATH_EX
&proc->normal_file_paths,
#endif
@ -1022,12 +1032,6 @@ _FX BOOLEAN File_InitProcess(PROCESS *proc)
if (ok)
ok = WFP_UpdateProcess(proc);
proc->file_block_network_files = Conf_Get_Boolean(proc->box->name, L"BlockNetworkFiles", 0, FALSE);
proc->file_warn_direct_access = Conf_Get_Boolean(proc->box->name, L"NotifyDirectDiskAccess", 0, FALSE);
proc->file_open_devapi_cmapi = Conf_Get_Boolean(proc->box->name, L"OpenDevCMApi", 0, FALSE);
if (ok && proc->image_path && (! proc->image_sbie)) {
//

View File

@ -2,7 +2,7 @@
#define VERSION_MJR 1
#define VERSION_MIN 7
#define VERSION_REV 0
#define VERSION_REV 1
#define VERSION_UPD 0
#ifndef STR