Skip to content

[Bug]: Application in AppSilo can get the whole contents list of %LocalAppData%/%AppData% #40

@AndromedaMelody

Description

@AndromedaMelody

Version

Windows Version: 10.0.25370.1
Win32 app isolation release version: 0.1.0

Repro Steps

Tested Application: NanaZip

  1. Modify the AppX Manifest
    • Modify about AppSilo ... (omit)
    • Delete virtualization:FileSystemWriteVirtualization to enable MSIX File System Virtualization.
    • Delete all rescap:Capability, especially isolatedWin32-promptForAccess and broadFileSystemAccess
  2. Run NanaZip and directly navigate to "C:\Users\$(user_name)\AppData\Local" by address bar.

Unexpected Results

I find Application in AppSilo can get the whole contents list of %LocalAppData%/%AppData%(including files/folders don't located in $(LocalCache)) without isolatedWin32-promptForAccess and broadFileSystemAccess. According to MSIX Doc, is it the feature of MSIX File System Virtualization in order to compatibility? Although the files and sub-folders which aren't in LocalCache can't be accessed. If this is a feature for compatibility, maybe it is better for MSIX to support declaring specific folders that the developer want to be virtualized (#36).
Screenshot 2023-06-09 112017

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions