Skip to content

Windows drive navigation enabled (unpolished) - #30

Draft
Dipsorum wants to merge 2 commits into
cubiclesoft:masterfrom
Dipsorum:patch-1
Draft

Dipsorum wants to merge 2 commits into
cubiclesoft:masterfrom
Dipsorum:patch-1

Conversation

@Dipsorum

@Dipsorum Dipsorum commented May 20, 2025

Copy link
Copy Markdown

Hi, I made these changes for a work project and I'm sharing them in case they can be useful.
The changes allow you to browse Windows drives through the file explorer (see screenshot).

The use of basedir="*" enables the feature.

image

image

Dipsorum added 2 commits May 20, 2025 12:34
Use of "*" basedir implemented.
This allows to navigate to PC drives on windows based server.
Revert previous old repo changes
@cubiclesoft

Copy link
Copy Markdown
Owner

Without actually testing it, you could probably use UNC paths to accomplish something similar without modifying the software in this way.

As a general rule of thumb, it is fairly dangerous to expose the entire physical file system of an OS to a web browser without applying appropriate protections (minimally login + XSRF tokens). In my extensive experience, people tend to lack good security hygiene, so I'm generally against these sort of changes no matter how cool they might seem on the surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants