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

Sandboxie keeps asking for password when accessing network shares from explorer #4535

Open
hbzhang3 opened this issue Feb 27, 2025 · 3 comments
Labels
Type: Config Issue Issues related to user configurations

Comments

@hbzhang3
Copy link

hbzhang3 commented Feb 27, 2025

Describe what you noticed and did

  1. share a folder(e.g. c:\myshare), make sure it is accessible by browsing to \\localhost from outside explorer.
  2. right click DefaultBox->Run->Standard Applications->Windows Explorer
  3. browse to \\localhost, click myshare folder in sandboxed explorer
  4. it keeps asking for password even if i have provided correct one

How often did you encounter it so far?

always

Expected behavior

I should be able to browse \\localhost\myshare folder.

Affected program

explorer

Download link

not relevant

Where is the program located?

The program is installed only outside the sandbox.

Did the program or any related process close unexpectedly?

No, not at all.

Crash dump

No response

What version of Sandboxie are you running now?

Sandboxie Plus 1.15.7

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression from previous versions?

no

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).

Can you reproduce this problem on a new empty sandbox?

I can confirm it also on a new empty sandbox.

What is your Windows edition and version?

Win10 20h2

In which Windows account you have this problem?

A local account (Standard user).

Please mention any installed security software

no

Did you previously enable some security policy settings outside Sandboxie?

no

Trace log

No response

Sandboxie.ini configuration

#
# Sandboxie configuration file
#

[GlobalSettings]

[UserSettings_0BFE0204]
SbieCtrl_AutoStartAgent=SandMan.exe -autorun
BoxGrouping=:DefaultBox

[DefaultBox]
Enabled=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00FFFF,ttl
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=10
@hbzhang3 hbzhang3 added the Confirmation Pending Further confirmation is requested label Feb 27, 2025
@offhub offhub added Type: Config Issue Issues related to user configurations and removed Confirmation Pending Further confirmation is requested labels Feb 27, 2025
@offhub
Copy link
Collaborator

offhub commented Feb 27, 2025

By default, access to network shares is not allowed. You either need to remove the BlockNetworkFiles=y1 setting from your configuration or specifically allow that network share if you want to access it without removing the setting.

Use one of the following:

Direct access23 (read+write) [no sandboxing]:
OpenFilePath=*\myshare\*
OpenFilePath=*\localhost\myshare\*
OpenFilePath=\Device\Mup\localhost\myshare\*

Footnotes

  1. Sandbox Options > Network Options > Other Options > uncheck Block network files and folders unless specifically opened

  2. OpenFilePath

  3. Resource Access

@hbzhang3
Copy link
Author

Great, thanks. Is there anyway to grant read only access to network shares?

@offhub
Copy link
Collaborator

offhub commented Feb 28, 2025

ReadFilePath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Config Issue Issues related to user configurations
Projects
None yet
Development

No branches or pull requests

2 participants