sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
12.8k stars 1.43k forks source link

Files Resource Access - Browse for Folder - allows access to excluded folders #4007

Open typpos opened 1 week ago

typpos commented 1 week ago

Describe what you noticed and did

Basically, the "browse for folder" feature fails to add a backslash before the wildcard and allows boxed apps to access all folders that begin with the same name instead of just content of the selected folder.

Repro:

  1. SB 1.13.4, Win 11 Pro
  2. New box
  3. On real system create folder C:\A
  4. Box Options > Resource Access > Files > Add File/Folder|Browse for Folder
  5. Select folder C:\A
  6. Note: "C:\A" instead of "C:\A\"
  7. Set Access "Open for All"
  8. OK
  9. Start boxed cmd.exe
  10. mkdir C:\ABC

Expected:

Actual:

How often did you encounter it so far?

Always

Is it a new installation of Sandboxie?

I recently did a new clean installation.

In which sandbox type you have this problem?

In a standard isolation sandbox (yellow sandbox icon).