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

A limited user shows root folder when using webdav #268

Closed
fimmspin opened this issue Sep 26, 2023 · 1 comment
Closed

A limited user shows root folder when using webdav #268

fimmspin opened this issue Sep 26, 2023 · 1 comment

Comments

@fimmspin
Copy link

I have an admin user with full access to / folder and a limited user with access only to /TEMP folder.

If connecting via web all is OK and showed correctly.

If connecting via Windows Webdav mapped drive using the limited user credentials i see the / root folder file listing and folders (there is really no access to file contents, resulting in a 401 or 403 error, correctly).

Would it be possible to set the /TEMP folder directly as / root when using the limited user credentials, as in the web version?

Environment:

  • Dufs version: 0.36.0
  • Browser/Webdav Info: Chrome/Windows 8.1 webdav
  • OS Info: Windows 8.1
@sigoden
Copy link
Owner

sigoden commented Sep 26, 2023

The awser is same to #263

Webdav must be designed like this.

This is because some webdav clients do not carry the Authorization header when listing files.

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

No branches or pull requests

2 participants