You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ok&&proc->use_privacy_mode) { // in privacy mode all drive paths are set to "write"for (i=0; drive_devices[i] &&ok; ++i) {
ok=Process_AddPath(proc, write_file_paths, NULL,
TRUE, drive_devices[i], FALSE);
}
}
Sandboxie\core\dll\file_dir.c
//// in privacy mode we need to pre create some folders or else programs may fail////File_CreateBoxedPath(File_SysVolume);// //if (SbieApi_QueryConfBool(NULL, L"SeparateUserFolders", TRUE)) {// File_CreateBoxedPath(File_AllUsers);// File_CreateBoxedPath(File_CurrentUser);//}WCHAR*Folders[] = { L"SystemRoot", L"TEMP", L"USERPROFILE", //L"windir",L"PUBLIC", L"ProgramData", L"LOCALAPPDATA", L"ALLUSERSPROFILE", L"APPDATA",
L"ProgramFiles", L"ProgramFiles(x86)", L"ProgramW6432",
//L"CommonProgramFiles", L"CommonProgramFiles(x86)", L"CommonProgramW6432", NULL };
Sandboxie\core\dll\key.c
WCHAR*base_keys[] = {
L"\\machine\\system", L"\\machine\\software",
L"\\user\\current\\software", L"\\user\\current_Classes",
L"\\machine\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer",
L"\\user\\current\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer",
NULL};
//// in privacy mode we need to pre create some keys or else the box initialization will fail//